Skip to content

Commit

Permalink
Update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMolnarrr committed Jun 20, 2023
1 parent 6444a06 commit a16adfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ if(project.hasProperty('release_type')) {
changelogType = 'markdown'
releaseType = release_type
addGameVersion "${rootProject.minecraft_version}"
additional_versions().each { version ->
addGameVersion version
}
addGameVersion "1.20"
addGameVersion "Fabric"

relations {
Expand All @@ -144,7 +142,7 @@ if(project.hasProperty('release_type')) {
versionNumber = "${version}-fabric" // You don't need to set this manually. Will fail if Modrinth has this version already
versionType = release_type // This is the default -- can also be `beta` or `alpha`
uploadFile = remapJar // With Loom, this MUST be set to `remapJar` instead of `jar`!
gameVersions = ["${rootProject.minecraft_version}"] + additional_versions() // Must be an array, even with only one version
gameVersions = ["${rootProject.minecraft_version}", "1.20"] // Must be an array, even with only one version
loaders = ["fabric"] // Must also be an array - no need to specify this if you're using Loom or ForgeGradle
dependencies { // A special DSL for creating dependencies
// scope.type
Expand Down
6 changes: 2 additions & 4 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ if(project.hasProperty('release_type')) {
changelogType = 'markdown'
releaseType = release_type
addGameVersion "${rootProject.minecraft_version}"
additional_versions().each { version ->
addGameVersion version
}
addGameVersion "1.20"
addGameVersion "Forge"

relations {
Expand All @@ -146,7 +144,7 @@ if(project.hasProperty('release_type')) {
versionNumber = "${version}-forge" // You don't need to set this manually. Will fail if Modrinth has this version already
versionType = release_type // This is the default -- can also be `beta` or `alpha`
uploadFile = remapJar // With Loom, this MUST be set to `remapJar` instead of `jar`!
gameVersions = ["${rootProject.minecraft_version}"] + additional_versions() // Must be an array, even with only one version
gameVersions = ["${rootProject.minecraft_version}", "1.20"] // Must be an array, even with only one version
loaders = ["forge"] // Must also be an array - no need to specify this if you're using Loom or ForgeGradle
dependencies { // A special DSL for creating dependencies
// scope.type
Expand Down

0 comments on commit a16adfe

Please sign in to comment.