-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (62 loc) · 2.06 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
plugins {
id 'application'
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id 'org.openjfx.javafxplugin' version '0.0.7'
id 'org.beryx.runtime' version '1.1.6'
}
group 'me.eater.emo'
version '1.0-SNAPSHOT'
ext.fuel_version = '2.0.1'
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
maven {
name = 'Mojang libs'
url = 'https://libraries.minecraft.net/'
}
}
dependencies {
implementation 'com.beust:klaxon:5.0.5'
implementation 'org.apache.commons:commons-compress:1.18'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "com.github.EaterLabs:emo-kt:5904824"
implementation "no.tornado:tornadofx:1.7.19"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-javafx:1.2.1'
implementation "com.github.kittinunf.fuel:fuel:${fuel_version}"
implementation "com.github.kittinunf.fuel:fuel-coroutines:${fuel_version}"
implementation 'de.jensd:fontawesomefx-fontawesome:4.7.0-5'
implementation 'de.jensd:fontawesomefx-commons:8.15'
implementation 'net.swiftzer.semver:semver:1.0.0'
implementation 'javax.servlet:javax.servlet-api:4.0.1'
implementation 'org.bouncycastle:bcprov-jdk15on:1.61'
implementation 'com.mojang:authlib:1.5.22'
}
compileKotlin {
kotlinOptions.jvmTarget = "12"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "12"
}
mainClassName = "me.eater.emo.aardvark.Main"
javafx {
version = "12.0.1"
modules = ['javafx.controls', 'javafx.fxml']
}
runtime {
imageDir = file("$buildDir/image/aardvark")
imageZip = file("$buildDir/aardvark.zip")
addOptions('--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages')
addModules('java.desktop',
'java.logging',
'java.prefs',
'java.sql',
'java.naming',
'java.management',
'jdk.jfr',
'jdk.crypto.ec',
'java.scripting',
'java.xml',
'jdk.unsupported')
}