-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (42 loc) · 1.37 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
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
sourceCompatibility = 11
repositories {
mavenCentral()
}
dependencies {
implementation group: 'com.google.guava', name: 'guava', version: '31.1-jre'
implementation group: 'jline', name: 'jline', version: '2.14.6'
implementation group: 'org.jline', name: 'jline', version: '3.23.0'
implementation group: 'org.jline', name: 'jline-terminal-jansi', version: '3.23.0'
implementation group: 'org.projectlombok', name: 'lombok', version: '1.18.26'
annotationProcessor 'org.projectlombok:lombok:1.18.26'
implementation 'org.jetbrains:annotations:24.0.1'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
// Github API
implementation group: 'org.kohsuke', name: 'github-api', version: '1.314'
// GSON used for JSON serialization / deserialization
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
}
//sourceSets {
// main {
// resources {
// srcDirs "src/main/resources"
// }
// }
//}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
from('src/main/resources') {
include '*.txt'
}
manifest {
attributes 'Main-Class': 'softwaredesign.App',
'Implementation-Title': 'Executable Fat Jar'
}
}