add support for gradle 7 / j16
This commit is contained in:
+3
-3
@@ -15,7 +15,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "fabric-loom" version "0.7-SNAPSHOT"
|
id "fabric-loom" version "0.8-SNAPSHOT"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "java-library"
|
id "java-library"
|
||||||
}
|
}
|
||||||
@@ -207,8 +207,8 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(":omega-config-base")
|
implementation project(":omega-config-base")
|
||||||
compile project(":omega-config-gui")
|
implementation project(":omega-config-gui")
|
||||||
modRuntime "com.terraformersmc:modmenu:1.16.8"
|
modRuntime "com.terraformersmc:modmenu:1.16.8"
|
||||||
modCompileOnly "com.terraformersmc:modmenu:1.16.8"
|
modCompileOnly "com.terraformersmc:modmenu:1.16.8"
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
@@ -94,6 +94,7 @@ public class OmegaConfig {
|
|||||||
|
|
||||||
return config;
|
return config;
|
||||||
} catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException exception) {
|
} catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException exception) {
|
||||||
|
exception.printStackTrace();
|
||||||
throw new NoValidConstructorException();
|
throw new NoValidConstructorException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
compile project(":omega-config-base")
|
implementation project(":omega-config-base")
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user