It's a plugin for a Spigot Minecraft server to log the time players spend on the server and returns it to them.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

56 lines
1.5 KiB

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("skipped", "failed")
// events("passed", "skipped", "failed")
}
}
dokka {
outputFormat = "html"
outputDirectory = "$buildDir/dokka"
}
}