Files
what-a-storage/build.gradle
2020-07-24 16:23:23 +02:00

76 lines
1.3 KiB
Groovy

plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.8'
}
group 'de.siphalor'
version '1.0.0'
sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains:annotations:16.0.2"
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
}
javafx {
version '14'
modules = [ "javafx.controls", "javafx.graphics", "javafx.fxml" ]
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
application {
mainClassName = "de.siphalor.was.Start"
}
sourceSets {
main {
resources {
exclude '**/*.svg'
}
}
}
jar {
manifest {
attributes(
'Main-Class': 'de.siphalor.was.Start'
)
}
}
distributions {
main {
contents {
from('src/main') {
include 'java/**'
include 'resources/**'
exclude '**/*.svg'
into 'sources'
}
from('src/test/java') {
into 'sources/test'
}
from ('.') {
include 'LICENSE'
}
from ('packs') {
into 'bin/packs'
}
}
}
}