37 lines
674 B
Plaintext
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"
|
||
|
}
|
||
|
}
|