From 42a6f918dffab311018595b143d9d961df61c974 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 9 Feb 2023 01:56:05 +0100 Subject: [PATCH] Proposal for fix of https://github.com/kvverti/colormatic/issues/6 --- build.gradle | 9 +++------ gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 40fba22..3aae40d 100644 --- a/build.gradle +++ b/build.gradle @@ -9,16 +9,13 @@ repositories { maven { url = 'https://api.modrinth.com/maven' } } +sourceCompatibility = JavaVersion.VERSION_16 +targetCompatibility = JavaVersion.VERSION_17 + archivesBaseName = project.archives_base_name version = "${project.mod_version}+mc.${project.minecraft_version}" group = project.maven_group -java { - toolchain { - languageVersion.set(JavaLanguageVersion.of(17)) - } -} - loom { } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c7e6ddf..e6f8427 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ #Mon Jul 27 20:56:59 EDT 2020 -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStorePath=wrapper/dists