|
|
@ -10,7 +10,7 @@ buildscript {
|
|
|
|
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
plugins {
|
|
|
|
id 'idea'
|
|
|
|
id 'idea'
|
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
|
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
|
|
|
|
id 'com.github.johnrengelman.shadow' version '2.0.4'
|
|
|
|
id 'com.github.johnrengelman.shadow' version '2.0.4'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -23,7 +23,7 @@ idea {
|
|
|
|
|
|
|
|
|
|
|
|
group "net.trivernis"
|
|
|
|
group "net.trivernis"
|
|
|
|
|
|
|
|
|
|
|
|
version "1.3.3"
|
|
|
|
version PLUGIN_VERSION
|
|
|
|
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
|
|
|
@ -46,19 +46,18 @@ repositories {
|
|
|
|
|
|
|
|
|
|
|
|
maven {
|
|
|
|
maven {
|
|
|
|
name 'mikeprimm'
|
|
|
|
name 'mikeprimm'
|
|
|
|
url 'http://repo.mikeprimm.com'
|
|
|
|
url 'https://repo.mikeprimm.com'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
dependencies {
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
|
|
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
|
|
|
|
|
|
compileOnly "com.destroystokyo.paper:paper-api:1.14.4-R0.1-SNAPSHOT"
|
|
|
|
compileOnly "com.destroystokyo.paper:paper-api:1.14.4-R0.1-SNAPSHOT"
|
|
|
|
compileOnly "org.dynmap:dynmap-api:2.0"
|
|
|
|
compileOnly "org.dynmap:dynmap-api:2.0"
|
|
|
|
compileOnly group: 'org.xerial', name: 'sqlite-jdbc', version: '3.28.0'
|
|
|
|
compileOnly group: 'org.xerial', name: 'sqlite-jdbc', version: '3.28.0'
|
|
|
|
compile "io.papermc:paperlib:1.0.2"
|
|
|
|
implementation "io.papermc:paperlib:1.0.6"
|
|
|
|
compile "org.bstats:bstats-bukkit:1.5"
|
|
|
|
implementation "org.bstats:bstats-bukkit:1.5"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
apply plugin: "com.github.johnrengelman.shadow"
|
|
|
|
apply plugin: "com.github.johnrengelman.shadow"
|
|
|
@ -69,8 +68,15 @@ shadowJar {
|
|
|
|
relocate 'org.bstats', 'net.trivernis.chunkmaster.bstats'
|
|
|
|
relocate 'org.bstats', 'net.trivernis.chunkmaster.bstats'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
jar {
|
|
|
|
processResources {
|
|
|
|
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
|
|
|
|
|
|
|
with copySpec {
|
|
|
|
|
|
|
|
from 'src/main/resources/'
|
|
|
|
|
|
|
|
include '**/*'
|
|
|
|
|
|
|
|
filter { String line ->
|
|
|
|
|
|
|
|
line.replace('$$PLUGIN_VERSION$$', PLUGIN_VERSION)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
compileKotlin {
|
|
|
@ -83,4 +89,7 @@ compileTestKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
compileOnly group: 'junit', name: 'junit', version: '4.12'
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|