Skip to content

Commit 08c186f

Browse files
committed
build: bump to 1.21
1 parent 7835066 commit 08c186f

File tree

5 files changed

+54
-37
lines changed

5 files changed

+54
-37
lines changed

Diff for: build.gradle

+36-34
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,47 @@
11
plugins {
2-
id 'maven-publish'
3-
id 'fabric-loom' version '1.6-SNAPSHOT' apply false
2+
id 'maven-publish'
3+
id 'fabric-loom' version '1.6-SNAPSHOT' apply false
44

5-
// https://github.com/ReplayMod/preprocessor
6-
// https://github.com/Fallen-Breath/preprocessor
7-
id 'com.replaymod.preprocess' version 'ce1aeb2b'
5+
// https://github.com/ReplayMod/preprocessor
6+
// https://github.com/Fallen-Breath/preprocessor
7+
id 'com.replaymod.preprocess' version 'ce1aeb2b'
88

9-
// https://github.com/Fallen-Breath/yamlang
10-
id 'me.fallenbreath.yamlang' version '1.3.1'
9+
// https://github.com/Fallen-Breath/yamlang
10+
id 'me.fallenbreath.yamlang' version '1.3.1'
1111
}
1212

1313
preprocess {
14-
def mc116 = createNode('1.16.5' , 1_16_05, 'yarn')
15-
def mc117 = createNode('1.17.1' , 1_17_01, 'yarn')
16-
def mc118 = createNode('1.18.2' , 1_18_02, 'yarn')
17-
def mc119 = createNode('1.19.4' , 1_19_04, 'yarn')
18-
def mc120 = createNode('1.20.1' , 1_20_01, 'yarn')
14+
def mc116 = createNode('1.16.5', 1_16_05, 'yarn')
15+
def mc117 = createNode('1.17.1', 1_17_01, 'yarn')
16+
def mc118 = createNode('1.18.2', 1_18_02, 'yarn')
17+
def mc119 = createNode('1.19.4', 1_19_04, 'yarn')
18+
def mc120 = createNode('1.20.1', 1_20_01, 'yarn')
19+
def mc121 = createNode('1.21', 1_21_00, 'yarn')
1920

20-
mc116.link(mc117, null)
21-
mc117.link(mc118, null)
22-
mc118.link(mc119, null)
23-
mc119.link(mc120, null)
21+
mc116.link(mc117, null)
22+
mc117.link(mc118, null)
23+
mc118.link(mc119, null)
24+
mc119.link(mc120, null)
25+
mc120.link(mc121, null)
2426
}
2527

2628
tasks.register('buildAndGather') {
27-
group("build")
28-
subprojects {
29-
dependsOn project.tasks.named('build').get()
30-
}
31-
doFirst {
32-
println "Gathering builds"
33-
copy {
34-
subprojects {
35-
def libDir = project.projectDir.toPath().resolve("build/libs")
36-
from(libDir) {
37-
include "*.jar"
38-
exclude "*-dev.jar", "*-sources.jar"
39-
}
40-
into "build/libs/"
41-
duplicatesStrategy DuplicatesStrategy.INCLUDE
42-
}
43-
}
44-
}
29+
group("build")
30+
subprojects {
31+
dependsOn project.tasks.named('build').get()
32+
}
33+
doFirst {
34+
println "Gathering builds"
35+
copy {
36+
subprojects {
37+
def libDir = project.projectDir.toPath().resolve("build/libs")
38+
from(libDir) {
39+
include "*.jar"
40+
exclude "*-dev.jar", "*-sources.jar"
41+
}
42+
into "build/libs/"
43+
duplicatesStrategy DuplicatesStrategy.INCLUDE
44+
}
45+
}
46+
}
4547
}

Diff for: gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Fabric Basic Properties
55
# https://fabricmc.net/develop
6-
loader_version=0.15.10
6+
loader_version=0.15.11
77

88
# Mod Properties
99
mod_id=auto_twerk

Diff for: settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"1.17.1",
55
"1.18.2",
66
"1.19.4",
7-
"1.20.1"
7+
"1.20.1",
8+
"1.21"
89
]
910
}

Diff for: versions/1.21/gradle.properties

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Fabric Properties
2+
# check these on https://fabricmc.net/versions.html?&version=1.21
3+
minecraft_version=1.21
4+
yarn_mappings=1.21+build.2
5+
6+
# Fabric Mod Metadata
7+
minecraft_dependency=1.21
8+
9+
# Build Information
10+
# The target mc versions for the mod during mod publishing, separated with \n
11+
game_versions=1.21
12+
13+
# Dependencies
14+
fabric_api_version=0.100.1+1.21

Diff for: versions/mainProject

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.20.1
1+
1.21

0 commit comments

Comments
 (0)