Skip to content

Commit

Permalink
Add upload to modrinth task
Browse files Browse the repository at this point in the history
  • Loading branch information
acodili-jg authored Jul 26, 2023
1 parent 3d2c3f3 commit efa94e6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id 'com.modrinth.minotaur' version '2.8.2'
id 'fabric-loom' version '1.3.8'
id 'maven-publish'
}
Expand Down Expand Up @@ -88,6 +89,22 @@ testing {
}
}

modrinth {
token = System.env.MODRINTH_TOKEN
projectId = '6UK4qZdO'

versionName = "Still Clouds ${project.version}"
versionType = System.env.MODRINTH_VERSION_TYPE ?: 'release'
versionNumber = project.version

changelog = System.env.MODRINTH_CHANGELOG ?: ''
dependencies {
optional.project 'fabric-api'
}

uploadFile = remapJar
}

// configure the maven publication
publishing {
publications {
Expand Down

0 comments on commit efa94e6

Please sign in to comment.