Skip to content

Commit

Permalink
Enable develocity for all Gradle builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Aug 18, 2024
1 parent b2475bc commit 51216c1
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion generate-pages
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ run copyPdf cp -rp build/pdf build/microsite/output
run copyStandalone cp -rp build/html5/images build/microsite/output \
&& mkdir -p build/microsite/output/single-page/ \
&& cp -p build/html5/arc42/hsc_arc42.html build/microsite/output/single-page/hsc_arc42-single-page.html
run htmlSanityCheck "(cd self-check && ../gradlew htmlSanityCheck)"
run htmlSanityCheck "(cd self-check && ../gradlew htmlSanityCheck --scan)"
run copyCheckResult cp -rp build/reports/htmlchecks build/microsite/output
run fixDocLinks "sed -i .bak \
-e 's, href=\"${PWD}/build/microsite/output/, href=\"../,g' \
Expand Down
14 changes: 14 additions & 0 deletions integration-test/common/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
plugins {
// to report build results back to gradle.org
id 'com.gradle.develocity' version '3.17.6'
}

develocity {
buildScan {
termsOfUseUrl = 'https://gradle.com/terms-of-service'
termsOfUseAgree = 'yes'

publishing.onlyIf { System.getenv("GRADLE_BUILD_SCAN") == 'true' }
}
}

rootProject.name = 'hsc-integration-test-common'

/*
Expand Down
14 changes: 14 additions & 0 deletions integration-test/gradle-plugin/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ pluginManagement {
}
}

plugins {
// to report build results back to gradle.org
id 'com.gradle.develocity' version '3.17.6'
}

develocity {
buildScan {
termsOfUseUrl = 'https://gradle.com/terms-of-service'
termsOfUseAgree = 'yes'

publishing.onlyIf { System.getenv("GRADLE_BUILD_SCAN") == 'true' }
}
}

rootProject.name = 'hsc-integration-test-gradle-plugin'

/*
Expand Down
14 changes: 14 additions & 0 deletions integration-test/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
plugins {
// to report build results back to gradle.org
id 'com.gradle.develocity' version '3.17.6'
}

develocity {
buildScan {
termsOfUseUrl = 'https://gradle.com/terms-of-service'
termsOfUseAgree = 'yes'

publishing.onlyIf { System.getenv("GRADLE_BUILD_SCAN") == 'true' }
}
}

rootProject.name = 'hsc-integration-test'

/*
Expand Down
14 changes: 14 additions & 0 deletions self-check/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ pluginManagement {
}
}

plugins {
// to report build results back to gradle.org
id 'com.gradle.develocity' version '3.17.6'
}

develocity {
buildScan {
termsOfUseUrl = 'https://gradle.com/terms-of-service'
termsOfUseAgree = 'yes'

publishing.onlyIf { System.getenv("GRADLE_BUILD_SCAN") == 'true' }
}
}

rootProject.name = 'self-check'

/*
Expand Down

0 comments on commit 51216c1

Please sign in to comment.