mirror of
https://gitlab.com/hamburghammer/playtime.git
synced 2024-05-03 01:45:26 +02:00
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
plugins {
|
|
kotlin("jvm") version "1.3.61"
|
|
id("org.jlleitschuh.gradle.ktlint") version "9.0.0"
|
|
id("com.github.johnrengelman.shadow") version "5.2.0"
|
|
id("org.jetbrains.dokka") version "0.10.0"
|
|
}
|
|
|
|
group = "de.augustodwenger"
|
|
version = "0.2.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
|
}
|
|
maven {
|
|
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
|
|
}
|
|
maven {
|
|
url = uri("https://dl.bintray.com/kotlin/dokka")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(kotlin("stdlib"))
|
|
implementation(kotlin("reflect"))
|
|
implementation("org.slf4j:slf4j-api:1.7.29")
|
|
implementation("io.github.microutils:kotlin-logging:1.7.8")
|
|
implementation("ch.qos.logback:logback-classic:1.2.3")
|
|
implementation("ch.qos.logback:logback-core:1.2.3")
|
|
compile("org.spigotmc:spigot-api:1.15.1-R0.1-SNAPSHOT")
|
|
testImplementation(kotlin("test"))
|
|
testImplementation(kotlin("test-junit5"))
|
|
testImplementation("io.mockk:mockk:1.9.3")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.5.2")
|
|
}
|
|
|
|
tasks {
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events("passed", "skipped", "failed")
|
|
}
|
|
}
|
|
dokka {
|
|
outputFormat = "html"
|
|
outputDirectory = "$buildDir/dokka"
|
|
}
|
|
}
|