commit 65b32b386aba704cccc185158e39fca147a433d3
parent b0b73cffa7db5d057e136894df41f68d97e961a9
Author: Amb0s <ambos@disroot.org>
Date: Thu, 25 Jun 2020 14:22:54 +0200
Added dependencies
Diffstat:
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/build.gradle b/build.gradle
@@ -1,18 +1,18 @@
buildscript {
- repositories {
- mavenCentral()
+ repositories {
+ mavenCentral()
jcenter()
- maven {
- name = "Fabric"
- url = "https://maven.fabricmc.net/"
- }
+ maven {
+ name = "Fabric"
+ url = "https://maven.fabricmc.net/"
+ }
maven {
name = "Jitpack"
url 'https://jitpack.io/'
}
}
dependencies {
- classpath 'com.github.Chocohead:Fabric-Loom:bbaa5d7'
+ classpath 'com.github.Chocohead:Fabric-Loom:bbaa5d7'
}
}
@@ -36,7 +36,7 @@ minecraft {
}
dependencies {
- // fabric loader requires log4j, guava, and gson
+ // fabric loader requires log4j, guava, and gson
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'
implementation 'com.google.guava:guava:28.0-jre'
@@ -50,15 +50,16 @@ dependencies {
implementation 'org.ow2.asm:asm-util:8.0'
// java mojang API
- implementation group: 'commons-codec', name: 'commons-codec', version: '1.14'
- implementation group: 'commons-logging', name: 'commons-logging', version: '1.2'
- implementation group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.4'
- implementation group: 'org.apache.httpcomponents', name: 'httpcore-nio', version: '4.4.13'
- implementation group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.13'
- implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.8'
- implementation group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9'
- implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
- implementation 'com.github.SparklingComet:java-mojang-api:-SNAPSHOT'
+ include group: 'commons-codec', name: 'commons-codec', version: '1.14'
+ include group: 'commons-logging', name: 'commons-logging', version: '1.2'
+ include group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.4'
+ include group: 'org.apache.httpcomponents', name: 'httpcore-nio', version: '4.4.13'
+ include group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.13'
+ include group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.8'
+ include group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9'
+ include group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
+ implementation 'com.github.SparklingComet:java-mojang-api:-SNAPSHOT'
+ include 'com.github.SparklingComet:java-mojang-api:-SNAPSHOT'
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"