Browse Source

updated Jenkins + gradle files

feat-figureMovement
Julius Dewender 3 years ago
parent
commit
e6330b643e
  1. 2
      Jenkinsfile
  2. 15
      build.gradle
  3. 2
      fh.fd.ci.client/build.gradle

2
Jenkinsfile

@ -40,7 +40,7 @@ pipeline {
stage('Package') {
steps {
sh "./gradlew -Pversion='${REVISION}' bootJar -x test"
sh "./gradlew -Pversion='${REVISION}' jar -x test"
}
}
}

15
build.gradle

@ -11,6 +11,7 @@ repositories {
}
subprojects {
apply plugin: 'java'
compileJava {options.encoding = "UTF-8"}
compileTestJava {options.encoding = "UTF-8"}
@ -20,19 +21,19 @@ subprojects {
jcenter()
}
test {
useJUnitPlatform()
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.16'
annotationProcessor 'org.projectlombok:lombok:1.18.16'
testCompileOnly 'org.projectlombok:lombok:1.18.16'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.16'
testImplementation('org.junit.jupiter:junit-jupiter:5.7.0')
testImplementation('org.mockito:mockito-core:3.7.0')
testImplementation('org.hamcrest:hamcrest-core:2.2')
testCompileOnly 'org.projectlombok:lombok:1.18.16'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.16'
}
test {
useJUnitPlatform()
}
}

2
fh.fd.ci.client/build.gradle

@ -1,6 +1,6 @@
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
id 'org.openjfx.javafxplugin' version '0.0.8'
}
mainClassName = 'de.fd.fh.ClientApp'

Loading…
Cancel
Save