[+] Add project configuration files

This commit is contained in:
Hykilpikonna
2021-03-07 16:51:54 -05:00
parent 998c63a233
commit 7b6dd6fb5e
5 changed files with 308 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
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.0-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.12.2-R0.1-SNAPSHOT' // The Spigot API with no shadowing. Requires the OSS repo.
}
compileKotlin {
kotlinOptions.jvmTarget = '11'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '11'
}