mirror of
https://github.com/Aizistral-Studios/No-Chat-Restrictions.git
synced 2026-05-11 17:09:56 +08:00
More publishing suffering
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'net.fabricmc.fabric-loom-remap' version "${loom_version}"
|
||||
id 'fabric-loom' version "${loom_version}"
|
||||
id 'maven-publish'
|
||||
id "com.modrinth.minotaur" version "2.+"
|
||||
id "com.matthewprenger.cursegradle" version "1.4.0"
|
||||
@@ -66,6 +66,7 @@ curseforge {
|
||||
releaseType = 'release'
|
||||
changelogType = 'markdown'
|
||||
changelog = file('../CHANGELOG.md')
|
||||
mainArtifact(remapJar)
|
||||
|
||||
addGameVersion '1.16.4'
|
||||
addGameVersion '1.16.5'
|
||||
@@ -82,10 +83,10 @@ modrinth {
|
||||
token = findProperty('modrinthKey') ?: '0'
|
||||
projectId = "z440MEwJ"
|
||||
versionNumber = project.version
|
||||
versionName = "No Chat Restrictions v" + project.version
|
||||
versionName = "No Chat Restrictions " + project.version
|
||||
versionType = "release"
|
||||
changelog = rootProject.file("../CHANGELOG.md").text
|
||||
uploadFile = jar
|
||||
uploadFile = remapJar
|
||||
gameVersions = [ '1.16.4', '1.16.5' ]
|
||||
loaders = [ 'fabric' ]
|
||||
|
||||
@@ -94,6 +95,15 @@ modrinth {
|
||||
}
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
tasks.named('modrinth') {
|
||||
dependsOn(remapJar)
|
||||
}
|
||||
tasks.named('curseforge') {
|
||||
dependsOn(remapJar)
|
||||
}
|
||||
}
|
||||
|
||||
task upload {
|
||||
dependsOn('modrinth')
|
||||
dependsOn('curseforge')
|
||||
|
||||
Reference in New Issue
Block a user