Updated dependencies and copyright.
This commit is contained in:
parent
dafbaaff0f
commit
aef7d1fa6a
39 changed files with 1091 additions and 780 deletions
|
@ -3,16 +3,16 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
|||
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
||||
|
||||
plugins {
|
||||
id("com.github.ben-manes.versions") version "0.39.0"
|
||||
id("com.gradle.plugin-publish") version "0.15.0"
|
||||
id("io.gitlab.arturbosch.detekt") version "1.18.0-RC1"
|
||||
id("jacoco")
|
||||
id("java")
|
||||
id("com.github.ben-manes.versions") version "0.40.0"
|
||||
id("com.gradle.plugin-publish") version "0.19.0"
|
||||
id("io.gitlab.arturbosch.detekt") version "1.19.0"
|
||||
id("java-gradle-plugin")
|
||||
id("java")
|
||||
id("maven-publish")
|
||||
id("org.gradle.kotlin.kotlin-dsl") version "2.1.4"
|
||||
id("org.gradle.kotlin.kotlin-dsl") version "2.1.7"
|
||||
id("org.jetbrains.kotlinx.kover") version "0.4.4"
|
||||
id("org.sonarqube") version "3.3"
|
||||
kotlin("jvm") version "1.4.31" // Don't upgrade until kotlin-dsl plugin is upgraded.
|
||||
// kotlin("jvm") version "1.4.31"
|
||||
}
|
||||
|
||||
version = "1.0.5"
|
||||
|
@ -38,10 +38,16 @@ dependencies {
|
|||
testImplementation(kotlin("test-junit"))
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
|
||||
tasks {
|
||||
withType<KotlinCompile> {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
jvmTarget = java.targetCompatibility.toString()
|
||||
// Gradle 4.6
|
||||
apiVersion = "1.2"
|
||||
}
|
||||
|
@ -54,20 +60,8 @@ tasks {
|
|||
}
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = "0.8.7"
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
dependsOn(test)
|
||||
reports {
|
||||
html.required.set(true)
|
||||
xml.required.set(true)
|
||||
}
|
||||
}
|
||||
|
||||
"sonarqube" {
|
||||
dependsOn(jacocoTestReport)
|
||||
dependsOn(koverReport)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -83,6 +77,7 @@ sonarqube {
|
|||
property("sonar.organization", "ethauvin-github")
|
||||
property("sonar.host.url", "https://sonarcloud.io")
|
||||
property("sonar.sourceEncoding", "UTF-8")
|
||||
property("sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/kover/report.xml")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue