Skip to content

Commit 59a5de1

Browse files
committed
Merge branch '1.19.2' into 1.19.3
* 1.19.2: Added 1.20.6 and 1.21 branches as a default publish values Gradle clean up
2 parents 7d9618a + 7667d13 commit 59a5de1

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
branches:
1212
description: 'List of branches to be published'
1313
required: true
14-
default: "['1.19.2', '1.19.3', '1.19.4', '1.20.1', '1.20.2', '1.20.4']"
14+
default: "['1.19.2', '1.19.3', '1.19.4', '1.20.1', '1.20.2', '1.20.4', '1.20.6', '1.21']"
1515
type: string
1616

1717
jobs:
@@ -57,6 +57,9 @@ jobs:
5757
- branch: "1.20.4"
5858
secondary_game_version: "1.20.3"
5959

60+
- branch: "1.20.6"
61+
secondary_game_version: "1.20.5"
62+
6063
steps:
6164
- name: "Checkout repository"
6265
uses: actions/[email protected]

build.gradle

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,25 @@ plugins {
44
}
55

66
architectury {
7-
minecraft = rootProject.minecraft_version
7+
minecraft = minecraft_version
88
}
99

1010
subprojects {
1111
apply plugin: "dev.architectury.loom"
1212

13-
loom {
14-
silentMojangMappingsLicense()
15-
}
16-
1713
dependencies {
18-
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
19-
mappings "net.fabricmc:yarn:${rootProject.yarn_mappings}"
14+
minecraft "com.mojang:minecraft:${minecraft_version}"
15+
mappings "net.fabricmc:yarn:${yarn_mappings}"
2016
}
2117
}
2218

2319
allprojects {
2420
apply plugin: "java"
2521
apply plugin: "architectury-plugin"
2622

27-
group = rootProject.maven_group
28-
version = rootProject.mod_version
29-
archivesBaseName = "${rootProject.mod_id}-mc${rootProject.minecraft_version}"
23+
group = maven_group
24+
version = mod_version
25+
archivesBaseName = "${mod_id}-mc${minecraft_version}"
3026

3127

3228
processResources {

common/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
architectury {
2-
common(rootProject.enabled_platforms.split(","))
2+
common(enabled_platforms.split(","))
33
}
44

55
loom {
66
accessWidenerPath = file("src/main/resources/friendsandfoes.accesswidener")
77
}
88

99
dependencies {
10-
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
11-
modImplementation("me.shedaniel.cloth:cloth-config-fabric:${rootProject.cloth_config_version}")
10+
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
11+
modImplementation("me.shedaniel.cloth:cloth-config-fabric:${cloth_config_version}")
1212

13-
implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${rootProject.mixin_extras_version}"))
13+
implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${mixin_extras_version}"))
1414
}
1515

1616
repositories {

forge/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
allprojects {
6-
archivesBaseName = "${rootProject.mod_id}-forge-mc${rootProject.minecraft_version}"
6+
archivesBaseName = "${mod_id}-forge-mc${minecraft_version}"
77
}
88

99
loom {
@@ -31,21 +31,21 @@ configurations {
3131
}
3232

3333
dependencies {
34-
forge "net.minecraftforge:forge:${rootProject.minecraft_version}-${rootProject.forge_version}"
34+
forge "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
3535

3636
common(project(path: ":common", configuration: "namedElements")) { transitive false }
3737
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false }
3838

3939
// Mixin extras (https://github.com/LlamaLad7/MixinExtras)
40-
implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${rootProject.mixin_extras_version}"))
41-
implementation(include("io.github.llamalad7:mixinextras-forge:${rootProject.mixin_extras_version}"))
40+
implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${mixin_extras_version}"))
41+
implementation(include("io.github.llamalad7:mixinextras-forge:${mixin_extras_version}"))
4242

4343
// Curios (https://www.curseforge.com/minecraft/mc-mods/curios)
44-
modImplementation("top.theillusivec4.curios:curios-forge:${rootProject.minecraft_version}-${project.curios_version}:api")
45-
modRuntimeOnly("top.theillusivec4.curios:curios-forge:${rootProject.minecraft_version}-${project.curios_version}");
44+
modImplementation("top.theillusivec4.curios:curios-forge:${minecraft_version}-${project.curios_version}:api")
45+
modRuntimeOnly("top.theillusivec4.curios:curios-forge:${minecraft_version}-${project.curios_version}");
4646

4747
// Cloth config (https://www.curseforge.com/minecraft/mc-mods/cloth-config)
48-
modImplementation("me.shedaniel.cloth:cloth-config-forge:${rootProject.cloth_config_version}")
48+
modImplementation("me.shedaniel.cloth:cloth-config-forge:${cloth_config_version}")
4949
}
5050

5151
shadowJar {

0 commit comments

Comments
 (0)