diff options
author | Erymanthus[#5074] | (u/)RayDeeUx <51521765+RayDeeUx@users.noreply.github.com> | 2022-08-20 11:31:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 11:31:24 -0400 |
commit | e8820f329ef84b8573c763ac65cca371dbd0dc1d (patch) | |
tree | 90a8dc1f7c4aaf9bd6a0bafa0a6bcd2f08855e2e /build.gradle | |
parent | cdbb1d96136b14c8ac74a0b8b79e693cb018d080 (diff) | |
parent | 217e531731bc46330af2890478d36ba205d04fef (diff) | |
download | SkyblockHud-Death-Defied-e8820f329ef84b8573c763ac65cca371dbd0dc1d.tar.gz SkyblockHud-Death-Defied-e8820f329ef84b8573c763ac65cca371dbd0dc1d.tar.bz2 SkyblockHud-Death-Defied-e8820f329ef84b8573c763ac65cca371dbd0dc1d.zip |
Merge pull request #1 from romangraef/loom
Loomering
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/build.gradle b/build.gradle deleted file mode 100644 index 10c1e20..0000000 --- a/build.gradle +++ /dev/null @@ -1,104 +0,0 @@ -buildscript { - repositories { - maven { - name = 'jitpack' - url = 'https://jitpack.io/' - } - maven { url = 'https://maven.minecraftforge.net/' } - maven { url = 'https://repo.spongepowered.org/maven' } - } - dependencies { - classpath 'com.github.asbyth:ForgeGradle:8708bf3e01' - classpath 'com.github.xcfrg:MixinGradle:0.6-SNAPSHOT' - classpath 'com.github.jengelman.gradle.plugins:shadow:6.1.0' - } -} - -apply plugin: 'java' -apply plugin: 'net.minecraftforge.gradle.forge' -apply plugin: 'org.spongepowered.mixin' -apply plugin: 'com.github.johnrengelman.shadow' - -sourceCompatibility = 1.8 -targetCompatibility = 1.8 - -version = '1.14.3' -group= 'com.thatgravyboat.skyblockhud' -archivesBaseName = 'SkyBlockHud' -String mixinClassifier = 'dep' - -minecraft { - version = '1.8.9-11.15.1.2318-1.8.9' - runDir = 'run' - mappings = 'stable_22' -} - -repositories { - maven { url 'https://repo.spongepowered.org/maven/' } - flatDir { - dirs 'deps' - } -} - -dependencies { - compile('org.spongepowered:mixin:0.7.11-SNAPSHOT') - annotationProcessor('org.spongepowered:mixin:0.7.11-SNAPSHOT') -} - -mixin { - add sourceSets.main, 'mixins.skyblockhud.refmap.json' -} - -jar { - manifest.attributes( - 'TweakClass': 'org.spongepowered.asm.launch.MixinTweaker', - 'MixinConfigs': 'mixins.skyblockhud.json', - 'FMLCorePluginContainsFMLMod': true, - 'ForceLoadAsMod': true - ) -} - -shadowJar { - dependencies { - include(dependency('org.spongepowered:mixin:0.7.11-SNAPSHOT')) - } - exclude 'module-info.class' - exclude 'dummyThing' - exclude 'LICENSE.txt' - - archiveClassifier.set(mixinClassifier) -} - -reobf { - shadowJar { - mappingType = 'SEARGE' - } -} - -build.dependsOn(shadowJar) -runClient.dependsOn(build) - -processResources - { - inputs.property 'version', project.version - inputs.property 'mcversion', project.minecraft.version - - from(sourceSets.main.resources.srcDirs) { - include 'mcmod.info' - expand 'version':project.version, 'mcversion':project.minecraft.version - } - - from(sourceSets.main.resources.srcDirs) { - exclude 'mcmod.info' - } - - rename '(.+_at.cfg)', 'META-INF/$1' - } -task moveResources { - doLast { - ant.move file: "${buildDir}/resources/main", - todir: "${buildDir}/classes/java" - } -} -moveResources.dependsOn processResources -classes.dependsOn moveResources
\ No newline at end of file |