Skip to content

Commit

Permalink
Merge pull request #56 from the-obsidian/update-jda
Browse files Browse the repository at this point in the history
Update JDA to v3.3.1_286
  • Loading branch information
DiamondIceNS authored Oct 9, 2017
2 parents 1ca2e16 + 8d4a1d5 commit 135623f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.apache.tools.ant.filters.ReplaceTokens

buildscript {
ext.kotlin_version = '1.1.3-2'
ext.kotlin_version = '1.1.51'

repositories {
mavenCentral()
Expand All @@ -22,7 +22,7 @@ plugins {
apply plugin: 'kotlin'

group = 'gg.obsidian'
version = '3.0.0'
version = '3.0.1'
description = """Bridge chat between Minecraft and Discord"""
ext.url = 'https://github.com/the-obsidian/DiscordBridge'

Expand All @@ -39,9 +39,10 @@ repositories {
dependencies {
compile group: 'org.spigotmc', name: 'spigot-api', version: '1.12-R0.1-SNAPSHOT'
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '1.1.3-2'
compile group: 'net.dv8tion', name: 'JDA', version: '3.0.BETA2_108'
compile group: 'net.dv8tion', name: 'JDA', version: '3.3.1_286'
compile group: 'com.michaelwflaherty', name: 'cleverbotapi', version: '1.0.1'
compile group: 'org.pegdown', name:'pegdown', version: '1.6.0'
compile group: 'org.json', name: 'json', version: '20160810'

compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile files('libraries/dynmap-api-2.5-SNAPSHOT.jar')
Expand Down Expand Up @@ -69,6 +70,7 @@ build.finalizedBy(shadowJar)

shadowJar {
relocate 'org.apache', 'shadow.apache'
relocate 'org.json', 'shadow.json'
classifier 'dist'
dependencies {
//noinspection GroovyAssignabilityCheck
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ object Connection: Runnable {
JDA.removeEventListener(listener)
server = null
channel = null
JDA.shutdown(false)
JDA.shutdown()

//reconnect
connect()
Expand Down

0 comments on commit 135623f

Please sign in to comment.