41 lines
No EOL
935 B
Groovy
41 lines
No EOL
935 B
Groovy
plugins {
|
|
id 'application'
|
|
id 'org.openjfx.javafxplugin' version '0.0.9'
|
|
}
|
|
|
|
group 'fr.insa.clavardator'
|
|
version '0.0.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
javafx {
|
|
version = "11.0.2"
|
|
modules = [ 'javafx.controls', 'javafx.fxml' ]
|
|
}
|
|
|
|
dependencies {
|
|
runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:win"
|
|
runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:linux"
|
|
runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:mac"
|
|
implementation 'org.xerial:sqlite-jdbc:3.32.3'
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.0")
|
|
}
|
|
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'fr.insa.clavardator.Launcher'
|
|
}
|
|
from {
|
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|
|
|
|
mainClassName = 'fr.insa.clavardator.MainApp' |