diff --git a/build.gradle.kts b/build.gradle.kts index 33a699e..150a60b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,7 +38,7 @@ ktlint { version = "1.4.0" } -tasks.withType { +tasks.withType().configureEach { useJUnitPlatform() testLogging { events("passed", "failed", "skipped") @@ -71,7 +71,8 @@ gradlePlugin { // Prints project version. // Usage: ./gradlew version --quiet tasks.register("version") { + val version = project.version doLast { - println(project.version) + println(version) } } diff --git a/gradle.properties b/gradle.properties index 27c008a..e690862 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1,2 @@ version=2.2.1 +org.gradle.configuration-cache=true diff --git a/settings.gradle.kts b/settings.gradle.kts index 5937aae..ce45f71 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,16 +1,17 @@ plugins { - id("com.gradle.enterprise").version("3.12.2") + id("com.gradle.develocity") version ("3.18.2") } rootProject.name = "integration-test-plugin" -gradleEnterprise { +develocity { buildScan { - termsOfServiceUrl = "https://gradle.com/terms-of-service" - termsOfServiceAgree = "yes" + termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use" + termsOfUseAgree = "yes" + publishing.onlyIf { false } if (!System.getenv("CI").isNullOrEmpty()) { - publishAlways() + publishing.onlyIf { true } tag("CI") } }