-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
80 lines (66 loc) · 2.31 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
plugins {
id 'groovy'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.0'
id 'application'
id "com.github.johnrengelman.shadow" version "4.0.2"
id 'edu.sc.seis.launch4j' version '2.4.4'
}
mainClassName = 'pl.poznan.put.cie.putflap.MainKt'
group 'pl.poznan.put.cie'
version '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url "http://repository.openmindonline.it/"
}
}
dependencies {
// JFLAP legacy dependencies
compile group: 'org.apache.xmlgraphics', name: 'batik-svggen', version: '1.10'
compile group: 'org.apache.batik', name: 'org.apache.batik.dom.svg', version: '1.6.0-20081006'
compile group: 'org.apache.xmlgraphics', name: 'batik-swing', version: '1.10'
// PUTflap dependencies
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: '1.3.11'
implementation 'com.github.ajalt:clikt:1.5.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.7'
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: '2.9.7'
testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.4', ext: 'pom'
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.2-groovy-2.5'
testCompile group: 'net.bytebuddy', name: 'byte-buddy-dep', version: '1.9.6'
testCompile group: 'org.objenesis', name: 'objenesis', version: '3.0.1'
testCompile group: 'de.jodamob.kotlin', name: 'kotlin-runner-spock', version: '0.3.1'
}
compileGroovy.enabled = false
compileTestJava.enabled = false
compileTestKotlin.enabled = false
jar.enabled = false
distTar.enabled = false
distZip.enabled = false
shadowDistZip.enabled = false
shadowDistTar.enabled = false
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
shadowJar {
archiveName = 'putflap.jar'
}
//shadowDistZip {
// archiveName = 'putflap'
//}
//
//shadowDistTar {
// archiveName = 'putflap.tar'
//}
launch4j {
outfile = 'putflap.exe'
outputDir = 'exe'
mainClassName = 'pl.poznan.put.cie.putflap.MainKt'
copyConfigurable = project.tasks.shadowJar.outputs.files
jar = "lib/${project.tasks.shadowJar.archiveName}"
headerType = "console"
downloadUrl = "www.put.poznan.pl"
copyright = "tba"
}