forked from worldiety/AutoCD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.68 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
apply plugin: 'java'
group 'de.worldiety'
version '1.5'
sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
sourceSets {
main {
resources {
srcDirs "src/main/resources"
}
}
}
tasks.withType(Copy).all {
duplicatesStrategy 'exclude'
}
jar {
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from {
(configurations.runtimeClasspath).collect {
it.isDirectory() ? it : zipTree(it)
}
}
manifest {
attributes("Main-Class": "de.worldiety.autocd.Main")
}
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/org.jetbrains/annotations
implementation group: 'org.jetbrains', name: 'annotations', version: '17.0.0'
// https://mvnrepository.com/artifact/com.github.docker-java/docker-java
implementation group: 'com.github.docker-java', name: 'docker-java', version: '3.1.5'
implementation group: 'javax.activation', name: 'activation', version: '1.1.1'
implementation group: 'com.sun.mail', name: 'javax.mail', version: '1.6.2'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
// https://mvnrepository.com/artifact/io.kubernetes/client-java
implementation 'io.kubernetes:client-java:15.0.1'
implementation group: 'io.kubernetes', name: 'client-java-api-fluent', version: '18.0.0'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
}