diff options
| author | Aizistral | 2022-10-28 23:28:51 +0200 |
|---|---|---|
| committer | Aizistral | 2022-10-28 23:28:51 +0200 |
| commit | b3933542bedd59a3c6c7cf064fa31bde18fbb3c6 (patch) | |
| tree | 664d8c9bcb97812020dcbffe41933dbbd4deb9ee /build.gradle | |
| parent | 36630841dde3db73881fd818107a25df52a35f0b (diff) | |
Restore parity with Fabric branch
Target version 1.19.2-v1.13.10, commit: https://github.com/Aizistral-Studios/No-Chat-Reports/commit/205917c003270449593ff3f1b7ad39b33381db4b
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/build.gradle b/build.gradle index 318768d..6bc1cc4 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,11 @@ buildscript { repositories { + mavenCentral() maven { url "file:///${project.projectDir}/deps/" } maven { url = 'https://maven.minecraftforge.net' } maven { url = 'https://dist.creeper.host/Sponge/maven' } maven { url 'https://plugins.gradle.org/m2/' } - mavenCentral() - maven { + maven { url = 'https://repo.spongepowered.org/repository/maven-public/' content { includeGroup "org.spongepowered" } } @@ -21,9 +21,7 @@ buildscript { dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true classpath 'gradle.plugin.com.matthewprenger:CurseGradle:1.4.0' - - // custom MixinGradle fork, because it keeps screwing up eclipse task - classpath group: 'org.spongepowered', name: 'mixingradle', version: '0.7-1.0.0-SNAPSHOT' + classpath 'org.spongepowered:mixingradle:0.7.+' } } @@ -34,10 +32,10 @@ plugins { println("Applying plugins...") apply plugin: 'net.minecraftforge.gradle' +apply plugin: 'org.spongepowered.mixin' apply plugin: 'eclipse' apply plugin: 'maven-publish' apply plugin: 'com.matthewprenger.cursegradle' -apply plugin: 'org.spongepowered.mixin' println("Specifying project version/group/archivesBaseName...") version = "${mod_version}" @@ -47,6 +45,7 @@ archivesBaseName = "${mod_archives_name}" println("Specifying Java compatibility...") java.toolchain.languageVersion = JavaLanguageVersion.of(17) +//compileJava.options.encoding = "UTF-8" println("Java Installation Data:") println(" - Java Version: " + System.getProperty('java.version')) @@ -56,8 +55,8 @@ println(" - OS Archetype: " + System.getProperty('os.arch')) mixin { println("Specifying refmaps for Mixin...") - add sourceSets.main, "nochatreports.refmap.json" + config 'nochatreports.mixins.json' } minecraft { @@ -119,11 +118,6 @@ dependencies { minecraft "net.minecraftforge:forge:${version_forge}" annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' - annotationProcessor 'com.google.code.gson:gson:2.8.0' - annotationProcessor 'com.google.guava:guava:21.0' - annotationProcessor 'org.ow2.asm:asm-tree:7.2' - annotationProcessor 'org.ow2.asm:asm-commons:7.2' - annotationProcessor 'org.ow2.asm:asm-util:7.2' } @@ -225,9 +219,9 @@ task updateResources() { tasks.updateResources.dependsOn processResources -tasks.withType(JavaCompile) { - options.failOnError(true) -} +//tasks.withType(JavaCompile) { +// options.failOnError(true) +//} jar.finalizedBy('reobfJar') //publish.dependsOn('reobfJar') |
