diff options
Diffstat (limited to 'build.gradle')
-rwxr-xr-x | build.gradle | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 4d134a80..d4aeae83 100755 --- a/build.gradle +++ b/build.gradle @@ -17,6 +17,11 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'com.github.johnrengelman.shadow' +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + /* // for people who want stable - not yet functional for MC 1.8.8 - we require the forgegradle 2.1 snapshot plugins { @@ -40,9 +45,14 @@ minecraft { // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } +repositories { + jcenter() + mavenCentral() +} dependencies { implementation 'org.jetbrains:annotations-java5:19.0.0' compile "org.java-websocket:Java-WebSocket:1.5.1" + compile 'com.jagrosh:DiscordIPC:0.4' // you may put jars on which you depend on in ./libs // or you may define them like so.. //compile "some.group:artifact:version:classifier" @@ -95,6 +105,10 @@ shadowJar { dependencies { include(dependency("org.java-websocket:Java-WebSocket:1.5.1")) include(dependency("org.slf4j:slf4j-api:1.7.25")) + include(dependency("com.jagrosh:DiscordIPC:0.4")) + include(dependency("org.json:json:20171018")) + include(dependency("com.kohlschutter.junixsocket:junixsocket-common:2.0.4")) + include(dependency("com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4")) } } |