This repository has been archived by the owner on Jul 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (58 loc) · 1.51 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
57
58
59
60
61
62
63
64
65
66
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'edu.sc.seis.launch4j'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.3'
classpath 'edu.sc.seis.gradle:launch4j:2.4.4'
}
}
repositories {
jcenter()
}
jacocoTestReport {
group = "Reporting"
reports {
xml.enabled true
csv.enabled false
html.destination "${buildDir}/reports/coverage"
}
}
run {
main = 'GraphicsRunner'
}
shadowJar {
minimize()
classifier = ''
}
launch4j {
outfile = 'CamelUp.exe'
mainClassName = project.mainClassName
copyConfigurable = project.tasks.shadowJar.outputs.files
jar = "lib/${project.tasks.shadowJar.archiveName}"
icon = "${projectDir}/src/main/resources/Icon.ico"
fileDescription = "Camel Up by Quy Nguyen, etc."
}
jar {
manifest {
attributes(
'Implementation-Title': 'Camel Up',
'Main-Class': 'GraphicsRunner',
)
}
mainClassName = "GraphicsRunner"
baseName = 'Quizlet-Bot'
}
dependencies {
runtimeOnly group: 'org.slf4j', name: 'slf4j-nop', version: '1.7.25'
implementation 'org.slf4j:slf4j-api:1.7.25'
implementation group: 'com.google.guava', name: 'guava', version: '23.5-jre'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.23.4'
testImplementation 'junit:junit:4.12'
}