Browse Source

updated Jenkins + gradle files

feat-figureMovement
JD 4 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') { stage('Package') {
steps { steps {
sh "./gradlew -Pversion='${REVISION}' bootJar -x test"
sh "./gradlew -Pversion='${REVISION}' jar -x test"
} }
} }
} }

15
build.gradle

@ -11,6 +11,7 @@ repositories {
} }
subprojects { subprojects {
apply plugin: 'java' apply plugin: 'java'
compileJava {options.encoding = "UTF-8"} compileJava {options.encoding = "UTF-8"}
compileTestJava {options.encoding = "UTF-8"} compileTestJava {options.encoding = "UTF-8"}
@ -20,19 +21,19 @@ subprojects {
jcenter() jcenter()
} }
test {
useJUnitPlatform()
}
dependencies { dependencies {
compileOnly 'org.projectlombok:lombok:1.18.16' compileOnly 'org.projectlombok:lombok:1.18.16'
annotationProcessor '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.junit.jupiter:junit-jupiter:5.7.0')
testImplementation('org.mockito:mockito-core:3.7.0') testImplementation('org.mockito:mockito-core:3.7.0')
testImplementation('org.hamcrest:hamcrest-core:2.2') 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 { plugins {
id 'application' id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
id 'org.openjfx.javafxplugin' version '0.0.8'
} }
mainClassName = 'de.fd.fh.ClientApp' mainClassName = 'de.fd.fh.ClientApp'

Loading…
Cancel
Save