-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (41 loc) · 1.22 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
plugins {
id 'application'
}
apply plugin : "java"
group 'org.example'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
compile group: 'com.google.guava', name: 'guava', version: '28.2-jre'
implementation group: 'org.projectlombok', name: 'lombok', version: '1.18.10'
annotationProcessor "org.projectlombok:lombok:1.18.10"
// testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.easytesting', name: 'fest-assert', version: '1.4'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
}
test {
useJUnitPlatform()
}
ext {
javaMainClass = "in.avc.csvsql.cli.Cli"
}
run{
standardInput = System.in
}
application {
mainClassName = javaMainClass
}
jar {
manifest {
attributes 'Main-Class': 'in.avc.csvsql.cli.Cli'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}