Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/v14' into v15
Browse files Browse the repository at this point in the history
# Conflicts:
#	fabric/build.gradle
#	gradle.properties
#	neoforge/build.gradle
  • Loading branch information
shedaniel committed Aug 13, 2024
2 parents bebc783 + 136aab6 commit 1e05ed0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
id "dev.architectury.loom" version "1.7-SNAPSHOT" apply false
id "me.shedaniel.unified-publishing" version "0.1.+" apply false
id "maven-publish"
id "org.cadixdev.licenser" version "0.6.1" apply false
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
}

architectury {
common("fabric", "neoforge")
common("fabric", "forge", "neoforge")
}

task sourcesJar(type: Jar, dependsOn: classes) {
Expand Down
11 changes: 8 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ dependencies {
modLocalRuntime("me.shedaniel.cloth:basic-math:0.6.1")
forgeDependencies(shadowCommon("me.shedaniel.cloth:basic-math:0.6.1"))

forgeDependencies("cpw.mods:securejarhandler:0.9.48")
modLocalRuntime("blue.endless:jankson:${rootProject.jankson_version}")
modLocalRuntime("com.moandjiezana.toml:toml4j:${rootProject.toml4j_version}")
modLocalRuntime("com.moandjiezana.toml:toml4j:${rootProject.toml4j_version}") {
exclude(module: "gson")
}
modLocalRuntime("org.yaml:snakeyaml:${rootProject.snakeyaml_version}")
forgeDependencies(shadowCommon("blue.endless:jankson:${rootProject.jankson_version}"))
forgeDependencies(shadowCommon("com.moandjiezana.toml:toml4j:${rootProject.toml4j_version}") {
Expand All @@ -49,6 +50,10 @@ dependencies {
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive false }
}

configurations.configureEach {
resolutionStrategy.force("net.sf.jopt-simple:jopt-simple:5.0.4")
}

processResources {
filesMatching("META-INF/mods.toml") {
expand "version": project.version
Expand Down Expand Up @@ -100,7 +105,7 @@ unifiedPublishing {
project {
displayName = "[MinecraftForge $rootProject.supported_version] v$project.version"
releaseType = "release"
gameVersions = ["1.20.3", "1.20.4"]
gameVersions = ["1.21"]
gameLoaders = ["forge"]

mainPublication remapJar
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jankson_version=1.2.0
toml4j_version=0.7.2
snakeyaml_version=1.27

fabric_loader_version=0.15.11
fabric_api_version=0.100.1+1.21
mod_menu_version=11.0.0-beta.1
fabric_loader_version=0.16.0
fabric_api_version=0.102.0+1.21
mod_menu_version=11.0.0

forge_version=49.0.3
neoforge_version=21.0.114-beta
forge_version=51.0.33
neoforge_version=21.0.167
neoforge_pr=

curseforge_id=348521
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ pluginManagement {
repositories {
maven { url "https://maven.fabricmc.net/" }
maven { url "https://maven.architectury.dev/" }
gradlePluginPortal()
maven { url "https://files.minecraftforge.net/maven/" }
maven { url "https://jitpack.io" }
gradlePluginPortal()
}
}

Expand All @@ -14,7 +14,7 @@ if (JavaVersion.current().ordinal() + 1 < 21) {

include("common")
include("fabric")
//include("forge")
include("forge")
include("neoforge")

rootProject.name = 'cloth-config'

0 comments on commit 1e05ed0

Please sign in to comment.