lm-sistemi-software-distrib.../build.gradle.kts
2020-03-19 19:47:14 +01:00

37 lines
674 B
Plaintext

buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral()
jcenter()
}
plugins {
java
kotlin("jvm") version "1.3.61"
id("io.gitlab.arturbosch.detekt") version "1.7.0-beta2"
}
group = "it.norangeb.unisannio"
dependencies {
implementation(kotlin("stdlib-jdk8"))
testCompile("junit", "junit", "4.12")
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.7.0-beta2")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}