From 8e1ec59127af0522241447d1beec521fffc63f3f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:08:51 +0000 Subject: [PATCH] Update dependency androidx.lint:lint-gradle to v1.0.0-alpha02 (#356) * Update dependency androidx.lint:lint-gradle to v1.0.0-alpha02 * Fix offences --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jake Wharton --- gradle/libs.versions.toml | 2 +- src/main/kotlin/app/cash/licensee/plugin.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 582678d4..364a6aac 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -14,7 +14,7 @@ kotlinx-serialization = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.2" maven-modelBuilder = "org.apache.maven:maven-model-builder:3.9.9" -androidx-gradlePluginLints = "androidx.lint:lint-gradle:1.0.0-alpha01" +androidx-gradlePluginLints = "androidx.lint:lint-gradle:1.0.0-alpha02" # Dummy to get renovate updates, the version is used in rootProject build.gradle with spotless. ktlint = "com.pinterest.ktlint:ktlint-cli:1.3.1" diff --git a/src/main/kotlin/app/cash/licensee/plugin.kt b/src/main/kotlin/app/cash/licensee/plugin.kt index a7e18072..f572afae 100644 --- a/src/main/kotlin/app/cash/licensee/plugin.kt +++ b/src/main/kotlin/app/cash/licensee/plugin.kt @@ -88,7 +88,7 @@ class LicenseePlugin : Plugin { project.afterEvaluate { require(BASE_TASK_NAME in project.tasks.names) { - val name = if (project === project.rootProject) { + val name = if (project.path == ":") { "root project" } else { "project ${project.path}"