diff --git a/alfred-telemetry-platform/build.gradle b/alfred-telemetry-platform/build.gradle index e26d6ca..81c318a 100644 --- a/alfred-telemetry-platform/build.gradle +++ b/alfred-telemetry-platform/build.gradle @@ -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' } diff --git a/build.gradle b/build.gradle index c39586e..820dd29 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,13 @@ allprojects { apply plugin: 'java' apply plugin: 'jacoco' + compileJava { + options.release = 11 + } + compileTestJava { + options.release = 11 + } + jacocoTestReport { reports { xml.enabled true @@ -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' } diff --git a/integration-tests/build.gradle b/integration-tests/build.gradle index 9b6b194..8405766 100644 --- a/integration-tests/build.gradle +++ b/integration-tests/build.gradle @@ -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}"