|
|
|
@ -1,10 +1,16 @@
|
|
|
|
apply plugin: 'java'
|
|
|
|
plugins {
|
|
|
|
apply plugin: 'idea'
|
|
|
|
id 'java'
|
|
|
|
|
|
|
|
id 'idea'
|
|
|
|
|
|
|
|
id 'application'
|
|
|
|
|
|
|
|
id 'org.openjfx.javafxplugin' version '0.0.7'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
|
|
|
|
|
|
|
|
project.ext.junitVersion = '5.3.1'
|
|
|
|
project.ext.junitVersion = '5.3.1'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mainClassName = '_9.HelloWorld'
|
|
|
|
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
repositories {
|
|
|
|
@ -16,12 +22,17 @@ dependencies {
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
javafx {
|
|
|
|
|
|
|
|
version = "12.0.1"
|
|
|
|
|
|
|
|
modules = [ 'javafx.controls' ]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
test {
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
task abgabe(type: Zip) {
|
|
|
|
task abgabe(type: Zip) {
|
|
|
|
if(project.hasProperty("n")) {
|
|
|
|
if (project.hasProperty("n")) {
|
|
|
|
includeEmptyDirs = false
|
|
|
|
includeEmptyDirs = false
|
|
|
|
from(".")
|
|
|
|
from(".")
|
|
|
|
from("src/main/") {
|
|
|
|
from("src/main/") {
|
|
|
|
@ -32,7 +43,7 @@ task abgabe(type: Zip) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
include "java/_$n/**/*"
|
|
|
|
include "java/_$n/**/*"
|
|
|
|
include "resources/$n/**/*"
|
|
|
|
include "resources/$n/**/*"
|
|
|
|
if(!project.hasProperty("p")) {
|
|
|
|
if (!project.hasProperty("p")) {
|
|
|
|
include "README.md"
|
|
|
|
include "README.md"
|
|
|
|
include "java/provided/*"
|
|
|
|
include "java/provided/*"
|
|
|
|
include "java/provided/_$n/**/*"
|
|
|
|
include "java/provided/_$n/**/*"
|
|
|
|
|