Skip to content

Commit

Permalink
Update dependency com.gradle:gradle-enterprise-gradle-plugin to v3.17 (
Browse files Browse the repository at this point in the history
…#299)

* Update dependency com.gradle:gradle-enterprise-gradle-plugin to v3.17

* replace deprecated code

* ktlint

* add useSerialization for kotlinx.serialization

* use new coordinates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Ittner <gabriel.ittner@gmail.com>
  • Loading branch information
renovate[bot] and gabrielittner committed Apr 4, 2024
1 parent 104c710 commit b68f8c0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
{
matchPackageNames: [
"com.gradle:gradle-enterprise-gradle-plugin"
"com.gradle:develocity-gradle-plugin"
],
registryUrls: ["https://plugins.gradle.org/m2/"],
prBodyNotes: "[Changelog](https://plugins.gradle.org/plugin/com.gradle.enterprise)"
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ paparazzi = "1.3.3-fl04"
licensee = "1.11.0"
crashlytics-gradle = "2.9.8"
dependency-analysis = "1.30.0"
gradle-enterprise = "3.16.2"
develocity = "3.17"
gradle-toolchain = "0.8.0"
publish = "0.28.0"
dokka = "1.9.20"
Expand Down Expand Up @@ -49,7 +49,7 @@ crashlytics = { module = "com.google.firebase:firebase-crashlytics-gradle", vers

dependency-analysis = { module = "com.autonomousapps:dependency-analysis-gradle-plugin", version.ref = "dependency-analysis" }

gradle-enterprise = { module = "com.gradle:gradle-enterprise-gradle-plugin", version.ref = "gradle-enterprise" }
develocity = { module = "com.gradle:develocity-gradle-plugin", version.ref = "develocity" }
gradle-toolchain = { module = "org.gradle.toolchains:foojay-resolver", version.ref = "gradle-toolchain" }

publish = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "publish"}
Expand Down
2 changes: 1 addition & 1 deletion plugin-settings/plugin-settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

dependencies {
implementation(libs.gradle.enterprise)
implementation(libs.develocity)
implementation(libs.gradle.toolchain)
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.freeletics.gradle.plugin

import com.gradle.enterprise.gradleplugin.GradleEnterpriseExtension
import com.gradle.enterprise.gradleplugin.GradleEnterprisePlugin
import com.gradle.develocity.agent.gradle.DevelocityConfiguration
import com.gradle.develocity.agent.gradle.DevelocityPlugin
import org.gradle.api.Plugin
import org.gradle.api.credentials.PasswordCredentials
import org.gradle.api.initialization.Settings
Expand All @@ -15,14 +15,14 @@ public abstract class SettingsPlugin : Plugin<Settings> {

override fun apply(target: Settings) {
target.plugins.apply(FoojayToolchainsPlugin::class.java)
target.plugins.apply(GradleEnterprisePlugin::class.java)
target.plugins.apply(DevelocityPlugin::class.java)

val extension = target.extensions.create("freeletics", SettingsExtension::class.java, target)

target.extensions.configure(GradleEnterpriseExtension::class.java) {
target.extensions.configure(DevelocityConfiguration::class.java) {
it.buildScan { scan ->
scan.termsOfServiceUrl = "https://gradle.com/terms-of-service"
scan.termsOfServiceAgree = "yes"
scan.termsOfUseUrl.set("https://gradle.com/terms-of-service")
scan.termsOfUseAgree.set("yes")
}
}

Expand Down

0 comments on commit b68f8c0

Please sign in to comment.