forked from LouWii/XiaomiADBFastbootTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (30 loc) · 814 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
plugins {
id 'application'
id 'org.jetbrains.kotlin.jvm' version '1.3.71'
id 'org.openjfx.javafxplugin' version '0.0.5'
}
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-javafx:1.3.5"
compile "org.openjfx:javafx-graphics:11.0.2:linux"
compile "org.openjfx:javafx-graphics:11.0.2:mac"
compile "org.openjfx:javafx-graphics:11.0.2:win"
}
jar {
manifest {
attributes 'Main-Class': 'Main'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
javafx {
modules = [ 'javafx.base', 'javafx.graphics', 'javafx.controls', 'javafx.fxml' ]
}
mainClassName = "Main"