Skip to content

Commit

Permalink
Modrinth AutoDeply
Browse files Browse the repository at this point in the history
  • Loading branch information
manmaed committed Jun 6, 2024
1 parent 742847b commit 9e423c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ tasks.named('processResources', ProcessResources).configure {
}

publishMods {
dryRun = providers.environmentVariable("CURSE_DEPLOY").getOrNull() == null
dryRun = true
file = jar.archiveFile
modLoaders.add("forge")
type = BETA
Expand All @@ -112,6 +112,11 @@ publishMods {
minecraftVersions.add("Java 17")
minecraftVersions.add("${minecraft_version}")
}
modrinth {
accessToken = providers.environmentVariable("MODRINTH_DEPLOY")
projectId = "${modrinth_id}"
minecraftVersions.add("${minecraft_version}")
}
}

tasks.withType(JavaCompile).configureEach {
Expand Down
9 changes: 6 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ forge_version=49.0.3
minecraft_mappings=official

# Mod Properties
maven_group = net.manmaed
archives_base_name = antiblocksrechiseled
maven_group = net.manmaed
archives_base_name = antiblocksrechiseled

# Mod Stuff
mod_name=antiblocksrechiseled
mod_name=AntiBlocksReChiseled
mod_version=0.7

#CurseForge Stuff
curseforge_id=715567
curseforge_releasetype=beta
ctm_id=267602
ctm_file_id=4377961

#Modrinth Stuff
modrinth_id=uLWeFJiL

0 comments on commit 9e423c2

Please sign in to comment.