Skip to content

Commit 6e8023f

Browse files
Merge pull request #1 from the-obsidian/mc-1.12
Update for Spigot 1.12
2 parents d02d795 + a14ad8a commit 6e8023f

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Uses a Discourse group as the whitelist for a Spigot server.
55
## Requirements
66

77
* Java 8
8+
* Spigot 1.12
89

910
## Installation
1011

build.gradle

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import org.apache.tools.ant.filters.ReplaceTokens
22

33
buildscript {
4-
ext.kotlin_version = '1.0.5-2'
4+
ext.kotlin_version = '1.1.3-2'
55

66
repositories {
77
mavenCentral()
@@ -23,13 +23,10 @@ plugins {
2323
apply plugin: 'kotlin'
2424

2525
group = 'gg.obsidian'
26-
version = '1.1.0'
26+
version = '2.0.0'
2727
description = """Use Discourse group as a whitelist"""
2828
ext.url = 'https://github.com/the-obsidian/DiscourseBridge'
2929

30-
sourceCompatibility = 1.8
31-
targetCompatibility = 1.8
32-
3330
repositories {
3431
maven { url 'https://maven-central.storage.googleapis.com' }
3532
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
@@ -41,12 +38,20 @@ repositories {
4138
}
4239

4340
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'
4743
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.2.0'
4844
}
4945

46+
compileKotlin {
47+
sourceCompatibility = JavaVersion.VERSION_1_8
48+
targetCompatibility = JavaVersion.VERSION_1_8
49+
50+
kotlinOptions {
51+
jvmTarget = "1.8"
52+
}
53+
}
54+
5055
processResources {
5156
filter ReplaceTokens, tokens: [
5257
'DESCRIPTION': project.property('description'),

0 commit comments

Comments
 (0)