Skip to content

Commit

Permalink
ALFREDOPS-851 compiling with java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvl-xenit committed Nov 20, 2023
1 parent 627a72d commit 14c8d30
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions alfred-telemetry-platform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ dependencies {
testImplementation "org.hamcrest:hamcrest-all:${hamcrestVersion}"
testImplementation "org.awaitility:awaitility:${awaitilityVersion}"
testImplementation "org.mockito:mockito-inline:${mockitoVersion}"
testImplementation "net.bytebuddy:byte-buddy:${byteBuddyVersion}"
testRuntimeOnly 'org.alfresco:alfresco-remote-api'
}

Expand Down
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'

compileJava {
options.release = 11
}
compileTestJava {
options.release = 11
}

jacocoTestReport {
reports {
xml.enabled true
Expand All @@ -39,10 +46,11 @@ allprojects {
jvmExtrasVersion = '0.1.2'

junitJupiterVersion = '5.4.2'
mockitoVersion = '2.27.0'
mockitoVersion = '4.5.1'
byteBuddyVersion = '1.14.6'
hamcrestVersion = '1.3'
awaitilityVersion = '4.1.0'
restAssuredVersion = '4.0.0'
restAssuredVersion = '5.3.0'
}


Expand Down
6 changes: 3 additions & 3 deletions integration-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ ext {
extraDependencies = []
}

java {
sourceCompatibility = JavaVersion.VERSION_11
}
//java {
// sourceCompatibility = JavaVersion.VERSION_11
//}

dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
Expand Down

0 comments on commit 14c8d30

Please sign in to comment.