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}"