From 3791bd2b83201ca648e7dc00ca7cb0c52a26331b Mon Sep 17 00:00:00 2001 From: Silthus Date: Mon, 4 Oct 2021 13:02:00 +0200 Subject: [PATCH] fix: downgrade to jdk 16 --- build.gradle | 10 +++++----- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index ddf0ea1..1b20495 100644 --- a/build.gradle +++ b/build.gradle @@ -20,8 +20,8 @@ if (project.hasProperty("local_script")) { apply from: file(local_script + "/build.local.gradle") } -sourceCompatibility = 17 -targetCompatibility = 17 +sourceCompatibility = 16 +targetCompatibility = 16 ext { mcVersion = project.property("mcVersion") @@ -59,10 +59,10 @@ dependencies { //Add dependencies here //Test dependencies - testImplementation 'org.junit.jupiter:junit-jupiter:5.+' - testImplementation "org.mockito:mockito-core:3.+" + testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1' + testImplementation 'org.mockito:mockito-core:3.12.4' testImplementation 'com.github.seeseemelk:MockBukkit-v1.16:1.5.2' - testImplementation 'org.assertj:assertj-core:3.+' + testImplementation 'org.assertj:assertj-core:3.21.0' } shadowJar { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d49397a..a0f7639 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-7.3-20210928002732+0000-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists