-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (44 loc) · 1.25 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
group 'org.digieng.voltagedivider'
version '0.1-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.4'
classpath 'de.dynamicfiles.projects.gradle.plugins:javafx-gradle-plugin:8.7.0'
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'javafx-gradle-plugin'
repositories {
mavenCentral()
}
dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.0.4'
compile 'org.controlsfx:controlsfx:8.40.12'
compile 'no.tornado:tornadofx:1.5.6'
}
// A Task to run the program.
run {
mainClassName = 'org.digieng.voltagedivider.VoltageDividerApplication'
//args = ["arg1", "arg2"]
}
// A Task to create a JAR file for the program.
jar {
from configurations.compile.collect { zipTree it }
manifest.attributes 'Main-Class': 'org.digieng.voltagedivider.VoltageDividerApplication'
}
// JavaFX plugin configuration.
jfx {
mainClass = 'org.digieng.voltagedivider.VoltageDividerApplication'
vendor = 'Nick Apperley'
// jfxNative Task configuration.
identifier = 'voltage_divider'
bundler = 'ALL'
nativeReleaseVersion = '0.1'
needShortcut = true
needMenu = true
appName = 'Voltage Divider'
}