From e9a148a6028b7af29536872f5e0a606b2397f82e Mon Sep 17 00:00:00 2001 From: pietro-lopes Date: Tue, 23 Jul 2024 23:04:30 -0300 Subject: [PATCH] now publishes AT and II --- build.gradle | 9 ++++++++- settings.gradle | 9 --------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 3a3b7b54d..c2226ab43 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,14 @@ base.archivesBaseName = project.archives_base_name neoForge { version = project.neoforge_version - interfaceInjectionData = files("interfaces.json") + accessTransformers { + publish(project.file('src/main/resources/META-INF/accesstransformer.cfg')) + } + + interfaceInjectionData { + from(file('interfaces.json')) + publish(file('interfaces.json')) + } runs { configureEach { diff --git a/settings.gradle b/settings.gradle index 676437a18..a4db1830e 100644 --- a/settings.gradle +++ b/settings.gradle @@ -3,15 +3,6 @@ pluginManagement { gradlePluginPortal() mavenCentral() maven { url "https://maven.creeperhost.net/" } - // maven { url "https://maven.architectury.dev/" } - maven { url "https://maven.minecraftforge.net/" } - maven { - name = "NeoForged" - url = 'https://maven.neoforged.net/releases' - content { - includeGroup "net.neoforged" - } - } } }