1
1
import org.apache.tools.ant.filters.ReplaceTokens
2
2
3
3
buildscript {
4
- ext. kotlin_version = ' 1.1.2'
4
+ ext. kotlin_version = ' 1.1.3- 2'
5
5
6
6
repositories {
7
7
mavenCentral()
@@ -22,12 +22,12 @@ plugins {
22
22
apply plugin : ' kotlin'
23
23
24
24
group = ' gg.obsidian'
25
- version = ' 2 .0.0'
25
+ version = ' 3 .0.0'
26
26
description = """ Bridge chat between Minecraft and Discord"""
27
27
ext. url = ' https://github.com/the-obsidian/DiscordBridge'
28
28
29
29
repositories {
30
- maven { url ' https://maven-central.storage.googleapis.com ' }
30
+ mavenCentral()
31
31
maven { url ' https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
32
32
maven { url ' https://oss.sonatype.org/content/repositories/snapshots' }
33
33
maven { url ' http://lutece.paris.fr/nexus/content/repositories/lutece_third_party' }
@@ -37,8 +37,8 @@ repositories {
37
37
}
38
38
39
39
dependencies {
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 '
42
42
compile group : ' net.dv8tion' , name : ' JDA' , version : ' 3.0.BETA2_108'
43
43
compile group : ' com.michaelwflaherty' , name : ' cleverbotapi' , version : ' 1.0.1'
44
44
compile group : ' org.pegdown' , name :' pegdown' , version : ' 1.6.0'
@@ -47,6 +47,15 @@ dependencies {
47
47
compile files(' libraries/dynmap-api-2.5-SNAPSHOT.jar' )
48
48
}
49
49
50
+ compileKotlin {
51
+ sourceCompatibility = JavaVersion . VERSION_1_8
52
+ targetCompatibility = JavaVersion . VERSION_1_8
53
+
54
+ kotlinOptions {
55
+ jvmTarget = " 1.8"
56
+ }
57
+ }
58
+
50
59
processResources {
51
60
filter ReplaceTokens , tokens : [
52
61
' DESCRIPTION' : project. property(' description' ),
0 commit comments