fix some build issues
add option for server port
This commit is contained in:
3 files changed
+4
-9
No files matched your search
+2
-8
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id 'maven-publish'
|
||||
id("io.freefair.lombok") version "8.6"
|
||||
id("com.github.johnrengelman.shadow") version "8.1.1"
|
||||
id("com.gradleup.shadow") version "9.3.1"
|
||||
id 'fabric-loom' version '1.10.1'
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ remapJar {
|
||||
dependsOn(shadowJar)
|
||||
mustRunAfter(shadowJar)
|
||||
// Set the input jar for the task. Here use the shadow Jar that include the .class of the transitive dependency
|
||||
inputFile = file(shadowJar.archivePath)
|
||||
inputFile = shadowJar.archiveFile
|
||||
}
|
||||
|
||||
processResources {
|
||||
@@ -93,12 +93,6 @@ loom {
|
||||
accessWidenerPath = file("src/main/resources/sfcraft.accesswidener")
|
||||
}
|
||||
|
||||
jar {
|
||||
from("LICENSE") {
|
||||
rename { "${it}_${project.archivesBaseName}" }
|
||||
}
|
||||
}
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
|
||||
Reference in new issue
Block a user