Configure publishing and update to official 1.20 release
This commit is contained in:
@@ -3,6 +3,7 @@ plugins {
|
||||
id 'maven-publish'
|
||||
id 'idea'
|
||||
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
||||
id "me.hypherionmc.modutils.modpublisher" version "1.0.13"
|
||||
}
|
||||
|
||||
archivesBaseName = "${mod_name}-fabric-${minecraft_version}"
|
||||
@@ -134,3 +135,30 @@ task copyAllArtifacts(type: Copy) {
|
||||
}
|
||||
|
||||
build.finalizedBy(copyAllArtifacts)
|
||||
|
||||
publisher {
|
||||
apiKeys {
|
||||
modrinth = System.getenv("MODRINTH_TOKEN")
|
||||
curseforge = System.getenv("CURSE_TOKEN")
|
||||
}
|
||||
|
||||
curseID = curse_id
|
||||
modrinthID = modrinth_id
|
||||
versionType = "release"
|
||||
changelog = rootProject.file("changelog.md")
|
||||
version = "${minecraft_version}-${project.version}"
|
||||
displayName = "[FABRIC/QUILT 1.20] CraterLib - ${project.version}"
|
||||
gameVersions = ["1.20"]
|
||||
loaders = ["fabric", "quilt"]
|
||||
artifact = remapJar
|
||||
|
||||
modrinthDepends {
|
||||
required = ["P7dR8mSH"]
|
||||
}
|
||||
|
||||
curseDepends {
|
||||
required = ["fabric-api"]
|
||||
}
|
||||
}
|
||||
|
||||
publishMod.dependsOn(build)
|
@@ -32,9 +32,9 @@
|
||||
],
|
||||
"accessWidener": "craterlib.aw",
|
||||
"depends": {
|
||||
"fabricloader": ">=0.14.19",
|
||||
"fabric": "*",
|
||||
"minecraft": "*",
|
||||
"fabricloader": ">=0.14.21",
|
||||
"fabric-api": "*",
|
||||
"minecraft": ">=1.20",
|
||||
"java": ">=17"
|
||||
}
|
||||
}
|
||||
|
1
changelog.md
Normal file
1
changelog.md
Normal file
@@ -0,0 +1 @@
|
||||
# Dummy file. To be filled by Jenkins
|
@@ -5,7 +5,7 @@ version_patch=8d
|
||||
group=me.hypherionmc.craterlib
|
||||
|
||||
# Common
|
||||
minecraft_version=1.20-pre6
|
||||
minecraft_version=1.20
|
||||
common_runs_enabled=false
|
||||
common_client_run_name=Common Client
|
||||
common_server_run_name=Common Server
|
||||
@@ -15,8 +15,8 @@ forge_version=45.0.9
|
||||
forge_ats_enabled=true
|
||||
|
||||
# Fabric
|
||||
fabric_version=0.82.1+1.20
|
||||
fabric_loader_version=0.14.9
|
||||
fabric_version=0.83.0+1.20
|
||||
fabric_loader_version=0.14.21
|
||||
|
||||
# Mod options
|
||||
mod_name=CraterLib
|
||||
@@ -30,3 +30,7 @@ org.gradle.daemon=false
|
||||
# Dependencies
|
||||
mod_menu_version=7.0.0-beta.2
|
||||
moon_config=1.0.9
|
||||
|
||||
# Publishing
|
||||
curse_id=867099
|
||||
modrinth_id=Nn8Wasaq
|
@@ -1,6 +1,9 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven {
|
||||
url "https://maven.firstdarkdev.xyz/releases"
|
||||
}
|
||||
maven {
|
||||
name = 'Fabric'
|
||||
url = 'https://maven.fabricmc.net/'
|
||||
|
Reference in New Issue
Block a user