mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
34158f9463
* Feat: Add changelog to modrinth releases * oops
18 lines
No EOL
651 B
Text
18 lines
No EOL
651 B
Text
plugins {
|
|
id("com.modrinth.minotaur")
|
|
}
|
|
|
|
// Ensure that the readme is synched
|
|
tasks.modrinth.get().dependsOn(tasks.modrinthSyncBody)
|
|
|
|
modrinth {
|
|
token.set(System.getenv("MODRINTH_TOKEN") ?: "") // Even though this is the default value, apparently this prevents GitHub Actions caching the token?
|
|
projectId.set("geyser")
|
|
versionNumber.set(project.version as String + "-" + System.getenv("BUILD_NUMBER"))
|
|
versionType.set("beta")
|
|
changelog.set(System.getenv("CHANGELOG") ?: "")
|
|
gameVersions.add(libs.minecraft.get().version as String)
|
|
failSilently.set(true)
|
|
|
|
syncBodyFrom.set(rootProject.file("README.md").readText())
|
|
} |