Skip to content

Commit 8ff86e1

Browse files
committed
Add support for joining 26.1 servers!
1 parent d810012 commit 8ff86e1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,9 @@ subprojects {
300300
modLoaders.add("neoforge")
301301
}
302302
type = ReleaseType.ALPHA
303-
dryRun = !rootProject.hasProperty("curseforge_publish_token") || !rootProject.hasProperty("modrinth_publish_token")
304303

305304
curseforge {
306-
if (rootProject.hasProperty("curseforge_publish_token")) {
307-
accessToken = rootProject.property("curseforge_publish_token")
308-
}
305+
accessToken = System.getenv("CURSEFORGE_TOKEN")
309306
projectId = "418933"
310307

311308
if (versionId < 1_17_1) {
@@ -320,9 +317,7 @@ subprojects {
320317
clientRequired = true
321318
}
322319
modrinth {
323-
if (rootProject.hasProperty("modrinth_publish_token")) {
324-
accessToken = rootProject.property("modrinth_publish_token")
325-
}
320+
accessToken = System.getenv("MODRINTH_TOKEN")
326321
projectId = "Z6se2s8f"
327322

328323
minecraftVersions.add(mcVersion.toString())

0 commit comments

Comments
 (0)