Skip to content

Commit

Permalink
Change published jars to release and remove java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Jan 4, 2025
1 parent 05b27b6 commit 4f9addb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ if (System.getenv().CURSEFORGE_KEY) {
apiToken = System.getenv().CURSEFORGE_KEY

def mainFile = upload(project.curseforge_id, jar)
mainFile.releaseType = 'alpha'
mainFile.releaseType = 'release'
mainFile.addGameVersion "NeoForge"
mainFile.addGameVersion "${mc_version}"
mainFile.addGameVersion "Java 17"
mainFile.addJavaVersion("Java 21")
mainFile.addGameVersion('Server', 'Client')

mainFile.changelog = file("$project.rootDir/changelog.md")
Expand All @@ -154,7 +154,7 @@ if (System.getenv().MODRINTH_KEY) {
modrinth {
token = System.getenv().MODRINTH_KEY
projectId = project.modrinth_id
versionType = "alpha"
versionType = "release"
versionName = "${mod_name} ${mc_version}"
versionNumber = project.version
uploadFile = jar
Expand Down

0 comments on commit 4f9addb

Please sign in to comment.