Skip to content

Commit

Permalink
Actions fix and start publishing changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Feb 27, 2024
1 parent b8ed51a commit badaa05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 8 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import net.minecraftforge.gradleutils.PomUtils

plugins {
id 'java'
Expand Down Expand Up @@ -78,6 +77,10 @@ artifacts {
archives shadowJar
}

changelog {
fromBase()
}

publishing {
publications.register('mavenJava', MavenPublication) {
from components.java
Expand All @@ -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
}
}
}
Expand Down

0 comments on commit badaa05

Please sign in to comment.