33 lines
723 B
Kotlin
33 lines
723 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
group = rootProject.group
|
|
version = rootProject.version
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
val nettyVersion = properties["version.netty"].toString()
|
|
val junitVersion = properties["version.junit"].toString()
|
|
val striktVersion = properties["version.strikt"].toString()
|
|
|
|
dependencies {
|
|
api(project(":blokk-packets"))
|
|
|
|
// Netty
|
|
api("io.netty:netty-buffer:${nettyVersion}")
|
|
|
|
// Testing
|
|
testImplementation("io.strikt:strikt-core:${striktVersion}")
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
|
}
|
|
|
|
tasks {
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|