-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
39 lines (31 loc) · 763 Bytes
/
build.gradle
File metadata and controls
39 lines (31 loc) · 763 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
31
32
33
34
35
36
37
38
39
plugins {
id 'java'
id 'application'
}
group = 'edu.mora.db'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
implementation 'org.jline:jline:3.9.0'
}
test {
useJUnitPlatform()
}
application {
mainClass = 'edu.mora.db.engine.CLI'
}
task fatJar(type: Jar) {
archiveClassifier = 'all' // output file will have -all suffix
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes 'Main-Class': 'edu.mora.db.engine.CLI'
}
}