Skip to content

Commit

Permalink
🔨 Update Gradle plugin and build scan configuration
Browse files Browse the repository at this point in the history
Refactor plugins from gradle-enterprise to develocity and update build scan terms.
CXwudi committed Jun 21, 2024
1 parent bdc96a5 commit e860805
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ bom-coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1"
pplugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
pplugin-kotlin-allopen = { module = "org.jetbrains.kotlin:kotlin-allopen", version.ref = "kotlin" }
pplugin-spring-boot = { module = "org.springframework.boot:spring-boot-gradle-plugin", version.ref = "springBoot" }
splugin-gradle-enterprise = "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.17.5"
splugin-gradle-enterprise = "com.gradle.develocity:com.gradle.develocity.gradle.plugin:3.17.5"
splugin-foojay-resolver = "org.gradle.toolchains:foojay-resolver:0.8.0"

# dependencies, naming convention: dep-<name>
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@
* where versions are managed by the grade/platform through version catalogs.
*/
plugins {
id("com.gradle.enterprise")
id("com.gradle.develocity")
id("org.gradle.toolchains.foojay-resolver-convention")
}
6 changes: 3 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -28,10 +28,10 @@ plugins {
id("my.root-settings-plugins")
}

gradleEnterprise {
develocity {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
termsOfUseAgree = "yes"
}
}

6 changes: 3 additions & 3 deletions yc-apiclient-youtrack/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@ dependencies {
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + listOf("-Xjvm-default=all")
kotlin {
compilerOptions {
freeCompilerArgs = freeCompilerArgs.get() + "-Xjvm-default=all"
}
}

0 comments on commit e860805

Please sign in to comment.