-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (41 loc) · 929 Bytes
/
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'edu.sc.seis.gradle:launch4j:2.4.6'
}
}
repositories {
jcenter()
}
apply plugin: 'java'
apply plugin: 'edu.sc.seis.launch4j'
version = '1.0-SNAPSHOT'
sourceCompatibility = 1.7
def myMainClassName = 'cz.petrfaltus.filesfinder.FilesFinder'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
testCompile 'org.junit.jupiter:junit-jupiter-engine:5.5.2'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes 'Main-Class': myMainClassName
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
createExe {
mainClassName = myMainClassName
icon = "${projectDir}/ico/filesfinder.ico"
copyright = "Petr Faltus 2020"
companyName = "Petr Faltus SW and HW development"
}