Skip to content

Commit

Permalink
Migrate to Develocity plugin ID and DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Apr 9, 2024
1 parent 64ee2df commit ef0bb1b
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
import com.gradle.enterprise.gradleplugin.internal.extension.BuildScanExtensionWithHiddenFeatures

plugins {
id("com.gradle.enterprise") version "3.17"
id("com.gradle.develocity") version "3.17"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0"
}

rootProject.name = "testng-engine"

gradleEnterprise {
develocity {
buildScan {
val isCiServer = System.getenv("CI") != null

server = "https://ge.junit.org"
isUploadInBackground = !isCiServer

capture {
isTaskInputFiles = true
}
uploadInBackground = !isCiServer

obfuscation {
if (isCiServer) {
Expand All @@ -27,7 +21,6 @@ gradleEnterprise {
}
}

this as BuildScanExtensionWithHiddenFeatures
publishIfAuthenticated()
publishing.onlyIf { it.isAuthenticated }
}
}

0 comments on commit ef0bb1b

Please sign in to comment.