Skip to content

Commit badaa05

Browse files
committed
Actions fix and start publishing changelog
1 parent b8ed51a commit badaa05

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
uses: MinecraftForge/SharedActions/.github/workflows/gradle.yml@main
1313
with:
14-
java: 8
14+
java: 11
1515
gradle_tasks: "publish"
1616
artifact_name: "installer"
1717
secrets:

build.gradle

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2-
import net.minecraftforge.gradleutils.PomUtils
32

43
plugins {
54
id 'java'
@@ -78,6 +77,10 @@ artifacts {
7877
archives shadowJar
7978
}
8079

80+
changelog {
81+
fromBase()
82+
}
83+
8184
publishing {
8285
publications.register('mavenJava', MavenPublication) {
8386
from components.java
@@ -87,14 +90,14 @@ publishing {
8790
pom {
8891
name = 'Installer'
8992
description = 'Minecraft Forge Installer'
90-
url = 'https://github.com/MinecraftForge/MergeTool'
93+
url = 'https://github.com/MinecraftForge/Installer'
9194

92-
PomUtils.setGitHubDetails(pom, 'Installer')
95+
gradleutils.pom.setGitHubDetails(pom, 'Installer')
9396

94-
license PomUtils.Licenses.LGPLv2_1
97+
license gradleutils.pom.licenses.LGPLv2_1
9598

9699
developers {
97-
developer PomUtils.Developers.LexManos
100+
developer gradleutils.pom.Developers.LexManos
98101
}
99102
}
100103
}

0 commit comments

Comments
 (0)