Publish to bintray

This commit is contained in:
shedaniel
2020-11-07 00:37:41 +08:00
parent 99090b2796
commit 6c91c919d1
9 changed files with 99 additions and 7 deletions

View File

@@ -63,9 +63,20 @@ shadowJar {
exclude "fabric.mod.json"
configurations = [project.configurations.shadow]
classifier null
classifier "forge"
}
reobf {
shadowJar {}
}
publishing {
publications {
mavenFabric(MavenPublication) {
artifact(file("${project.buildDir}/libs/${project.archivesBaseName}-${project.version}-forge.jar")) {
builtBy shadowJar
classifier "forge"
}
}
}
}

View File

@@ -1,7 +1,7 @@
package me.shedaniel.architectury.registry.forge;
import com.google.common.collect.Lists;
import me.shedaniel.architectury.registry.ReloadListenerRegistry;
import me.shedaniel.architectury.registry.ReloadListeners;
import net.minecraft.client.Minecraft;
import net.minecraft.resources.IFutureReloadListener;
import net.minecraft.resources.IReloadableResourceManager;
@@ -13,7 +13,7 @@ import net.minecraftforge.event.AddReloadListenerEvent;
import java.util.List;
public class ReloadListenersImpl implements ReloadListenerRegistry.Impl {
public class ReloadListenersImpl implements ReloadListeners.Impl {
private List<IFutureReloadListener> serverDataReloadListeners = Lists.newArrayList();
public ReloadListenersImpl() {