Initial Commit for 1.19.2

This commit is contained in:
VenomCodeDev
2022-10-11 22:00:30 -05:00
parent 91ff57231d
commit d1cd96ccd8
17 changed files with 375 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
plugins {
id 'fabric-loom' version '1.0-SNAPSHOT'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
sourceCompatibility = JavaVersion.VERSION_17
@@ -16,6 +17,9 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
mavenCentral()
maven { url 'https://maven.nucleoid.xyz' }
}
dependencies {
@@ -27,10 +31,15 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
// Uncomment the following line to enable the deprecated Fabric API modules.
// 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}"
modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
shadow(implementation('org.spongepowered:configurate-hocon:4.1.2'))
modImplementation include("eu.pb4:polymer:${project.polymer_version}")
modImplementation include("fr.catcore:server-translations-api:${project.server_translation_api_version}")
}
processResources {
@@ -57,6 +66,18 @@ jar {
from("LICENSE") {
rename { "${it}_${project.archivesBaseName}"}
}
archiveClassifier.set("dev")
}
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