Skip to content

Commit

Permalink
Update cloth config and other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tyra314 committed Feb 20, 2021
1 parent 321813e commit b0f1415
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 19 deletions.
15 changes: 7 additions & 8 deletions build.gradle
@@ -1,6 +1,6 @@
plugins {
id 'java-library'
id 'fabric-loom' version '0.4-SNAPSHOT'
id 'fabric-loom' version '0.5-SNAPSHOT'
id 'maven-publish'
}

Expand All @@ -25,6 +25,9 @@ repositories {
maven {
url = uri("https://jitpack.io")
}
maven {
url = "https://maven.shedaniel.me/"
}
}

dependencies {
Expand All @@ -35,17 +38,13 @@ dependencies {

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

modImplementation "io.github.prospector:modmenu:${project.mod_menu_version}"

modImplementation ("me.shedaniel.cloth:config-2:${project.cloth_config_version}") {
transitive = false
modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
exclude(group: "net.fabricmc.fabric-api")
}

include "me.shedaniel.cloth:config-2:${project.cloth_config_version}"

modImplementation "me.sargunvohra.mcmods:autoconfig1u:${project.auto_config_version}"
include "me.sargunvohra.mcmods:autoconfig1u:${project.auto_config_version}"

compile 'com.google.code.findbugs:jsr305:3.0.2'
testCompile "junit:junit:4.+"
}
Expand Down
7 changes: 3 additions & 4 deletions gradle.properties
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
minecraft_version = 1.16.5
yarn_mappings = 1.16.5+build.1
yarn_mappings = 1.16.5+build.4
loader_version = 0.11.1

# Mod Properties
Expand All @@ -12,7 +12,6 @@ maven_group = hunternif.mc.atlas
archives_base_name = antiqueatlas

# Dependencies
cloth_config_version = 4.8.3
auto_config_version = 3.3.1
fabric_version = 0.29.3+1.16
cloth_config_version = 4.11.14
fabric_version = 0.30.3+1.16
mod_menu_version = 1.14.13+build.22
8 changes: 4 additions & 4 deletions src/main/java/hunternif/mc/impl/atlas/AntiqueAtlasConfig.java
@@ -1,10 +1,10 @@
package hunternif.mc.impl.atlas;

import hunternif.mc.impl.atlas.client.gui.GuiAtlas;
import me.sargunvohra.mcmods.autoconfig1u.ConfigData;
import me.sargunvohra.mcmods.autoconfig1u.annotation.Config;
import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry;
import me.sargunvohra.mcmods.autoconfig1u.shadowed.blue.endless.jankson.Comment;
import me.shedaniel.autoconfig.ConfigData;
import me.shedaniel.autoconfig.annotation.Config;
import me.shedaniel.autoconfig.annotation.ConfigEntry;
import me.shedaniel.cloth.clothconfig.shadowed.blue.endless.jankson.Comment;

@Config(name = "antiqueatlas")
public class AntiqueAtlasConfig implements ConfigData {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/hunternif/mc/impl/atlas/AntiqueAtlasMod.java
Expand Up @@ -13,8 +13,8 @@
import hunternif.mc.impl.atlas.mixinhooks.NewServerConnectionCallback;
import hunternif.mc.impl.atlas.network.AntiqueAtlasNetworking;
import hunternif.mc.impl.atlas.structure.*;
import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
import me.sargunvohra.mcmods.autoconfig1u.serializer.JanksonConfigSerializer;
import me.shedaniel.autoconfig.AutoConfig;
import me.shedaniel.autoconfig.serializer.JanksonConfigSerializer;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerWorldEvents;
import net.minecraft.server.world.ServerWorld;
Expand Down
Expand Up @@ -3,7 +3,7 @@
import hunternif.mc.impl.atlas.AntiqueAtlasConfig;
import io.github.prospector.modmenu.api.ConfigScreenFactory;
import io.github.prospector.modmenu.api.ModMenuApi;
import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
import me.shedaniel.autoconfig.AutoConfig;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;

Expand Down

0 comments on commit b0f1415

Please sign in to comment.