mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Fix Modrinth publishing
This commit is contained in:
1 parent
028426647f
commit
e617725c20
2 files changed
+19
-16
No files matched your search
+19
-2
@@ -1,6 +1,23 @@
|
||||
plugins {
|
||||
id 'com.modrinth.minotaur' version '2.+'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(path: ':bukkit', configuration: 'shadow')
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
}
|
||||
tasks {
|
||||
modrinth {
|
||||
token = System.getenv("MODRINTH_TOKEN")
|
||||
projectId = "huskhomes"
|
||||
versionType = "alpha"
|
||||
gameVersions = ["1.16.5", "1.17.1", "1.18.2", "1.19.2"]
|
||||
loaders = ["spigot", "paper", "purpur"]
|
||||
versionName = "${project.version}"
|
||||
versionNumber = "${project.version}"
|
||||
versionType = "alpha"
|
||||
uploadFile = file("$rootDir/target/HuskHomes-Plugin-${project.version}.jar")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.getByName("build").finalizedBy(tasks.getByName("modrinth"))
|
||||
Reference in new issue
Block a user