Skip to content

Commit 8bc19ab

Browse files
committed
[CI] Swap core-api to MDG
1 parent 3ae0cc2 commit 8bc19ab

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
path: neoforge-main/build
4242

4343
- name: Publish
44-
run: ./gradlew :neoforge-main:publishCompactmachinesPublicationToGitHubPackagesRepository --stacktrace
44+
run: ./gradlew :publishAllPublicationsToGitHubPackagesRepository
4545
env:
4646
VERSION: ${{ inputs.version }}
4747
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}

core-api/build.gradle.kts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ val versionMain: String = System.getenv("VERSION") ?: "9.9.9"
66
plugins {
77
id("java-library")
88
id("maven-publish")
9-
alias(neoforged.plugins.neogradle)
9+
alias(neoforged.plugins.moddev)
1010
}
1111

1212
sourceSets {
@@ -29,10 +29,8 @@ java {
2929
withJavadocJar()
3030
}
3131

32-
minecraft {}
33-
34-
dependencies {
35-
api(neoforged.neoforge)
32+
neoForge {
33+
version = neoforged.versions.neoforge
3634
}
3735

3836
tasks.withType<JavaCompile> {

0 commit comments

Comments
 (0)