Skip to content

Commit

Permalink
Use local artifact for Cloth Config API for Forge/NeoForge
Browse files Browse the repository at this point in the history
  • Loading branch information
Aizistral committed May 3, 2024
1 parent 1c3a7cd commit b78620f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ mixin {
minecraft {
println("Specifying MCP mappings...")
mappings channel: 'official', version: minecraft_version

println("Specifying Access Transformer configuration...")
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')

Expand Down Expand Up @@ -123,7 +124,7 @@ dependencies {
minecraft "net.minecraftforge:forge:${forge_version}"
implementation "generic:modmenu:5.0.2"
implementation "generic:fabric-annotations:v1.0.0"
implementation fg.deobf("me.shedaniel.cloth:cloth-config-forge:" + rootProject.cloth_config_version)
implementation "generic:cloth-config-api:14.0.126"
annotationProcessor "org.spongepowered:mixin:0.8.5:processor"
}

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>generic</groupId>
<artifactId>cloth-config-api</artifactId>
<version>14.0.126</version>
<dependencies></dependencies>
</project>
2 changes: 1 addition & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dependencies {
implementation "net.neoforged:neoforge:${neoforge_version}"
implementation "generic:modmenu:5.0.2"
implementation "generic:fabric-annotations:v1.0.0"
implementation "me.shedaniel.cloth:cloth-config-neoforge:" + rootProject.cloth_config_version
implementation "generic:cloth-config-api:14.0.126"
}


Expand Down

0 comments on commit b78620f

Please sign in to comment.