diff --git a/build.gradle b/build.gradle index bbb89ce..07e27dc 100755 --- a/build.gradle +++ b/build.gradle @@ -22,12 +22,12 @@ plugins { apply plugin: "fabric-loom" apply plugin: "maven-publish" +java.toolchain.languageVersion = JavaLanguageVersion.of(17) +java.withSourcesJar() tasks.withType(JavaCompile) { options.encoding = "UTF-8" - sourceCompatibility = 1.8 - targetCompatibility = 1.8 + options.release = 17 } -java.withSourcesJar() if(rootProject.file("private.gradle").exists()) { //Publishing details apply from: "private.gradle" @@ -35,17 +35,17 @@ if(rootProject.file("private.gradle").exists()) { //Publishing details archivesBaseName = "templates" group = "io.github.cottonmc" -version = "1.0.7+1.14.4" +version = "2.0.0+1.20.1" repositories { mavenCentral() } dependencies { - minecraft "com.mojang:minecraft:1.14.4" - mappings "net.fabricmc:yarn:1.14.4+build.18" + minecraft "com.mojang:minecraft:1.20.1" + mappings "net.fabricmc:yarn:1.20.1+build.2" modApi "net.fabricmc:fabric-loader:0.14.21" - modApi "net.fabricmc.fabric-api:fabric-api:0.28.5+1.14" + modApi "net.fabricmc.fabric-api:fabric-api:0.83.1+1.20.1" implementation "com.google.code.findbugs:jsr305:3.0.2" } diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..100ffa6 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,2 @@ +# dedodated wam +org.gradle.jvmargs=-Xmx6G \ No newline at end of file