TerraOceanPlugin/KotlinPlugin/build.gradle.kts

34 lines
870 B
Plaintext

2019-10-05 09:54:42 +07:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2019-10-05 09:54:42 +07:00
plugins {
kotlin("jvm") version "1.3.50"
id("com.github.johnrengelman.shadow") version "5.1.0"
2019-10-05 09:54:42 +07:00
}
group = "com.terraocean"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://jitpack.io")
2019-10-05 09:54:42 +07:00
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("com.squareup.okhttp3:okhttp:4.2.1")
2019-10-05 09:54:42 +07:00
compileOnly("org.spigotmc:spigot-api:1.14.4-R0.1-SNAPSHOT")
implementation("com.github.hazae41:mc-kutils:3.3.2")
2019-10-05 09:54:42 +07:00
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.withType<ShadowJar> {
archiveBaseName.set("TerraOcean")
2019-10-05 09:54:42 +07:00
}