30 lines
984 B
Groovy
30 lines
984 B
Groovy
import com.gradle.scan.plugin.PublishedBuildScan
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
// # Gradle looks for dependency artifacts in repositories listed in 'repositories' blocks in descending order.
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
// Configure the gradle enterprise plugin to enable build scans. Enabling the plugin at the top of the settings file allows the build scan to record
|
|
// as much information as possible.
|
|
plugins {
|
|
id "com.gradle.enterprise" version "3.15.1"
|
|
}
|
|
|
|
ext.isCiServer = System.getenv().containsKey("CI")
|
|
|
|
gradleEnterprise {
|
|
buildScan {
|
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
|
termsOfServiceAgree = "yes"
|
|
uploadInBackground = !isCiServer // Disable in CI or scan URLs may not work.
|
|
buildScanPublished { PublishedBuildScan scan ->
|
|
file("scan-journal.log") << "${new Date()} - ${scan.buildScanId} - ${scan.buildScanUri}\n"
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = 'airbyte-cdk-python'
|