29 lines
653 B
Groovy
29 lines
653 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.jetbrains.kotlin.jvm' version '1.4.31'
|
|
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
|
}
|
|
|
|
group = 'org.hydev.kt'
|
|
version = '1.1-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
// Spigot
|
|
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT' // The Spigot API with no shadowing. Requires the OSS repo.
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = '1.8'
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = '1.8'
|
|
}
|