33
44import com.adarshr.gradle.testlogger.theme.ThemeType
55import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
6- import kotlinx.kover.gradle.plugin.dsl.AggregationType
7- import kotlinx.kover.gradle.plugin.dsl.GroupingEntityType
8- import kotlinx.kover.gradle.plugin.dsl.MetricType
96import org.jetbrains.kotlin.gradle.dsl.JvmTarget
107import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
118
129@Suppress(" DSL_SCOPE_VIOLATION" )
1310plugins {
14- kotlin(" jvm" ) version " 1.8.21 "
11+ kotlin(" jvm" ) version " 1.8.22 "
1512 `java- library`
1613 `java- test- fixtures`
1714 signing
@@ -29,18 +26,19 @@ repositories {
2926}
3027
3128group = " org.erwinkok.result"
32- version = " 1.2 .0"
29+ version = " 1.3 .0"
3330
3431java {
3532 withSourcesJar()
3633 withJavadocJar()
3734}
3835
3936dependencies {
40- implementation(platform(" org.jetbrains. kotlin:kotlin- bom" ))
41- implementation(" org.jetbrains. kotlin:kotlin- stdlib-jdk8 " )
37+ implementation(platform(kotlin( " bom" ) ))
38+ implementation(kotlin( " stdlib" ) )
4239
4340 implementation(libs.kotlin.logging)
41+ implementation(libs.slf4j.api)
4442
4543 testImplementation(libs.kotlinx.coroutines.test)
4644 testImplementation(libs.junit.jupiter.api)
@@ -87,20 +85,22 @@ fun isNonStable(version: String): Boolean {
8785}
8886
8987koverReport {
90- html {
91- onCheck = true
92- }
88+ defaults {
89+ html {
90+ onCheck = true
91+ }
9392
94- verify {
95- onCheck = true
96- rule {
97- isEnabled = true
98- entity = kotlinx.kover.gradle.plugin.dsl.GroupingEntityType .APPLICATION
99- bound {
100- minValue = 0
101- maxValue = 99
102- metric = kotlinx.kover.gradle.plugin.dsl.MetricType .LINE
103- aggregation = kotlinx.kover.gradle.plugin.dsl.AggregationType .COVERED_PERCENTAGE
93+ verify {
94+ onCheck = true
95+ rule {
96+ isEnabled = true
97+ entity = kotlinx.kover.gradle.plugin.dsl.GroupingEntityType .APPLICATION
98+ bound {
99+ minValue = 0
100+ maxValue = 99
101+ metric = kotlinx.kover.gradle.plugin.dsl.MetricType .LINE
102+ aggregation = kotlinx.kover.gradle.plugin.dsl.AggregationType .COVERED_PERCENTAGE
103+ }
104104 }
105105 }
106106 }
@@ -123,8 +123,11 @@ publishing {
123123 }
124124 developers {
125125 developer {
126+ id.set(" erwin-kok" )
126127 name.set(" Erwin Kok" )
128+ email.set(" github@erwinkok.org" )
127129 url.set(" https://github.com/erwin-kok/" )
130+ roles.set(listOf (" owner" , " developer" ))
128131 }
129132 }
130133 scm {
0 commit comments