Skip to content

Commit c982904

Browse files
committed
1.18.2
forge is temp. disabled
1 parent 71b8d4c commit c982904

File tree

11 files changed

+36
-35
lines changed

11 files changed

+36
-35
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ jobs:
1010
with:
1111
distribution: adopt
1212
java-version: 17
13+
- uses: actions/cache@v2
14+
with:
15+
path: |
16+
~/.gradle/caches
17+
~/.gradle/loom-cache
18+
~/.gradle/wrapper
19+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }}
20+
restore-keys: ${{ runner.os }}-gradle
1321
- working-directory: fabric/
14-
run: curl -o voxelmap-1.18.1-1.10.20.jar https://cdn.discordapp.com/attachments/931521967385878559/932560873543835689/voxelmap-1.18.1-1.10.20.jar
22+
run: curl -o voxelmap-1.18.2-1.11.1.jar https://cdn.discordapp.com/attachments/931521967385878559/947927139330715668/voxelmap-1.18.2-1.11.1.jar
1523
- run: ./gradlew build --no-daemon

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
distribution: adopt
1212
java-version: 17
1313
- working-directory: fabric/
14-
run: curl -o voxelmap-1.18.1-1.10.20.jar https://cdn.discordapp.com/attachments/931521967385878559/932560873543835689/voxelmap-1.18.1-1.10.20.jar
14+
run: curl -o voxelmap-1.18.2-1.11.1.jar https://cdn.discordapp.com/attachments/931521967385878559/947927139330715668/voxelmap-1.18.2-1.11.1.jar
1515
- run: "./gradlew build :forge:modrinth :fabric:modrinth publish --no-daemon"
1616
env:
1717
MAVEN_URL: "https://maven.frydae.dev/releases"

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ detonatedmods/
1818
generated/
1919
.architectury-transformer/
2020
credentials.properties
21-
*.jar
21+
*.jar
22+
!gradle/wrapper/gradle-wrapper.jar

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id "architectury-plugin" version "3.4.+"
33
id "dev.architectury.loom" version "0.11.0.+" apply false
4-
id "com.modrinth.minotaur" version "1.2.+" apply false
4+
id "com.modrinth.minotaur" version "2.+" apply false
55
id "io.github.juuxel.loom-quiltflower" version "1.+" apply false
66
}
77

common/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ dependencies {
33
}
44

55
architectury {
6-
common()
6+
common(false)
77
}

common/src/main/java/dev/frydae/emcutils/features/VaultScreen.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ private void handleClick(int buttonX, double mouseX, double mouseY, String comma
171171
}
172172

173173
@Override
174-
public void onClose() {
175-
if (shouldCallClose) super.onClose();
174+
public void close() {
175+
if (shouldCallClose) super.close();
176176
else shouldCallClose = true;
177177
}
178178
}

fabric/build.gradle

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies {
4444
exclude group: "net.fabricmc"
4545
}
4646

47-
modImplementation files("voxelmap-1.18.1-1.10.20.jar")
47+
modImplementation files("voxelmap-1.18.2-1.11.1.jar")
4848
modCompileOnly "curse.maven:xmm-263420:${rootProject.xmm_version}"
4949
modCompileOnly "curse.maven:xwm-317780:${rootProject.xwm_version}"
5050

@@ -89,18 +89,14 @@ components.java {
8989
}
9090
}
9191

92-
//noinspection UnnecessaryQualifiedReference
93-
task modrinth(type: com.modrinth.minotaur.TaskModrinthUpload) {
94-
onlyIf { System.getenv().MODRINTH_TOKEN }
95-
token = System.getenv().MODRINTH_TOKEN
92+
modrinth {
9693
projectId = "QYTT62S0"
97-
versionNumber = mod_version + "+fabric"
94+
versionNumber = rootProject.mod_version + "+fabric"
9895
versionName = rootProject.release_title + " (Fabric)"
9996
changelog = rootProject.changeLog
10097
uploadFile = remapJar
101-
versionType = "beta"
102-
addGameVersion(mc_version)
103-
addLoader("fabric")
98+
gameVersions = ["1.18.2"]
99+
loaders = ["fabric"]
104100
}
105101

106102
publishing {

forge/build.gradle

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,14 @@ components.java {
7676
}
7777
}
7878

79-
//noinspection UnnecessaryQualifiedReference
80-
task modrinth(type: com.modrinth.minotaur.TaskModrinthUpload) {
81-
onlyIf { System.getenv().MODRINTH_TOKEN }
82-
token = System.getenv().MODRINTH_TOKEN
79+
modrinth {
8380
projectId = "QYTT62S0"
84-
versionNumber = mod_version + "+forge"
81+
versionNumber = rootProject.mod_version + "+forge"
8582
versionName = rootProject.release_title + " (Forge)"
8683
changelog = rootProject.changeLog
8784
uploadFile = remapJar
88-
versionType = "beta"
89-
addGameVersion(mc_version)
90-
addLoader("forge")
85+
gameVersions = ["1.18.2"]
86+
loaders = ["forge"]
9187
}
9288

9389
publishing {

gradle.properties

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22
org.gradle.jvmargs=-Xmx2G
33
org.gradle.parallel=true
44

5-
mc_version=1.18.1
6-
mod_version=3.0.0-beta.2
5+
mc_version=1.18.2
6+
mod_version=3.0.0
77

88
release_title=
99
changeLog=
1010

1111
# https://fabricmc.net/develop
12-
yarn_mappings=22
12+
yarn_mappings=1
1313
loader_version=0.13.3
14-
fabric_version=0.46.4+1.18
14+
fabric_version=0.47.8+1.18.2
1515

1616
# https://files.minecraftforge.net/
17-
forge_version=39.0.88
17+
forge_version=40.0.1
1818

1919
# https://maven.shedaniel.me/dev/architectury/architectury/
20-
architectury_version=3.7.20
20+
architectury_version=4.0.25
2121

2222
# https://modrinth.com/mod/midnightlib/versions
2323
midnightlib_version=0.4.0
2424

2525
# https://modrinth.com/mod/modmenu/versions
26-
modmenu_version=3.0.1
26+
modmenu_version=3.1.0
2727

2828
# https://www.curseforge.com/minecraft/mc-mods/config-menus-forge/files/all
2929
config_menus_version=3570070
@@ -32,9 +32,9 @@ config_menus_version=3570070
3232
# voxel_version=3345206
3333

3434
# https://www.curseforge.com/minecraft/mc-mods/xaeros-minimap/files/all
35-
xmm_version=3647008
35+
xmm_version=3667603
3636
# https://www.curseforge.com/minecraft/mc-mods/xaeros-world-map/files/all
37-
xwm_version=3646988
37+
xwm_version=3667607
3838

3939
# https://mvnrepository.com/artifact/org.projectlombok/lombok
4040
lombok_version=1.18.22
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-7.5-20220218231220+0000-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-7.5-20220301231428+0000-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ pluginManagement {
2222

2323
include 'common'
2424
include 'fabric'
25-
include 'forge'
25+
//include 'forge'

0 commit comments

Comments
 (0)