From e104b84bcd1c8afb8e016ef517da5be15a54d729 Mon Sep 17 00:00:00 2001
From: Phillipp Glanz
Date: Mon, 11 Dec 2023 14:41:34 +0100
Subject: [PATCH] Remove changelog feature
The changelog feature was completely removed along with related configuration and plugins. The changes affected the settings.gradle.kts and build.gradle.kts files where the plugin was unlinked. Additionally, the CHANGELOG.md file, which holds the record of changes, was deleted.
---
CHANGELOG.md | 20 --------------------
build.gradle.kts | 23 +----------------------
settings.gradle.kts | 1 -
3 files changed, 1 insertion(+), 43 deletions(-)
delete mode 100644 CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index e041127..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Changelog
-
-## [Unreleased]
-
-### Added
-- Save command
-- Load command
-- Auto save and load
-- Setup system
- - Include docker compose file generation
-
-### Changed
-
-### Deprecated
-
-### Removed
-
-### Fixed
-
-### Security
diff --git a/build.gradle.kts b/build.gradle.kts
index 8a91111..fc04ff9 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,7 +11,6 @@ plugins {
alias(libs.plugins.run.server)
alias(libs.plugins.publish.hangar)
alias(libs.plugins.publish.modrinth)
- alias(libs.plugins.changelog)
}
group = "net.onelitefeather"
@@ -122,25 +121,11 @@ paper {
}
}
-changelog {
- version.set(publishData.getVersion(false))
- path.set("${project.projectDir}/CHANGELOG.md")
- itemPrefix.set("-")
- keepUnreleasedSection.set(true)
- unreleasedTerm.set("[Unreleased]")
- groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed", "Security"))
-}
-
hangarPublish {
publications.register("ClipboardConnect") {
version.set(publishData.getVersion(true))
channel.set(System.getenv("HANGAR_CHANNEL"))
- changelog.set(
- project.changelog.renderItem(
- project.changelog.getOrNull(publishData.getVersion(false)) ?: project.changelog.getUnreleased()
- )
- )
apiKey.set(System.getenv("HANGAR_SECRET"))
id.set("ClipboardConnect")
@@ -160,10 +145,4 @@ modrinth {
uploadFile.set(tasks.shadowJar as Any)
gameVersions.addAll(supportedMinecraftVersions)
loaders.add("paper")
- loaders.add("bukkit")
- changelog.set(
- project.changelog.renderItem(
- project.changelog.getOrNull(publishData.getVersion(false)) ?: project.changelog.getUnreleased()
- )
- )
-}
\ No newline at end of file
+}
diff --git a/settings.gradle.kts b/settings.gradle.kts
index bdae153..08bb95a 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -40,7 +40,6 @@ dependencyResolutionManagement {
plugin("run.server","xyz.jpenilla.run-paper").version("2.2.2")
plugin("publish.hangar","io.papermc.hangar-publish-plugin").version("0.1.0")
plugin("publish.modrinth","com.modrinth.minotaur").version("2.+")
- plugin("changelog", "org.jetbrains.changelog").version("2.2.0")
}
}
}