-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
52 lines (42 loc) · 1.2 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
buildscript {
dependencies {
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.+'
}
}
plugins {
id 'java'
id "com.diffplug.spotless" version "5.0.0"
}
group = 'io.orkes.conductor.cicd'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
maven {
url "https://s01.oss.sonatype.org/content/repositories/releases/"
}
}
ext {
//set('testcontainersVersion', "1.17.6")
}
dependencies {
implementation "io.orkes.conductor:orkes-conductor-client:1.1.12"
implementation "org.testcontainers:testcontainers:1.17.2"
implementation 'ch.qos.logback:logback-classic:1.4.5'
implementation "org.awaitility:awaitility:3.1.6"
implementation "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.11.4!!"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.4!!"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
spotless {
java {
removeUnusedImports()
importOrder('java', 'javax', 'org', 'com.netflix', 'io.orkes','', '\\#com.netflix', '\\#')
licenseHeaderFile("$rootDir/licenseheader.txt")
}
}
build.dependsOn(spotlessApply)
tasks.named('test') {
useJUnitPlatform()
}