37 lines
815 B
Kotlin
37 lines
815 B
Kotlin
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("com.github.johnrengelman.shadow") version "6.0.0"
|
|
}
|
|
|
|
group = rootProject.group
|
|
version = rootProject.version
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":blokk-api"))
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
implementation("io.netty:netty-all:4.1.50.Final")
|
|
implementation("org.slf4j:slf4j-api:1.7.30")
|
|
implementation("ch.qos.logback:logback-classic:1.2.3")
|
|
testImplementation(kotlin("test-junit5"))
|
|
}
|
|
|
|
tasks {
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set(null as String?)
|
|
|
|
manifest {
|
|
this.attributes("Main-Class" to "space.blokk.BlokkServer")
|
|
this.attributes("Implementation-Version" to project.version)
|
|
}
|
|
}
|
|
}
|