add log4j

pull/5/head
valoeghese 5 years ago
parent ce02250433
commit 46dd79a75c

@ -1,5 +1,6 @@
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
name = "Fabric"
@ -35,6 +36,10 @@ minecraft {
}
dependencies {
// fabric loader requires log4j
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.8.1'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.8.1'
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"

@ -6,7 +6,6 @@ import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import net.minecraft.client.gui.screen.TitleScreen;
import net.minecraft.client.screen.MainMenuScreen;
@Mixin(TitleScreen.class)
public class ExampleMixin {

Loading…
Cancel
Save