Skip to content

Commit f6045b7

Browse files
authored
Merge pull request #4438 from ZacSharp/pr/1.19.4/build/syncMixinAndAsm
Sync mixin and asm versions between common and tweaker
2 parents edb433e + a07d7d0 commit f6045b7

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,9 @@ allprojects {
7878
}
7979

8080
dependencies {
81-
implementation "org.spongepowered:mixin:0.8.5"
82-
implementation "org.ow2.asm:asm:9.3"
83-
// The following line declares the yarn mappings you may select this one as well.
84-
// mappings "net.fabricmc:yarn:1.17.1+build.32:v2"
85-
//launchImplementation('dev.babbaj:nether-pathfinder:1.3.0')
81+
compileOnly "org.spongepowered:mixin:${project.mixin_version}"
82+
compileOnly "org.ow2.asm:asm:${project.asm_version}"
83+
8684
implementation "dev.babbaj:nether-pathfinder:${project.nether_pathfinder_version}"
8785
}
8886

gradle.properties

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@ forge_version=45.0.43
1212

1313
fabric_version=0.14.11
1414

15-
nether_pathfinder_version=1.4.1
15+
nether_pathfinder_version=1.4.1
16+
17+
// These dependencies are used for common and tweaker
18+
// while mod loaders usually ship their own version
19+
mixin_version=0.8.5
20+
asm_version=9.3

tweaker/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ configurations {
3838
}
3939

4040
dependencies {
41-
implementation "org.spongepowered:mixin:0.8.5"
41+
implementation "org.spongepowered:mixin:${project.mixin_version}"
4242

4343
// for some reason mixin isn't including these...
44-
implementation "org.ow2.asm:asm:9.3"
45-
implementation "org.ow2.asm:asm-tree:9.3"
46-
implementation "org.ow2.asm:asm-commons:9.3"
47-
implementation "org.ow2.asm:asm-util:9.3"
48-
implementation "org.ow2.asm:asm-analysis:9.3"
44+
implementation "org.ow2.asm:asm:${project.asm_version}"
45+
implementation "org.ow2.asm:asm-tree:${project.asm_version}"
46+
implementation "org.ow2.asm:asm-commons:${project.asm_version}"
47+
implementation "org.ow2.asm:asm-util:${project.asm_version}"
48+
implementation "org.ow2.asm:asm-analysis:${project.asm_version}"
4949

5050

5151
implementation 'com.github.ImpactDevelopment:SimpleTweaker:1.2'

0 commit comments

Comments
 (0)