Skip to content

Instantly share code, notes, and snippets.

@Tyluur
Last active January 14, 2021 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tyluur/1820100ed3d8597a4b23e72dea95fc7c to your computer and use it in GitHub Desktop.
Save Tyluur/1820100ed3d8597a4b23e72dea95fc7c to your computer and use it in GitHub Desktop.
plugins {
application
kotlin("jvm") version "1.4.20"
}
val junitVersion = "5.6.2"
allprojects {
apply(plugin = "kotlin")
apply(plugin = "idea")
apply(plugin = "org.jetbrains.kotlin.jvm")
group = "dusk-rs"
version = "0.0.1"
java.sourceCompatibility = JavaVersion.VERSION_15
repositories {
mavenCentral()
mavenLocal()
jcenter()
maven(url = "https://repo.maven.apache.org/maven2")
maven(url = "https://jitpack.io")
}
}
subprojects {
dependencies {
// Jvm
implementation(kotlin("stdlib"))
// Kotlin
implementation(kotlin("reflect"))
implementation(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version = "1.4.2")
// Network
implementation("io.netty:netty-all:4.1.44.Final")
// Logging
implementation("org.slf4j:slf4j-api:1.7.30")
implementation("ch.qos.logback:logback-classic:1.2.3")
// Testing
testImplementation("org.junit.jupiter:junit-jupiter-params:$junitVersion")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment