diff --git a/.gitignore b/.gitignore index 45b608c..e75a605 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .idea/ build/ out/ -run/ \ No newline at end of file +run/ +run-server/ diff --git a/build.gradle b/build.gradle index 9a8a264..9315c6c 100644 --- a/build.gradle +++ b/build.gradle @@ -39,6 +39,14 @@ repositories { } metadataSources { artifact() } } + ivy { + url = "https://github.com/Turnip-Labs" + patternLayout { + artifact "[organisation]/releases/download/[revision]/[module]-bta-[revision].jar" + m2compatible = true + } + metadataSources { artifact() } + } ivy { url = "https://piston-data.mojang.com" patternLayout { @@ -47,6 +55,14 @@ repositories { } metadataSources { artifact() } } + ivy { + url = "https://github.com/MartinSVK12" + patternLayout { + artifact "[organisation]/releases/download/[revision]/[module]-[revision].jar" + m2compatible = true + } + metadataSources { artifact() } + } } dependencies { @@ -54,14 +70,25 @@ dependencies { mappings loom.layered() {} modRuntimeOnly "objects:client:43db9b498cb67058d2e12d394e6507722e71bb45" // https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar - modImplementation "babric:fabric-loader:${project.loader_version}" + modImplementation "fabric-loader:fabric-loader:${project.loader_version}" // Helper library // If you do not need Halplibe you can comment this line out or delete this line modImplementation "bta-halplibe:halplibe:${project.halplibe_version}" - modImplementation "org.slf4j:slf4j-api:1.8.0-beta4" - modImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0" + modImplementation "ModMenu:ModMenu:2.0.0" + + implementation "org.slf4j:slf4j-api:1.8.0-beta4" + implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0" + + implementation 'com.google.guava:guava:30.0-jre' + implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.9' + + var log4jVersion = "2.20.0" + implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}") + implementation("org.apache.logging.log4j:log4j-api:${log4jVersion}") + implementation("org.apache.logging.log4j:log4j-1.2-api:${log4jVersion}") + implementation("log4j:apache-log4j-extras:1.2.17") } java { diff --git a/gradle.properties b/gradle.properties index f871822..02db2fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,13 +1,13 @@ org.gradle.jvmargs=-Xmx2G # BTA -bta_version=1.7.6.2_02 +bta_version=1.7.7.0 # Loader -loader_version=0.14.19-babric.1 +loader_version=0.14.19-babric.1-bta # HalpLibe -halplibe_version=1.1.4 +halplibe_version=2.1.0 # Mod mod_version=1.0.0