11/*
2- * Copyright (c) 2024 XPATH-QS
2+ * Copyright (c) 2025 XPATH-QS
33 *
44 * Permission is hereby granted, free of charge, to any person obtaining a copy
55 * of this software and associated documentation files (the "Software"), to deal
2020 * SOFTWARE.
2121 */
2222
23- import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2423import org.gradle.api.tasks.testing.logging.TestLogEvent
2524
2625version = " 0.1.6"
2726group = " org.xpathqs"
2827val kotestVersion = " 5.8.0"
2928
3029plugins {
31- kotlin( " jvm" ) version " 2.0.0-Beta4 "
30+ id( " org.jetbrains.kotlin. jvm" ) version " 2.3.0 "
3231 id(" org.jetbrains.dokka" ) version " 1.4.32"
3332 `java- library`
3433 jacoco
3534 `maven- publish`
3635 signing
3736 id(" io.codearte.nexus-staging" ) version " 0.30.0"
38- id(" io.gitlab.arturbosch.detekt" ).version(" 1.23.5 " )
39- id(" info.solidsoft.pitest" ).version(" 1.9.0 " )
40- id(" org.jetbrains.kotlinx.kover" ) version " 0.6.1 "
37+ id(" io.gitlab.arturbosch.detekt" ).version(" 1.23.8 " )
38+ id(" info.solidsoft.pitest" ).version(" 1.19.0-rc.2 " )
39+ id(" org.jetbrains.kotlinx.kover" ) version " 0.9.4 "
4140}
4241
4342java {
4443 withJavadocJar()
4544 withSourcesJar()
46- sourceCompatibility = JavaVersion .VERSION_11
47- targetCompatibility = JavaVersion .VERSION_11
45+ sourceCompatibility = JavaVersion .VERSION_17
46+ targetCompatibility = JavaVersion .VERSION_17
4847}
4948
5049jacoco {
@@ -57,13 +56,15 @@ repositories {
5756}
5857
5958detekt {
60- config = files(" $projectDir /detekt.yml" ) // point to your custom config defining rules to run, overwriting default behavior
59+ config.from(
60+ files(" $projectDir /detekt.yml" )
61+ )
6162}
6263
6364dependencies {
6465 implementation(" io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0" )
65- implementation(" org.jetbrains.kotlin:kotlin-reflect:2.0.0-Beta4 " )
66- implementation(" org.yaml:snakeyaml:1.28 " )
66+ implementation(" org.jetbrains.kotlin:kotlin-reflect:2.3.0 " )
67+ implementation(" org.yaml:snakeyaml:2.0 " )
6768 implementation(" net.oneandone.reflections8:reflections8:0.11.7" )
6869
6970 testImplementation(" org.xpathqs:gwt:0.2.5" )
@@ -142,8 +143,9 @@ tasks.test {
142143 }
143144}
144145
145- tasks.withType<KotlinCompile > {
146- kotlinOptions.jvmTarget = " 11"
146+
147+ kotlin {
148+ jvmToolchain(17 )
147149}
148150
149151tasks.jar {
0 commit comments