Skip to content

Commit

Permalink
Update gradle config
Browse files Browse the repository at this point in the history
  • Loading branch information
pmendelski committed Dec 7, 2024
1 parent f877f21 commit 913c667
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ktlint {
version = "1.4.0"
}

tasks.withType<Test> {
tasks.withType<Test>().configureEach {
useJUnitPlatform()
testLogging {
events("passed", "failed", "skipped")
Expand Down Expand Up @@ -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)
}
}
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
version=2.2.1
org.gradle.configuration-cache=true
11 changes: 6 additions & 5 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -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")
}
}
Expand Down

0 comments on commit 913c667

Please sign in to comment.