2020-02-09 00:53:17 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.3.60'
|
2020-02-10 12:04:06 +00:00
|
|
|
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
2020-02-09 00:53:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.kraftwerk28'
|
|
|
|
version '1.0-SNAPSHOT'
|
2020-02-10 12:04:06 +00:00
|
|
|
rootProject.libsDirName =
|
|
|
|
"$System.env.HOME/MinecraftServers/spigot_1.15.2/plugins/"
|
2020-02-09 00:53:17 +00:00
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
2020-02-10 12:04:06 +00:00
|
|
|
targetCompatibility = 1.8
|
2020-02-09 00:53:17 +00:00
|
|
|
|
|
|
|
repositories {
|
2020-02-10 12:04:06 +00:00
|
|
|
maven {
|
|
|
|
url "https://hub.spigotmc.org/nexus/content/repositories/snapshots"
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
2020-02-09 00:53:17 +00:00
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
|
|
compileOnly "org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT"
|
|
|
|
compile group: 'org.telegram', name: 'telegrambots', version: '4.6'
|
|
|
|
compile group: 'org.yaml', name: 'snakeyaml', version: '1.25'
|
2020-02-09 17:18:51 +00:00
|
|
|
compile 'com.vdurmont:emoji-java:5.1.1'
|
2020-02-09 00:53:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
compileTestKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|