11import org.apache.tools.ant.filters.ReplaceTokens
22
33buildscript {
4- ext. kotlin_version = ' 1.1.2'
4+ ext. kotlin_version = ' 1.1.3- 2'
55
66 repositories {
77 mavenCentral()
@@ -22,12 +22,12 @@ plugins {
2222apply plugin : ' kotlin'
2323
2424group = ' gg.obsidian'
25- version = ' 2 .0.0'
25+ version = ' 3 .0.0'
2626description = """ Bridge chat between Minecraft and Discord"""
2727ext. url = ' https://github.com/the-obsidian/DiscordBridge'
2828
2929repositories {
30- maven { url ' https://maven-central.storage.googleapis.com ' }
30+ mavenCentral()
3131 maven { url ' https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
3232 maven { url ' https://oss.sonatype.org/content/repositories/snapshots' }
3333 maven { url ' http://lutece.paris.fr/nexus/content/repositories/lutece_third_party' }
@@ -37,8 +37,8 @@ repositories {
3737}
3838
3939dependencies {
40- compile group : ' org.spigotmc' , name : ' spigot-api' , version : ' 1.11.2 -R0.1-SNAPSHOT'
41- compile group : ' org.jetbrains.kotlin' , name : ' kotlin-stdlib' , version : ' 1.0.0-rc-1036 '
40+ compile group : ' org.spigotmc' , name : ' spigot-api' , version : ' 1.12 -R0.1-SNAPSHOT'
41+ compile group : ' org.jetbrains.kotlin' , name : ' kotlin-stdlib' , version : ' 1.1.3-2 '
4242 compile group : ' net.dv8tion' , name : ' JDA' , version : ' 3.0.BETA2_108'
4343 compile group : ' com.michaelwflaherty' , name : ' cleverbotapi' , version : ' 1.0.1'
4444 compile group : ' org.pegdown' , name :' pegdown' , version : ' 1.6.0'
@@ -47,6 +47,15 @@ dependencies {
4747 compile files(' libraries/dynmap-api-2.5-SNAPSHOT.jar' )
4848}
4949
50+ compileKotlin {
51+ sourceCompatibility = JavaVersion . VERSION_1_8
52+ targetCompatibility = JavaVersion . VERSION_1_8
53+
54+ kotlinOptions {
55+ jvmTarget = " 1.8"
56+ }
57+ }
58+
5059processResources {
5160 filter ReplaceTokens , tokens : [
5261 ' DESCRIPTION' : project. property(' description' ),
0 commit comments