43 lines
722 B
Groovy
43 lines
722 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'application'
|
||
|
id 'org.openjfx.javafxplugin' version '0.0.10'
|
||
|
}
|
||
|
|
||
|
group 'com.vpr'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
ext {
|
||
|
junitVersion = '5.7.1'
|
||
|
}
|
||
|
|
||
|
sourceCompatibility = '11'
|
||
|
targetCompatibility = '11'
|
||
|
|
||
|
tasks.withType(JavaCompile) {
|
||
|
options.encoding = 'UTF-8'
|
||
|
}
|
||
|
|
||
|
application {
|
||
|
mainModule = 'com.vpr.client'
|
||
|
mainClass = 'com.vpr.client.HelloApplication'
|
||
|
}
|
||
|
|
||
|
javafx {
|
||
|
version = '11.0.2'
|
||
|
modules = ['javafx.controls', 'javafx.fxml']
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
|
||
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
||
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|