1
1
import org.apache.tools.ant.filters.ReplaceTokens
2
2
3
3
buildscript {
4
- ext. kotlin_version = ' 1.0.5 -2'
4
+ ext. kotlin_version = ' 1.1.3 -2'
5
5
6
6
repositories {
7
7
mavenCentral()
@@ -23,13 +23,10 @@ plugins {
23
23
apply plugin : ' kotlin'
24
24
25
25
group = ' gg.obsidian'
26
- version = ' 1.1 .0'
26
+ version = ' 2.0 .0'
27
27
description = """ Use Discourse group as a whitelist"""
28
28
ext. url = ' https://github.com/the-obsidian/DiscourseBridge'
29
29
30
- sourceCompatibility = 1.8
31
- targetCompatibility = 1.8
32
-
33
30
repositories {
34
31
maven { url ' https://maven-central.storage.googleapis.com' }
35
32
maven { url ' https://hub.spigotmc.org/nexus/content/groups/public/' }
@@ -41,12 +38,20 @@ repositories {
41
38
}
42
39
43
40
dependencies {
44
- compile group : ' org.spigotmc' , name : ' spigot-api' , version :' 1.11-R0.1-SNAPSHOT'
45
- compile group : ' org.jetbrains.kotlin' , name : ' kotlin-stdlib' , version :' 1.0.0-rc-1036'
46
- compile group : ' net.dv8tion' , name : ' JDA' , version :' 1.3.0_188'
41
+ compile group : ' org.spigotmc' , name : ' spigot-api' , version :' 1.12-R0.1-SNAPSHOT'
42
+ compile group : ' org.jetbrains.kotlin' , name : ' kotlin-stdlib' , version :' 1.1.3-2'
47
43
compile group : ' com.squareup.okhttp3' , name : ' okhttp' , version : ' 3.2.0'
48
44
}
49
45
46
+ compileKotlin {
47
+ sourceCompatibility = JavaVersion . VERSION_1_8
48
+ targetCompatibility = JavaVersion . VERSION_1_8
49
+
50
+ kotlinOptions {
51
+ jvmTarget = " 1.8"
52
+ }
53
+ }
54
+
50
55
processResources {
51
56
filter ReplaceTokens , tokens : [
52
57
' DESCRIPTION' : project. property(' description' ),
0 commit comments