Skip to content

Commit 58bfd1e

Browse files
committed
Refactor build scripts and project config: update dependency resolution, adjust Kotlin version references, and consolidate repositories configuration.
1 parent b3cc92a commit 58bfd1e

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

kotest-allure/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
23

34
plugins {
45
kotlin("jvm") version "2.2.10"
56
id("io.qameta.allure") version "2.10.0"
67
}
78

8-
group = "com.example"
9+
group = "io.kotest.examples"
910
version = "0.0.1-SNAPSHOT"
1011

1112
java {
@@ -17,8 +18,8 @@ java {
1718
kotlin {
1819
compilerOptions {
1920
jvmTarget = JvmTarget.JVM_21
20-
languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_2
21-
apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_2
21+
languageVersion = KotlinVersion.KOTLIN_2_2
22+
apiVersion = KotlinVersion.KOTLIN_2_2
2223
}
2324
}
2425

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package com.sksamuel.kotest.example.allure
22

33
import io.kotest.core.config.AbstractProjectConfig
4+
import io.kotest.core.extensions.Extension
45
import io.kotest.extensions.allure.AllureTestReporter
56

67
class MyConfig : AbstractProjectConfig() {
7-
override fun listeners() = listOf(AllureTestReporter())
8+
override val extensions: List<Extension> = listOf(AllureTestReporter())
89
}

kotest-spring-webflux/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ plugins {
99

1010
apply(plugin = "io.spring.dependency-management")
1111

12-
repositories {
13-
mavenCentral()
14-
}
15-
1612
group = "io.kotest.examples"
1713
version = "0.0.1-SNAPSHOT"
1814

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
rootProject.name = "kotest-examples-spring-webflux"
2+
3+
dependencyResolutionManagement {
4+
repositories {
5+
mavenCentral()
6+
}
7+
}

0 commit comments

Comments
 (0)