diff --git a/README.md b/README.md index 7388a6c..458611c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Uses a Discourse group as the whitelist for a Spigot server. ## Requirements * Java 8 +* Spigot 1.12 ## Installation diff --git a/build.gradle b/build.gradle index ce26f62..2904166 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ import org.apache.tools.ant.filters.ReplaceTokens buildscript { - ext.kotlin_version = '1.0.5-2' + ext.kotlin_version = '1.1.3-2' repositories { mavenCentral() @@ -23,13 +23,10 @@ plugins { apply plugin: 'kotlin' group = 'gg.obsidian' -version = '1.1.0' +version = '2.0.0' description = """Use Discourse group as a whitelist""" ext.url = 'https://github.com/the-obsidian/DiscourseBridge' -sourceCompatibility = 1.8 -targetCompatibility = 1.8 - repositories { maven { url 'https://maven-central.storage.googleapis.com' } maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' } @@ -41,12 +38,20 @@ repositories { } dependencies { - compile group: 'org.spigotmc', name: 'spigot-api', version:'1.11-R0.1-SNAPSHOT' - compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version:'1.0.0-rc-1036' - compile group: 'net.dv8tion', name: 'JDA', version:'1.3.0_188' + 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: 'com.squareup.okhttp3', name: 'okhttp', version: '3.2.0' } +compileKotlin { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + + kotlinOptions { + jvmTarget = "1.8" + } +} + processResources { filter ReplaceTokens, tokens: [ 'DESCRIPTION': project.property('description'),