<NME> settings.gradle.kts
<BEF> pluginManagement {
	repositories {
		maven("https://maven.minecraftforge.net")
		maven("https://maven.parchmentmc.org")
		maven("https://maven.blamejared.com")
		gradlePluginPortal()
		maven("https://maven.fabricmc.net/") {
			name = "Fabric"
		}
		maven("https://repo.spongepowered.org/repository/maven-public/") {
			name = "Sponge Snapshots"
		}
	}
	resolutionStrategy {
		eachPlugin {
			if (requested.id.id == "net.minecraftforge.gradle") {
				useModule("${requested.id}:ForgeGradle:${requested.version}")
			}
			if (requested.id.id == "org.spongepowered.mixin") {
				useModule("org.spongepowered:mixingradle:${requested.version}")
			}
		}
	}
}

val minecraftVersion: String by settings

rootProject.name = "jei-${minecraftVersion}"
include("CommonApi", "Common", "ForgeApi", "Forge")
	"Core",
	"Changelog",
	"Common", "CommonApi",
	"Forge", "ForgeApi",
	"Fabric", "FabricApi"
)

<MSG> Isolate changelog plugin in a subproject

<DFF> @@ -26,4 +26,4 @@ pluginManagement {
 val minecraftVersion: String by settings
 
 rootProject.name = "jei-${minecraftVersion}"
-include("CommonApi", "Common", "ForgeApi", "Forge")
+include("Changelog", "CommonApi", "Common", "ForgeApi", "Forge")

{'commit': 'diff --git a/Changelog/build.gradle.kts b/Changelog/build.gradle.kts\nnew file mode 100644\nindex 00000000..0ae1a4ed\n--- /dev/null\n+++ b/Changelog/build.gradle.kts\n@@ -0,0 +1,17 @@\n+import se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask\n+\n+plugins {\n+\tid("se.bjurr.gitchangelog.git-changelog-gradle-plugin") version("1.71.4")\n+}\n+\n+// gradle.properties\n+val specificationVersion: String by extra\n+\n+tasks.register<GitChangelogTask>("makeChangelog") {\n+\tfromRepo = projectDir.absolutePath.toString()\n+\tfile = file("changelog.html")\n+\tuntaggedName = "Current release $specificationVersion"\n+\tfromCommit = "e72e49fa7a072755e7f96cad65388205f6a010dc"\n+\ttoRef = "HEAD"\n+\ttemplateContent = file("changelog.mustache").readText()\n+}\ndiff --git a/changelog.mustache b/Changelog/changelog.mustache\nsimilarity index 100%\nrename from changelog.mustache\nrename to Changelog/changelog.mustache\ndiff --git a/Forge/build.gradle.kts b/Forge/build.gradle.kts\nindex 461303e2..c56c5b74 100644\n--- a/Forge/build.gradle.kts\n+++ b/Forge/build.gradle.kts\n@@ -48,6 +48,7 @@ val dependencyProjects: List<Project> = listOf(\n dependencyProjects.forEach {\n \tproject.evaluationDependsOn(it.path)\n }\n+project.evaluationDependsOn(project(":Changelog").path)\n \n java {\n \ttoolchain {\n@@ -150,13 +151,13 @@ val sourcesJar = tasks.register<Jar>("sourcesJar") {\n }\n \n tasks.register<TaskPublishCurseForge>("publishCurseForge") {\n-\tdependsOn(":makeChangelog")\n+\tdependsOn(":Changelog:makeChangelog")\n \n \tapiToken = project.findProperty("curseforge_apikey") ?: "0"\n \n \tval mainFile = upload(curseProjectId, file("${project.buildDir}/libs/$baseArchivesName-$version.jar"))\n \tmainFile.changelogType = CFG_Constants.CHANGELOG_HTML\n-\tmainFile.changelog = file("../changelog.html")\n+\tmainFile.changelog = file("../Changelog/changelog.html")\n \tmainFile.releaseType = CFG_Constants.RELEASE_TYPE_BETA\n \tmainFile.addJavaVersion("Java $modJavaVersion")\n \tmainFile.addGameVersion(minecraftVersion)\ndiff --git a/build.gradle.kts b/build.gradle.kts\nindex f8d6b667..3375cacb 100644\n--- a/build.gradle.kts\n+++ b/build.gradle.kts\n@@ -1,16 +1,4 @@\n-import se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask\n-\n-buildscript {\n-    dependencies {\n-        constraints {\n-            // Force ASM on buildscript/plugin classpath to 9.2 instead of an outdated version from gitchangelog\n-            classpath("org.ow2.asm:asm:9.2")\n-        }\n-    }\n-}\n-\n plugins {\n-\tid("se.bjurr.gitchangelog.git-changelog-gradle-plugin") version("1.71.4")\n \tid("com.diffplug.spotless") version("5.14.3")\n }\n apply {\n@@ -35,15 +23,6 @@ val modJavaVersion: String by extra\n val modName: String by extra\n val specificationVersion: String by extra\n \n-tasks.register<GitChangelogTask>("makeChangelog") {\n-\tfromRepo = projectDir.absolutePath.toString()\n-\tfile = file("changelog.html")\n-\tuntaggedName = "Current release $specificationVersion"\n-\tfromCommit = "e72e49fa7a072755e7f96cad65388205f6a010dc"\n-\ttoRef = "HEAD"\n-\ttemplateContent = file("changelog.mustache").readText()\n-}\n-\n spotless {\n \tjava {\n \t\ttarget("*/src/*/java/mezz/jei/**/*.java")\ndiff --git a/settings.gradle.kts b/settings.gradle.kts\nindex 80d66d99..a9057df4 100644\n--- a/settings.gradle.kts\n+++ b/settings.gradle.kts\n@@ -26,4 +26,4 @@ pluginManagement {\n val minecraftVersion: String by settings\n \n rootProject.name = "jei-${minecraftVersion}"\n-include("CommonApi", "Common", "ForgeApi", "Forge")\n+include("Changelog", "CommonApi", "Common", "ForgeApi", "Forge")\n', 'commit_subject': 'Isolate changelog plugin in a subproject', 'repo_name': 'mezz/JustEnoughItems', 'committer': {'name': 'mezz', 'email': 'd5e36f6d52ca5f78d9a56889ff6095ab9bec9607@gmail.com', 'time_sec': '1648082294', 'tz_offset': '-600', 'date': {'seconds': '1648082294'}}, 'commit_tree': '15056cab4b21ae57829422d4b18948cfbc3b07a2', 'commit_message': 'Isolate changelog plugin in a subproject\n', 'language_name': 'Java', 'license': 'mit', 'hunks': '@@ -26,4 +26,4 @@ pluginManagement {\n val minecraftVersion: String by settings\n \n rootProject.name = "jei-${minecraftVersion}"\n-include("CommonApi", "Common", "ForgeApi", "Forge")\n+include("Changelog", "CommonApi", "Common", "ForgeApi", "Forge")\n', 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/settings.gradle.kts', 'tgt_file': 'b/settings.gradle.kts', 'file_extension': '.kts', 'before_file': 'pluginManagement {\n\trepositories {\n\t\tmaven("https://maven.minecraftforge.net")\n\t\tmaven("https://maven.parchmentmc.org")\n\t\tmaven("https://maven.blamejared.com")\n\t\tgradlePluginPortal()\n\t\tmaven("https://maven.fabricmc.net/") {\n\t\t\tname = "Fabric"\n\t\t}\n\t\tmaven("https://repo.spongepowered.org/repository/maven-public/") {\n\t\t\tname = "Sponge Snapshots"\n\t\t}\n\t}\n\tresolutionStrategy {\n\t\teachPlugin {\n\t\t\tif (requested.id.id == "net.minecraftforge.gradle") {\n\t\t\t\tuseModule("${requested.id}:ForgeGradle:${requested.version}")\n\t\t\t}\n\t\t\tif (requested.id.id == "org.spongepowered.mixin") {\n\t\t\t\tuseModule("org.spongepowered:mixingradle:${requested.version}")\n\t\t\t}\n\t\t}\n\t}\n}\n\nval minecraftVersion: String by settings\n\nrootProject.name = "jei-${minecraftVersion}"\ninclude("CommonApi", "Common", "ForgeApi", "Forge")\n\t"Core",\n\t"Changelog",\n\t"Common", "CommonApi",\n\t"Forge", "ForgeApi",\n\t"Fabric", "FabricApi"\n)\n', 'message': 'Isolate changelog plugin in a subproject\n', 'author_name': 'mezz', 'lang': 'gradle'}