spigot-tg-bridge/build.gradle

40 lines
1.0 KiB
Groovy
Raw Normal View History

2020-02-09 00:53:17 +00:00
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.60'
id 'com.github.johnrengelman.shadow' version '5.2.0'
2020-02-09 00:53:17 +00:00
}
group 'org.kraftwerk28'
version '1.0-SNAPSHOT'
rootProject.libsDirName =
"$System.env.HOME/MinecraftServers/spigot_1.15.2/plugins/"
2020-02-09 00:53:17 +00:00
sourceCompatibility = 1.8
targetCompatibility = 1.8
2020-02-09 00:53:17 +00:00
repositories {
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'
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"
}