diff options
author | nea <romangraef@gmail.com> | 2022-08-20 02:16:11 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-20 02:16:11 +0200 |
commit | 217e531731bc46330af2890478d36ba205d04fef (patch) | |
tree | 49c16eb9859cf087ae087dfe4d789dd58eb43ec1 /build.gradle | |
parent | d8a393946687ca658533bda61b7d79f9d4ac911c (diff) | |
download | SkyblockHud-Death-Defied-217e531731bc46330af2890478d36ba205d04fef.tar.gz SkyblockHud-Death-Defied-217e531731bc46330af2890478d36ba205d04fef.tar.bz2 SkyblockHud-Death-Defied-217e531731bc46330af2890478d36ba205d04fef.zip |
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 |