oh here we go
This commit is contained in:
parent
5b369ab95e
commit
2b949c7e76
14
build.gradle
14
build.gradle
@ -22,12 +22,12 @@ plugins {
|
|||||||
apply plugin: "fabric-loom"
|
apply plugin: "fabric-loom"
|
||||||
apply plugin: "maven-publish"
|
apply plugin: "maven-publish"
|
||||||
|
|
||||||
|
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||||
|
java.withSourcesJar()
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
sourceCompatibility = 1.8
|
options.release = 17
|
||||||
targetCompatibility = 1.8
|
|
||||||
}
|
}
|
||||||
java.withSourcesJar()
|
|
||||||
|
|
||||||
if(rootProject.file("private.gradle").exists()) { //Publishing details
|
if(rootProject.file("private.gradle").exists()) { //Publishing details
|
||||||
apply from: "private.gradle"
|
apply from: "private.gradle"
|
||||||
@ -35,17 +35,17 @@ if(rootProject.file("private.gradle").exists()) { //Publishing details
|
|||||||
|
|
||||||
archivesBaseName = "templates"
|
archivesBaseName = "templates"
|
||||||
group = "io.github.cottonmc"
|
group = "io.github.cottonmc"
|
||||||
version = "1.0.7+1.14.4"
|
version = "2.0.0+1.20.1"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:1.14.4"
|
minecraft "com.mojang:minecraft:1.20.1"
|
||||||
mappings "net.fabricmc:yarn:1.14.4+build.18"
|
mappings "net.fabricmc:yarn:1.20.1+build.2"
|
||||||
modApi "net.fabricmc:fabric-loader:0.14.21"
|
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"
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
}
|
}
|
||||||
|
2
gradle.properties
Normal file
2
gradle.properties
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# dedodated wam
|
||||||
|
org.gradle.jvmargs=-Xmx6G
|
Loading…
Reference in New Issue
Block a user