Updated implementation of most things. Switched to a working config file. Fixed config changing proxy'd jumpvader block to incorrect types. Added an "ENABLE" config option.

This commit is contained in:
VenomCode
2023-06-30 14:34:39 -05:00
parent 20ba50b566
commit 66d797b928
11 changed files with 113 additions and 155 deletions

View File

@@ -1,7 +1,6 @@
plugins {
id 'fabric-loom' version '1.2-SNAPSHOT'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
version = project.mod_version
@@ -20,7 +19,7 @@ repositories {
maven { url 'https://maven.nucleoid.xyz' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://jitpack.io' }
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
@@ -35,12 +34,14 @@ dependencies {
// Uncomment the following line to enable the deprecated Fabric API modules.
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.
modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
include(modImplementation("maven.modrinth:server-api:${project.serverapi_version}"))
include(modImplementation('me.lucko:fabric-permissions-api:0.2-SNAPSHOT'))
include(modImplementation("eu.pb4:polymer-core:${project.polymer_version}"))
include(modImplementation("xyz.nucleoid:server-translations-api:${project.server_translations_api_version}"))
shadow(implementation('org.spongepowered:configurate-hocon:4.1.2'))
}
processResources {
@@ -70,15 +71,6 @@ jar {
rename { "${it}_${project.archivesBaseName}"}
}
}
shadowJar {
configurations = [project.configurations.shadow]
archiveClassifier.set("dev")
relocate "net.objecthunter", "de.siphalor.spiceoffabric.shadow.net.objecthunter"
}
remapJar {
dependsOn(shadowJar)
inputFile = tasks.shadowJar.archiveFile
}
// configure the maven publication
publishing {