lm-tecniche-di-programmazione/build.gradle.kts

41 lines
877 B
Plaintext
Raw Permalink Normal View History

2019-03-10 16:43:08 +00:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version Config.Versions.kotlin
jacoco
2019-03-10 16:43:08 +00:00
}
group = "norangebit"
version = "0.0.1"
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
2019-03-22 16:39:08 +00:00
implementation(Config.Libs.arrowCore)
implementation(Config.Libs.koin)
implementation(Config.Libs.gson)
2019-03-22 16:39:08 +00:00
testImplementation(Config.Libs.junit)
testImplementation(Config.Libs.kluent)
testImplementation(Config.Libs.mockk)
2019-04-30 17:55:04 +00:00
testImplementation(Config.Libs.jetbrainJunit)
testImplementation(Config.Libs.spekDsl)
2019-03-10 16:43:08 +00:00
testRuntimeOnly(Config.Libs.junitEngine)
testRuntimeOnly(Config.Libs.spekRunner)
2019-03-10 16:43:08 +00:00
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
2019-03-22 16:39:08 +00:00
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
tasks.register("ktlint", Ktlint::class)