diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8d2181c..cc9b317 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: build: uses: MinecraftForge/SharedActions/.github/workflows/gradle.yml@main with: - java: 8 + java: 11 gradle_tasks: "publish" artifact_name: "installer" secrets: diff --git a/build.gradle b/build.gradle index 2f7385d..0973d43 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,4 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar -import net.minecraftforge.gradleutils.PomUtils plugins { id 'java' @@ -78,6 +77,10 @@ artifacts { archives shadowJar } +changelog { + fromBase() +} + publishing { publications.register('mavenJava', MavenPublication) { from components.java @@ -87,14 +90,14 @@ publishing { pom { name = 'Installer' description = 'Minecraft Forge Installer' - url = 'https://github.com/MinecraftForge/MergeTool' + url = 'https://github.com/MinecraftForge/Installer' - PomUtils.setGitHubDetails(pom, 'Installer') + gradleutils.pom.setGitHubDetails(pom, 'Installer') - license PomUtils.Licenses.LGPLv2_1 + license gradleutils.pom.licenses.LGPLv2_1 developers { - developer PomUtils.Developers.LexManos + developer gradleutils.pom.Developers.LexManos } } }