mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-16 17:25:09 +01:00
release: MidnightLib 1.9.0
here we go!
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -0,0 +1,11 @@
|
|||||||
|
# MidnightLib v1.9.0
|
||||||
|
- Setup a **multiversion** build environment
|
||||||
|
- MidnightLib will now always be up-to-date on all relevant versions of Minecraft
|
||||||
|
(Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
|
||||||
|
- Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
|
||||||
|
In case you still find a broken mod, please [report it](https://github.com/TeamMidnightDust/MidnightLib/issues/new/choose) and tag the issue with `1.9.0`.
|
||||||
|
- New logo! This offers improved visibility on light themes and a more modern, fresh look.
|
||||||
|
- Added JavaDocs to improve the developer experience.
|
||||||
|
- To be able to view them, adjust your midnightlib gradle dependency by following the [wiki](https://midnightdust.eu/wiki/midnightlib).
|
||||||
|
- Reduced jar size – now under 60KB again for Fabric builds :)
|
||||||
|
- Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
|
||||||
@@ -62,12 +62,15 @@ publishMods {
|
|||||||
file = project.tasks.remapJar.get().archiveFile
|
file = project.tasks.remapJar.get().archiveFile
|
||||||
dryRun = modrinthToken == null || curseforgeToken == null
|
dryRun = modrinthToken == null || curseforgeToken == null
|
||||||
|
|
||||||
displayName = "${mod.name} ${loader.replaceFirstChar { it.uppercase() }} ${property("mod.mc_title")}-${mod.version}"
|
displayName = "${mod.name} ${mod.version} - ${loader.replaceFirstChar { it.uppercase() }} ${property("mod.mc_title")}"
|
||||||
version = mod.version
|
version = "${mod.version}+${property("mod.mc_title")}-${loader}"
|
||||||
changelog = rootProject.file("CHANGELOG.md").readText()
|
changelog = rootProject.file("CHANGELOG.md").readText()
|
||||||
type = BETA
|
type = STABLE
|
||||||
|
|
||||||
modLoaders.add(loader)
|
modLoaders.add(loader)
|
||||||
|
if (loader == "fabric") {
|
||||||
|
modLoaders.add("quilt")
|
||||||
|
}
|
||||||
|
|
||||||
val targets = property("mod.mc_targets").toString().split(' ')
|
val targets = property("mod.mc_targets").toString().split(' ')
|
||||||
modrinth {
|
modrinth {
|
||||||
@@ -76,7 +79,6 @@ publishMods {
|
|||||||
targets.forEach(minecraftVersions::add)
|
targets.forEach(minecraftVersions::add)
|
||||||
if (loader == "fabric") {
|
if (loader == "fabric") {
|
||||||
requires("fabric-api")
|
requires("fabric-api")
|
||||||
optional("modmenu")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,39 +88,25 @@ publishMods {
|
|||||||
targets.forEach(minecraftVersions::add)
|
targets.forEach(minecraftVersions::add)
|
||||||
if (loader == "fabric") {
|
if (loader == "fabric") {
|
||||||
requires("fabric-api")
|
requires("fabric-api")
|
||||||
optional("modmenu")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
github {
|
// github {
|
||||||
accessToken = githubToken
|
// accessToken = githubToken
|
||||||
repository = "TeamMidnightDust/MidnightLib"
|
// repository = "TeamMidnightDust/MidnightLib"
|
||||||
commitish = "multiversion" // This is the branch the release tag will be created from
|
// commitish = "multiversion" // This is the branch the release tag will be created from
|
||||||
|
|
||||||
tagName = "v" + properties["mod.version"]
|
|
||||||
|
|
||||||
// Allow the release to be initially created without any files.
|
|
||||||
allowEmptyFiles = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//publishing {
|
|
||||||
// publications {
|
|
||||||
// create<MavenPublication>("mavenJava") {
|
|
||||||
// pom {
|
|
||||||
// groupId = "eu.midnightdust"
|
|
||||||
// artifactId = "midnightlib"
|
|
||||||
// version = project.version
|
|
||||||
//
|
//
|
||||||
// from(components["java"])
|
// tagName = "v" + properties["mod.version"]
|
||||||
|
//
|
||||||
|
// // Allow the release to be initially created without any files.
|
||||||
|
// allowEmptyFiles = true
|
||||||
// }
|
// }
|
||||||
// }
|
}
|
||||||
// }
|
|
||||||
//}
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "MidnightDust"
|
name = "MidnightDust"
|
||||||
url = uri("https://maven.midnightdust.eu/snapshots")
|
url = uri("https://maven.midnightdust.eu/releases")
|
||||||
credentials(PasswordCredentials::class)
|
credentials(PasswordCredentials::class)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ org.gradle.parallel=false
|
|||||||
#org.gradle.configureondemand=true
|
#org.gradle.configureondemand=true
|
||||||
|
|
||||||
# Mod properties
|
# Mod properties
|
||||||
mod.version=1.9.0-beta.3
|
mod.version=1.9.0
|
||||||
mod.group=eu.midnightdust
|
mod.group=eu.midnightdust
|
||||||
mod.id=midnightlib
|
mod.id=midnightlib
|
||||||
mod.name=MidnightLib
|
mod.name=MidnightLib
|
||||||
|
|||||||
Reference in New Issue
Block a user