-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publishing extended Gradle Module Metadata for Tooling #959
Conversation
Last commit published: 75c0a375aff569ac1d2b5b12c5074797d5945016. PR PublishingThe artifacts published by this PR:
Repository DeclarationIn order to use the artifacts published by the PR, add the following repository to your buildscript: repositories {
maven {
name 'Maven for PR #959' // https://github.com/neoforged/NeoForge/pull/959
url 'https://prmaven.neoforged.net/NeoForge/pr959'
content {
includeModule('net.neoforged', 'neoforge')
includeModule('net.neoforged', 'testframework')
}
}
} MDK installationIn order to setup a MDK using the latest PR version, run the following commands in a terminal. mkdir NeoForge-pr959
cd NeoForge-pr959
curl -L https://prmaven.neoforged.net/NeoForge/pr959/net/neoforged/neoforge/21.0.0-alpha.1.21-rc1.20240610.223412/mdk-pr959.zip -o mdk.zip
jar xf mdk.zip
rm mdk.zip || del mdk.zip To test a production environment, you can download the installer from here. |
0159a46
to
913506c
Compare
913506c
to
fc8c8d0
Compare
636279f
to
a67306f
Compare
Co-authored-by: Technici4n <[email protected]>
Summary of Changes
rootProject
to theneoforge
project. We were accessing it across projectboundaries to publish its results, which is discouraged by Gradle.
Configuration / Variant Overview
apiElements
runtimeElements
modDevBundle
net.neoforged:neoforge-moddev-bundle
modDevConfig
net.neoforged:neoforge-moddev-config
installerJar
net.neoforged:neoforge-installer
universalJar
changelog
modDevApiElements
net.neoforged:neoforge-dependencies
modDevRuntimeElements
net.neoforged:neoforge-dependencies
modDevModulePath
modDevRuntimeElements
that needs to be on the Java module-path.net.neoforged:neoforge-moddev-module-path
modDevTestFixtures
net.neoforged:neoforge-moddev-test-fixtures
Consuming Variants
Example Buildscript to pull all variants and store them locally: build.zip
modDevBundle
File:
neoforge-21.0.0-alpha.1.21-rc1.20240610.223412-userdev.jar
Capability:
net.neoforged:neoforge-moddev-bundle
Attributes
Dependencies
net.neoforged:neoform
modDevConfig
File:
neoforge-21.0.0-alpha.1.21-rc1.20240610.223412-moddev-config.json
Capability:
net.neoforged:neoforge-moddev-config
Attributes
installerJar
File:
neoforge-21.0.0-alpha.1.21-rc1.20240610.223412-installer.jar
Capability:
net.neoforged:neoforge-installer
Attributes
universalJar
File:
neoforge-21.0.0-alpha.1.21-rc1.20240610.223412-universal.jar
Attributes
modDevApiElements
Capability:
net.neoforged:neoforge-dependencies
Attributes
Dependencies
net.neoforged:neoform
(Capabilities:net.neoforged:neoform-dependencies
)io.github.llamalad7:mixinextras-neoforge
net.neoforged:neoform
net.neoforged.fancymodloader:loader
net.neoforged.fancymodloader:earlydisplay
cpw.mods:securejarhandler
org.ow2.asm:asm
org.ow2.asm:asm-commons
org.ow2.asm:asm-tree
org.ow2.asm:asm-util
org.ow2.asm:asm-analysis
net.neoforged:accesstransformers
net.neoforged:bus
net.neoforged:coremods
cpw.mods:modlauncher
net.minecraftforge:unsafe
net.neoforged:mergetool
com.electronwill.night-config:core
com.electronwill.night-config:toml
org.apache.maven:maven-artifact
net.jodah:typetools
net.minecrell:terminalconsoleappender
net.fabricmc:sponge-mixin
org.openjdk.nashorn:nashorn-core
net.neoforged:JarJarSelector
org.apache.commons:commons-lang3
net.neoforged:JarJarMetadata
org.apache.logging.log4j:log4j-api
org.apache.logging.log4j:log4j-core
cpw.mods:bootstraplauncher
net.neoforged:JarJarFileSystems
modDevRuntimeElements
Capability:
net.neoforged:neoforge-dependencies
Attributes
Dependencies
net.neoforged:neoform
(Capabilities:net.neoforged:neoform-dependencies
)net.neoforged:neoform
net.neoforged.fancymodloader:loader
net.neoforged.fancymodloader:earlydisplay
cpw.mods:securejarhandler
org.ow2.asm:asm
org.ow2.asm:asm-commons
org.ow2.asm:asm-tree
org.ow2.asm:asm-util
org.ow2.asm:asm-analysis
net.neoforged:accesstransformers
net.neoforged:bus
net.neoforged:coremods
cpw.mods:modlauncher
net.minecraftforge:unsafe
net.neoforged:mergetool
com.electronwill.night-config:core
com.electronwill.night-config:toml
org.apache.maven:maven-artifact
net.jodah:typetools
net.minecrell:terminalconsoleappender
net.fabricmc:sponge-mixin
org.openjdk.nashorn:nashorn-core
net.neoforged:JarJarSelector
org.apache.commons:commons-lang3
net.neoforged:JarJarMetadata
org.apache.logging.log4j:log4j-api
org.apache.logging.log4j:log4j-core
cpw.mods:bootstraplauncher
net.neoforged:JarJarFileSystems
modDevModulePath
Capability:
net.neoforged:neoforge-moddev-module-path
Attributes
Dependencies
cpw.mods:securejarhandler
org.ow2.asm:asm
org.ow2.asm:asm-commons
org.ow2.asm:asm-tree
org.ow2.asm:asm-util
org.ow2.asm:asm-analysis
cpw.mods:bootstraplauncher
net.neoforged:JarJarFileSystems
modDevTestFixtures
Capability:
net.neoforged:neoforge-moddev-test-fixtures
Attributes
Dependencies
net.neoforged.fancymodloader:junit-fml
sourcesElements
File:
neoforge-21.0.0-alpha.1.21-rc1.20240610.223412-sources.jar
Attributes