Try to fix Forge

This commit is contained in:
Ran
2023-04-30 14:15:04 +06:00
parent ef02856b45
commit 5caf11789f
6 changed files with 78 additions and 153 deletions
+4 -21
View File
@@ -1,7 +1,3 @@
plugins {
id "fabric-loom" version "1.1-SNAPSHOT"
}
loom {
accessWidenerPath = project(":common").file("src/main/resources/${accessWidenerVersion}.lod.accesswidener")
@@ -23,8 +19,9 @@ loom {
}
remapJar {
// Set the input jar for the task, also valid for remapSourcesJar
inputFile = project(":fabric").file("build/libs/DistantHorizons-fabric-${rootProject.versionStr}-all.jar")
inputFile = shadowJar.archiveFile
dependsOn shadowJar
classifier null
}
configurations {
@@ -145,18 +142,4 @@ sourcesJar {
// withVariantsFromConfiguration(project.configurations.shadowRuntimeElements) {
// skip()
// }
//}
publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = rootProject.mod_name + "-" + project.name
from components.java
}
}
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
}
}
//}