-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
85 lines (73 loc) · 2.14 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
plugins {
id 'groovy'
id 'java'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
repositories {
mavenCentral()
maven {
url 'https://orkes-artifacts-repo.s3.amazonaws.com/snapshots/'
content {
includeGroup 'io.orkes.conductor'
}
}
}
ext {
versions = [
conductor : '3.5.0',
groovy : '3.0.9',
guava : '31.0.1-jre',
im4java : '1.4.0',
junit : '5.7.0',
log4j : '2.17.1!!',
orkesClient: '0.2.0',
slf4j : '1.7.35'
]
}
group 'io.orkes.conductor'
dependencies {
implementation "io.orkes.conductor:orkes-conductor-client:${versions.orkesClient}"
implementation "org.apache.logging.log4j:log4j-api:${versions.log4j}"
implementation "org.apache.logging.log4j:log4j-core:${versions.log4j}"
implementation "org.apache.logging.log4j:log4j-jul:${versions.log4j}"
implementation "org.apache.logging.log4j:log4j-web:${versions.log4j}"
implementation "org.apache.logging.log4j:log4j-to-slf4j:${versions.log4j}"
implementation "org.slf4j:slf4j-log4j12:${versions.slf4j}"
compileOnly 'org.codehaus.groovy:groovy-all:3.0.9'
testImplementation "org.junit.jupiter:junit-jupiter-api:${versions.junit}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${versions.junit}"
}
test {
useJUnitPlatform()
}
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
}
publishing {
publications {
shadow(MavenPublication) { publication ->
project.shadow.component(publication)
}
}
repositories {
maven {
url = "s3://orkes-artifacts-repo/${project.version.endsWith('-SNAPSHOT') ? "snapshots" : "releases"}"
authentication {
awsIm(AwsImAuthentication)
}
}
}
}
tasks {
shadowJar {
archiveClassifier.set("")
}
}
configurations {
all {
exclude group: 'com.github.vmg.protogen', module: 'protogen-annotations'
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
}
}