Skip to content

Commit

Permalink
Revert "Gradle fixes"
Browse files Browse the repository at this point in the history
This reverts commit d8fd673.
  • Loading branch information
Asek3 committed Jan 12, 2024
1 parent d8fd673 commit 3dbfc36
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id "java-library"
id "com.gtnewhorizons.retrofuturagradle" version "1.3.26"
id "cl.franciscosolis.blossom-extended" version "1.3.1"
}

// Set the toolchain version to decouple the Java we run Gradle with from the Java used to compile and run the mod
Expand All @@ -27,10 +26,6 @@ tasks.deobfuscateMergedJarToSrg.configure {accessTransformerFiles.from("src/main

repositories {
maven { url "https://maven.cleanroommc.com" }
maven {
name 'SpongePowered Maven'
url 'https://repo.spongepowered.org/maven'
}
maven {
url "https://cursemaven.com"
content {
Expand All @@ -44,9 +39,7 @@ dependencies {
annotationProcessor "com.google.guava:guava:32.1.2-jre"
annotationProcessor "com.google.code.gson:gson:2.8.9"

implementation("zone.rong:mixinbooter:8.9")

def mixinBooter = modUtils.enableMixins("org.spongepowered:mixin:0.8.3", "sodium.mixins.refmap.json")
def mixinBooter = modUtils.enableMixins("zone.rong:mixinbooter:8.9", "sodium.mixins.refmap.json")
api (mixinBooter) {
transitive = false
}
Expand All @@ -68,16 +61,6 @@ jar {
}
}

processResources.configure {
blossom {
String mcmod = "src/main/resources/mcmod.info"
String mcmeta = "src/main/resources/pack.mcmeta"
replaceToken("mod_id", mod_id, mcmod)
replaceToken("mod_name", mod_name, mcmod)
replaceToken("mod_description", mod_description, mcmod)
replaceToken("mod_version", mod_version, mcmod)
replaceToken("mod_authors", mod_authors, mcmod)
replaceToken("minecraft_version", minecraft_version, mcmod)
replaceToken("mod_id", mod_id, mcmeta)
}
processResources {
from "common/src/main/resources"
}

0 comments on commit 3dbfc36

Please sign in to comment.