You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
omp-ha-2019/build.gradle

54 lines
1.1 KiB
Groovy

plugins {
id 'java'
id 'idea'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
compileJava.options.encoding = 'UTF-8'
project.ext.junitVersion = '5.3.1'
mainClassName = '_9._2.Lights'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
javafx {
version = "12.0.1"
modules = [ 'javafx.controls' ]
}
test {
useJUnitPlatform()
}
task abgabe(type: Zip) {
if (project.hasProperty("n")) {
includeEmptyDirs = false
from(".")
from("src/main/") {
into("src/main")
}
from("src/test/") {
into("src/test")
}
include "java/_$n/**/*"
include "resources/$n/**/*"
if (!project.hasProperty("p")) {
include "README.md"
include "java/provided/*"
include "java/provided/_$n/**/*"
}
archiveName "omp-uebung${n}-NeinNoNiet.zip"
}
}