-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
30 lines (26 loc) · 774 Bytes
/
build.gradle
File metadata and controls
30 lines (26 loc) · 774 Bytes
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
plugins {
id 'java'
}
group 'org.shvc'
version '1.2'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation group: 'com.amazonaws', name: 'aws-java-sdk-core', version: '1.12.494'
implementation group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.494'
implementation 'info.picocli:picocli:4.7.4'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
//create a fat Jar with all dependencies
jar {
manifest {
attributes 'Main-Class': 'org.shvc.s3java.Main'
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}