Skip to content

Commit

Permalink
Migrate to Develocity gradle plugin
Browse files Browse the repository at this point in the history
Replaced Gradle Enterprise plugin with the renamed Develocity plugin and upgraded to version 3.19. Adjusted configuration syntax for terms of use and conditional publishing to match the updated plugin requirements
  • Loading branch information
sadv1r authored Dec 14, 2024
1 parent ebfb739 commit 2ed0a68
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
plugins {
// https://docs.gradle.com/enterprise/get-started/#applying_the_plugin
id "com.gradle.enterprise" version "3.16.2"
// https://docs.gradle.com/develocity/gradle-plugin/current/#applying_the_plugin
id "com.gradle.develocity" version "3.19"
}

// https://docs.gradle.com/enterprise/gradle-plugin/#connecting_to_scans_gradle_com
gradleEnterprise {
if (System.getenv("CI") != null) {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
// https://docs.gradle.com/develocity/gradle-plugin/current/#connecting_to_scans_gradle_com
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
termsOfUseAgree = "yes"
publishing.onlyIf { System.getenv("CI") != null }
}
}

rootProject.name = 'ansible-vault-editor-idea-plugin'
rootProject.name = "ansible-vault-editor-idea-plugin"

0 comments on commit 2ed0a68

Please sign in to comment.