Skip to content

Commit

Permalink
Releasing v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
blackd committed Jul 7, 2024
1 parent 9ae3f8a commit 6ae0935
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 24 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ allprojects {
group = "org.anti-ad.mc"
ext.set("mod_artefact_version", versionObj.toCleanString())
ext.set("mod_artefact_is_release", versionObj.isRelease())
ext.set("libIPN_version", "6.0.0-SNAPSHOT")
ext.set("libIPN_version", "6.0.0")

tasks.withType<JavaCompile>().configureEach {
options.isFork = true
Expand Down
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- latest begin -->

### 2.0.2
- Added support for NeoForge 1.21. No backports will happen!
- Fixed a crash when showing the overlay editor.

#### Forge
Expand All @@ -14,7 +15,7 @@ As usual the mod will run on Quilt, but I don't have time for full testing and d

#### NeoForge

I intend to start working on port, but no promises!
This is still early beta please report problems. Also has the same problem as the forge build.

<!-- latest end -->

Expand Down
1 change: 0 additions & 1 deletion platforms/forge-1.20.6/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,6 @@ configure<CurseExtension> {
requiredDependency("kotlin-for-forge")
requiredDependency("libipn")
})
//addGameVersion("NeoForge")
addGameVersion("Forge")
})
options(closureOf<com.matthewprenger.cursegradle.Options> {
Expand Down
2 changes: 0 additions & 2 deletions platforms/forge-1.21/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ configure<CurseExtension> {
requiredDependency("kotlin-for-forge")
requiredDependency("libipn")
})
//addGameVersion("NeoForge")
addGameVersion("Forge")
})
options(closureOf<com.matthewprenger.cursegradle.Options> {
Expand Down Expand Up @@ -703,7 +702,6 @@ modrinth {
versionName.set("IPN $mod_version for $mod_loader$clasifier $minecraft_version_string")
this.changelog.set(project.rootDir.resolve("description/out/pandoc-release_notes.md").readText())
loaders.add(mod_loader)
loaders.add("neoforge")
dependencies.set(
mutableListOf(
ModDependency("ordsPcFz", "required"),
Expand Down
19 changes: 0 additions & 19 deletions platforms/neoforge-1.21/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -283,25 +283,7 @@ val shadowJarTask: ShadowJar = tasks.named<ShadowJar>("shadowJar") {
}.get()


tasks.register<Copy>("copyProGuardJar") {

val fabricRemapJar = tasks.named<ShadowJar>("shadowJar").get()
val inName = layout.buildDirectory.file("libs/" + fabricRemapJar.archiveFileName.get().replace("-shaded", "-all-proguard"))
val outName = fabricRemapJar.archiveFileName.get().replace("-shaded", "")
logger.lifecycle("""
******************************
will copy from: $inName
to $outName
******************************
""".trimIndent())
from(inName)
rename {
outName
}
into(layout.buildDirectory.dir("libs"))
}

val proguard by tasks.registering(ProGuardTask::class) {

Expand Down Expand Up @@ -569,7 +551,6 @@ modrinth {
versionName.set("IPN $mod_version for $mod_loader$clasifier $minecraft_version_string")
this.changelog.set(project.rootDir.resolve("description/out/pandoc-release_notes.md").readText())
loaders.add(mod_loader)
//loaders.add("neoforge")
dependencies.set(
mutableListOf(
ModDependency("ordsPcFz", "required"),
Expand Down

0 comments on commit 6ae0935

Please sign in to comment.