Skip to content

Commit

Permalink
update maven stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Jun 16, 2024
1 parent 70aef2f commit bc26237
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 80 deletions.
5 changes: 1 addition & 4 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ dependencies {
}

repositories {
maven {
name = 'Creeperhost'
url = 'https://maven.creeperhost.net/'
}
maven { url "https://maven.wuffs.dev/repository/Minecraft" }
}

loom {
Expand Down
56 changes: 0 additions & 56 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,62 +9,6 @@ mixin {
config("${mod_id}.neo.mixins.json")
}

//minecraft {
// mappings channel: 'official', version: minecraft_version
//
// // Automatically enable forge AccessTransformers if the file exists
// // This location is hardcoded in Forge and can not be changed.
// // https://github.com/MinecraftForge/MinecraftForge/blob/be1698bb1554f9c8fa2f58e32b9ab70bc4385e60/fmlloader/src/main/java/net/minecraftforge/fml/loading/moddiscovery/ModFile.java#L123
// if (file('src/main/resources/META-INF/accesstransformer.cfg').exists()) {
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
// }
//
// runs {
// client {
// workingDirectory project.file('run')
// ideaModule "${rootProject.name}.${project.name}.main"
// taskName 'Client'
// property 'mixin.env.remapRefMap', 'true'
// property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
// mods {
// modClientRun {
// source sourceSets.main
// source project(":common").sourceSets.main
// }
// }
// }
//
// server {
// workingDirectory project.file('run')
// ideaModule "${rootProject.name}.${project.name}.main"
// taskName 'Server'
// property 'mixin.env.remapRefMap', 'true'
// property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
// mods {
// modServerRun {
// source sourceSets.main
// source project(":common").sourceSets.main
// }
// }
// }
//
// data {
// workingDirectory project.file('run')
// ideaModule "${rootProject.name}.${project.name}.main"
// args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
// taskName 'Data'
// property 'mixin.env.remapRefMap', 'true'
// property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
// mods {
// modDataRun {
// source sourceSets.main
// source project(":common").sourceSets.main
// }
// }
// }
// }
//}

java.toolchain.languageVersion = JavaLanguageVersion.of(21)

runs {
Expand Down
1 change: 1 addition & 0 deletions neoforge/src/main/java/dev/wuffs/bcc/BCCForge.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.google.gson.Gson;
import dev.wuffs.bcc.data.BetterStatus;
import dev.wuffs.bcc.data.BetterStatusServerHolder;
import net.minecraft.core.registries.BuiltInRegistries;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.ModLoadingContext;
Expand Down
23 changes: 3 additions & 20 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = 'Wuffs'
url = 'https://maven.wuffs.dev/releases'
}
maven {
name = 'Creeperhost'
url = 'https://maven.creeperhost.net/'
}
// maven {
// name = 'Forge'
// url = 'https://maven.minecraftforge.net/'
// }
// maven {
// name = 'Fabric'
// url = 'https://maven.fabricmc.net/'
// }
// maven {
// name = 'Sponge Snapshots'
// url = 'https://repo.spongepowered.org/repository/maven-public/'
// }
maven { url "https://maven.wuffs.dev/repository/Minecraft" }
maven { url "https://maven.neoforged.net/releases" }
maven { url = "https://maven.fabricmc.net/" }
}
}

Expand Down

0 comments on commit bc26237

Please sign in to comment.