Commit 2ac38153f5b4a38865146fa1117b3827d23abc4e
1 parent
d1771550d3
Exists in
master
and in
1 other branch
implement gradle run
Showing 1 changed file with 5 additions and 0 deletions Inline Diff
build.gradle
View file @
2ac3815
plugins { | 1 | 1 | plugins { | |
id 'java' | 2 | 2 | id 'java' | |
id 'org.jetbrains.kotlin.jvm' version '1.3.72' | 3 | 3 | id 'org.jetbrains.kotlin.jvm' version '1.3.72' | |
} | 4 | 4 | } | |
5 | 5 | |||
group 'marivisu' | 6 | 6 | group 'marivisu' | |
version '1.0-SNAPSHOT' | 7 | 7 | version '1.0-SNAPSHOT' | |
8 | 8 | |||
repositories { | 9 | 9 | repositories { | |
mavenCentral() | 10 | 10 | mavenCentral() | |
maven { | 11 | 11 | maven { | |
url "https://jitpack.io" | 12 | 12 | url "https://jitpack.io" | |
} | 13 | 13 | } | |
} | 14 | 14 | } | |
15 | 15 | |||
dependencies { | 16 | 16 | dependencies { | |
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" | 17 | 17 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" | |
implementation 'org.jfxtras:jmetro:8.6.9' | 18 | 18 | implementation 'org.jfxtras:jmetro:8.6.9' | |
implementation 'org.slf4j:slf4j-api:1.7.30' | 19 | 19 | implementation 'org.slf4j:slf4j-api:1.7.30' | |
testCompile group: 'junit', name: 'junit', version: '4.12' | 20 | 20 | testCompile group: 'junit', name: 'junit', version: '4.12' | |
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3' | 21 | 21 | testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3' | |
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3' | 22 | 22 | compile group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3' | |
compile 'com.github.jasrodis:javafx-dataviewer-wrapper:-SNAPSHOT' | 23 | 23 | compile 'com.github.jasrodis:javafx-dataviewer-wrapper:-SNAPSHOT' | |
} | 24 | 24 | } | |
25 | 25 | |||
26 | task run(type: JavaExec) { | |||
27 | main = 'application.App' | |||
28 | classpath = sourceSets.main.runtimeClasspath | |||
29 | } | |||
30 | ||||
compileKotlin { | 26 | 31 | compileKotlin { | |
kotlinOptions.jvmTarget = "1.8" | 27 | 32 | kotlinOptions.jvmTarget = "1.8" |