mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Publish dev builds to Modrinth via Minotaur
This commit is contained in:
1 parent
80bfcb0747
commit
028426647f
1 file changed
+16
-2
+16
-2
@@ -1,4 +1,7 @@
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
||||
plugins {
|
||||
id 'com.modrinth.minotaur' version '2.+'
|
||||
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
||||
id 'org.ajoberstar.grgit' version '5.0.0'
|
||||
id 'java'
|
||||
@@ -16,8 +19,6 @@ ext {
|
||||
set 'commons_text_version', commons_text_version.toString()
|
||||
}
|
||||
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
||||
allprojects {
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
apply plugin: 'java'
|
||||
@@ -100,6 +101,19 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
modrinth {
|
||||
token = System.getenv("MODRINTH_TOKEN")
|
||||
projectId = "huskhomes"
|
||||
versionType = "alpha"
|
||||
gameVersions = ["1.16.5", "1.17.1", "1.18.2", "1.19.2"]
|
||||
versionName = "${project.version}"
|
||||
versionNumber = "${project.version}"
|
||||
versionType = "alpha"
|
||||
uploadFile = file("$rootDir/target/HuskHomes-Plugin-${project.version}.jar")
|
||||
}
|
||||
}
|
||||
|
||||
logger.lifecycle("Building HuskHomes ${version} by William278")
|
||||
|
||||
@SuppressWarnings('GrMethodMayBeStatic')
|
||||
|
||||
Reference in new issue
Block a user