diff --git a/build.gradle b/build.gradle index 6015665..79636c0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id "dev.architectury.loom" version "1.5-SNAPSHOT" + id "dev.architectury.loom" version "1.6-SNAPSHOT" id "maven-publish" id "com.hypherionmc.modutils.modpublisher" version "2.+" } @@ -12,6 +12,12 @@ repositories { maven { url "https://maven.neoforged.net/releases/" } maven { url 'https://api.modrinth.com/maven' } maven { url "https://www.jitpack.io" } + maven { + url "https://maven2.bai.lol" + content { + includeGroup "lol.bai" + } + } } dependencies { @@ -20,7 +26,7 @@ dependencies { neoForge "net.neoforged:neoforge:${project.neoforge_version}" modImplementation "maven.modrinth:mafglib:${project.malilib_version}" - modLocalRuntime("com.github.ThinkingStudios:ForgedNetworkingAPI:0.1.0-mc1.20.4") + modImplementation "lol.bai:badpackets:neo-${project.badpackets_version}" implementation "com.google.code.findbugs:jsr305:3.0.2" } @@ -45,21 +51,6 @@ java { withSourcesJar() } -jar { - // add some additional metadata to the jar manifest - manifest { - attributes([ - "Specification-Title" : project.mod_id, - "Specification-Vendor" : project.mod_author, - "Specification-Version" : "1", - "Implementation-Title" : project.name, - "Implementation-Version" : version, - "Implementation-Vendor" : project.mod_author, - "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") - ]) - } -} - // configure the maven publication publishing { publications { diff --git a/gradle.properties b/gradle.properties index 17048bc..0e6ef7b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,10 +12,10 @@ loom.platform=neoforge mod_version=0.1.2 maven_group=org.thinkingstudio.tweakerge archives_base_name=Tweakerge - mod_id=tweakerge - mod_author=ThinkingStudio + modrinth_id=yke6wdGF curseforge_id=915857 # Dependencies - malilib_version=0.1.7-mc1.20.4 + malilib_version=0.1.9-mc1.20.4 + badpackets_version=0.6.1 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e411586..19cfad9 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists