Add forge-patches to maven publishing

This commit is contained in:
Raven Szewczyk committed 2023-01-24 12:37:32 +00:00
1 parent 6a238c9d63
commit b334a0e01a
3 files changed
+20 -3

No files matched your search

+5 -1
View File
@@ -33,7 +33,7 @@ dependencies {
forgePatchesImplementation("org.apache.commons:commons-compress:1.21")
}
tasks.register(forgePatchesSet.jarTaskName, Jar) {
def forgePatchesJar = tasks.register(forgePatchesSet.jarTaskName, Jar) {
from(forgePatchesSet.output)
def resolvable = configurations.detachedConfiguration(dependencies.create("org.apache.commons:commons-compress:1.21"))
// Bootleg shadow jar
@@ -60,6 +60,10 @@ afterEvaluate {
tasks.named("relocateShadowJar").configure {
enabled = false
}
publishing.publications.named("maven", MavenPublication) {
artifact forgePatchesJar
}
}
afterEvaluate {
@@ -0,0 +1,13 @@
{
"formatVersion": 1,
"name": "Forge-J9-Patches",
"uid": "me.eigenraven.lwjgl3ify.forgepatches",
"version": "1",
"order": 3,
"libraries": [
{
"name": "com.gtnewhorizons:lwjgl3ify:1.1.2:forgePatches",
"MMC-hint": "local"
}
]
}
@@ -6,8 +6,8 @@
"order": 3,
"libraries": [
{
"name": "com.gtnewhorizons:lwjgl3ify:1.0:forgePatches",
"MMC-hint": "local"
"name": "com.gtnewhorizons:lwjgl3ify:1.1.2:forgePatches",
"url": "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
}
]
}