diff --git a/app-nia-catalog/build.gradle.kts b/app-nia-catalog/build.gradle.kts index 94d55b81cf..84e6db6a81 100644 --- a/app-nia-catalog/build.gradle.kts +++ b/app-nia-catalog/build.gradle.kts @@ -33,7 +33,7 @@ import com.google.samples.apps.nowinandroid.NiaFlavor */ plugins { alias(libs.plugins.nowinandroid.android.application) - alias(libs.plugins.nowinandroid.android.application.compose) + alias(libs.plugins.nowinandroid.android.compose) } android { diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 47b8af9439..2e186461af 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -17,9 +17,9 @@ import com.google.samples.apps.nowinandroid.NiaBuildType plugins { alias(libs.plugins.nowinandroid.android.application) - alias(libs.plugins.nowinandroid.android.application.compose) + alias(libs.plugins.nowinandroid.android.compose) alias(libs.plugins.nowinandroid.android.application.flavors) - alias(libs.plugins.nowinandroid.android.application.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.nowinandroid.android.hilt) alias(libs.plugins.nowinandroid.android.application.firebase) id("com.google.android.gms.oss-licenses-plugin") diff --git a/build-logic/convention/build.gradle.kts b/build-logic/convention/build.gradle.kts index dc478a8298..3ed7e6f512 100644 --- a/build-logic/convention/build.gradle.kts +++ b/build-logic/convention/build.gradle.kts @@ -15,7 +15,6 @@ */ import org.jetbrains.kotlin.gradle.dsl.JvmTarget -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { `kotlin-dsl` @@ -57,21 +56,17 @@ tasks { gradlePlugin { plugins { - register("androidApplicationCompose") { - id = "nowinandroid.android.application.compose" - implementationClass = "AndroidApplicationComposeConventionPlugin" + register("androidCompose") { + id = "nowinandroid.android.compose" + implementationClass = "AndroidComposeConventionPlugin" } register("androidApplication") { id = "nowinandroid.android.application" implementationClass = "AndroidApplicationConventionPlugin" } - register("androidApplicationJacoco") { - id = "nowinandroid.android.application.jacoco" - implementationClass = "AndroidApplicationJacocoConventionPlugin" - } - register("androidLibraryCompose") { - id = "nowinandroid.android.library.compose" - implementationClass = "AndroidLibraryComposeConventionPlugin" + register("androidJacoco") { + id = "nowinandroid.android.jacoco" + implementationClass = "AndroidJacocoConventionPlugin" } register("androidLibrary") { id = "nowinandroid.android.library" @@ -81,10 +76,6 @@ gradlePlugin { id = "nowinandroid.android.feature" implementationClass = "AndroidFeatureConventionPlugin" } - register("androidLibraryJacoco") { - id = "nowinandroid.android.library.jacoco" - implementationClass = "AndroidLibraryJacocoConventionPlugin" - } register("androidTest") { id = "nowinandroid.android.test" implementationClass = "AndroidTestConventionPlugin" diff --git a/build-logic/convention/src/main/kotlin/AndroidApplicationComposeConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidApplicationComposeConventionPlugin.kt deleted file mode 100644 index a8b1b17796..0000000000 --- a/build-logic/convention/src/main/kotlin/AndroidApplicationComposeConventionPlugin.kt +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2022 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import com.android.build.api.dsl.ApplicationExtension -import com.google.samples.apps.nowinandroid.configureAndroidCompose -import org.gradle.api.Plugin -import org.gradle.api.Project -import org.gradle.kotlin.dsl.apply -import org.gradle.kotlin.dsl.getByType - -class AndroidApplicationComposeConventionPlugin : Plugin { - override fun apply(target: Project) { - with(target) { - apply(plugin = "com.android.application") - apply(plugin = "org.jetbrains.kotlin.plugin.compose") - - val extension = extensions.getByType() - configureAndroidCompose(extension) - } - } - -} diff --git a/build-logic/convention/src/main/kotlin/AndroidApplicationJacocoConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidApplicationJacocoConventionPlugin.kt deleted file mode 100644 index ac385b0d97..0000000000 --- a/build-logic/convention/src/main/kotlin/AndroidApplicationJacocoConventionPlugin.kt +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2022 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import com.android.build.api.variant.ApplicationAndroidComponentsExtension -import com.android.build.gradle.internal.dsl.BaseAppModuleExtension -import com.google.samples.apps.nowinandroid.configureJacoco -import org.gradle.api.Plugin -import org.gradle.api.Project -import org.gradle.kotlin.dsl.getByType - -class AndroidApplicationJacocoConventionPlugin : Plugin { - override fun apply(target: Project) { - with(target) { - pluginManager.apply("jacoco") - val androidExtension = extensions.getByType() - - androidExtension.buildTypes.configureEach { - enableAndroidTestCoverage = true - enableUnitTestCoverage = true - } - - configureJacoco(extensions.getByType()) - } - } -} diff --git a/build-logic/convention/src/main/kotlin/AndroidComposeConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidComposeConventionPlugin.kt new file mode 100644 index 0000000000..2d29831d5a --- /dev/null +++ b/build-logic/convention/src/main/kotlin/AndroidComposeConventionPlugin.kt @@ -0,0 +1,37 @@ +import com.android.build.api.dsl.ApplicationExtension +import com.android.build.api.dsl.CommonExtension +import com.android.build.api.dsl.LibraryExtension +import com.google.samples.apps.nowinandroid.configureAndroidCompose +import org.gradle.api.Plugin +import org.gradle.api.Project +import org.gradle.kotlin.dsl.the + +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class AndroidComposeConventionPlugin : Plugin { + override fun apply(target: Project) { + with(target) { + pluginManager.apply("org.jetbrains.kotlin.plugin.compose") + val extension: CommonExtension<*, *, *, *, *, *> = when { + pluginManager.hasPlugin("com.android.application") -> the() + pluginManager.hasPlugin("com.android.library") -> the() + else -> TODO("This plugin is dependent on either nowinandroid.android.application or nowinandroid.android.library. Apply one of those plugins first.") + } + configureAndroidCompose(extension) + } + } +} diff --git a/build-logic/convention/src/main/kotlin/AndroidJacocoConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidJacocoConventionPlugin.kt new file mode 100644 index 0000000000..39d69f7878 --- /dev/null +++ b/build-logic/convention/src/main/kotlin/AndroidJacocoConventionPlugin.kt @@ -0,0 +1,57 @@ +import com.android.build.api.dsl.CommonExtension +import com.android.build.api.dsl.LibraryExtension +import com.android.build.api.variant.AndroidComponentsExtension +import com.android.build.api.variant.ApplicationAndroidComponentsExtension +import com.android.build.api.variant.LibraryAndroidComponentsExtension +import com.android.build.gradle.internal.dsl.BaseAppModuleExtension +import com.google.samples.apps.nowinandroid.configureJacoco +import org.gradle.api.Plugin +import org.gradle.api.Project +import org.gradle.kotlin.dsl.the + +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +class AndroidJacocoConventionPlugin : Plugin { + override fun apply(target: Project) { + with(target) { + pluginManager.apply("jacoco") + + val androidExtension: CommonExtension<*, *, *, *, *, *> + val jacocoExtension: AndroidComponentsExtension<*, *, *> + + when { + pluginManager.hasPlugin("com.android.application") -> { + androidExtension = the() + jacocoExtension = the() + } + pluginManager.hasPlugin("com.android.library") -> { + androidExtension = the() + jacocoExtension = the() + } + else -> + TODO("This plugin is dependent on either nowinandroid.android.application or nowinandroid.android.library. Apply one of those plugins first.") + } + + androidExtension.buildTypes.configureEach { + enableAndroidTestCoverage = true + enableUnitTestCoverage = true + } + + configureJacoco(jacocoExtension) + } + } +} diff --git a/build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt deleted file mode 100644 index 19fabf5494..0000000000 --- a/build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2022 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import com.android.build.gradle.LibraryExtension -import com.google.samples.apps.nowinandroid.configureAndroidCompose -import org.gradle.api.Plugin -import org.gradle.api.Project -import org.gradle.kotlin.dsl.apply -import org.gradle.kotlin.dsl.getByType - -class AndroidLibraryComposeConventionPlugin : Plugin { - override fun apply(target: Project) { - with(target) { - apply(plugin = "com.android.library") - apply(plugin = "org.jetbrains.kotlin.plugin.compose") - - val extension = extensions.getByType() - configureAndroidCompose(extension) - } - } - -} diff --git a/build-logic/convention/src/main/kotlin/AndroidLibraryJacocoConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidLibraryJacocoConventionPlugin.kt deleted file mode 100644 index 6f2ff60c5a..0000000000 --- a/build-logic/convention/src/main/kotlin/AndroidLibraryJacocoConventionPlugin.kt +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2022 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import com.android.build.api.dsl.LibraryExtension -import com.android.build.api.variant.ApplicationAndroidComponentsExtension -import com.android.build.api.variant.LibraryAndroidComponentsExtension -import com.google.samples.apps.nowinandroid.configureJacoco -import org.gradle.api.Plugin -import org.gradle.api.Project -import org.gradle.kotlin.dsl.getByType - -class AndroidLibraryJacocoConventionPlugin : Plugin { - override fun apply(target: Project) { - with(target) { - pluginManager.apply("jacoco") - val androidExtension = extensions.getByType() - - androidExtension.buildTypes.configureEach { - enableAndroidTestCoverage = true - enableUnitTestCoverage = true - } - - configureJacoco(extensions.getByType()) - } - } -} diff --git a/core/analytics/build.gradle.kts b/core/analytics/build.gradle.kts index 023574e6f0..c6bf880b83 100644 --- a/core/analytics/build.gradle.kts +++ b/core/analytics/build.gradle.kts @@ -15,7 +15,7 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.compose) + alias(libs.plugins.nowinandroid.android.compose) alias(libs.plugins.nowinandroid.android.hilt) } diff --git a/core/common/build.gradle.kts b/core/common/build.gradle.kts index 51ae627dc0..86601fa77b 100644 --- a/core/common/build.gradle.kts +++ b/core/common/build.gradle.kts @@ -15,7 +15,7 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.nowinandroid.android.hilt) } @@ -26,4 +26,4 @@ android { dependencies { testImplementation(libs.kotlinx.coroutines.test) testImplementation(libs.turbine) -} \ No newline at end of file +} diff --git a/core/data/build.gradle.kts b/core/data/build.gradle.kts index 142637ff9c..24c4ced232 100644 --- a/core/data/build.gradle.kts +++ b/core/data/build.gradle.kts @@ -15,7 +15,7 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.nowinandroid.android.hilt) id("kotlinx-serialization") } diff --git a/core/database/build.gradle.kts b/core/database/build.gradle.kts index a9e38ead7d..92ad7c45a4 100644 --- a/core/database/build.gradle.kts +++ b/core/database/build.gradle.kts @@ -16,7 +16,7 @@ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.nowinandroid.android.hilt) alias(libs.plugins.nowinandroid.android.room) } diff --git a/core/datastore/build.gradle.kts b/core/datastore/build.gradle.kts index 34ea5ee78b..16454b42a0 100644 --- a/core/datastore/build.gradle.kts +++ b/core/datastore/build.gradle.kts @@ -16,7 +16,7 @@ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.nowinandroid.android.hilt) } diff --git a/core/designsystem/build.gradle.kts b/core/designsystem/build.gradle.kts index 31635865c5..ad5d550bd6 100644 --- a/core/designsystem/build.gradle.kts +++ b/core/designsystem/build.gradle.kts @@ -15,8 +15,8 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.roborazzi) } diff --git a/core/domain/build.gradle.kts b/core/domain/build.gradle.kts index 1918774597..da2881e94d 100644 --- a/core/domain/build.gradle.kts +++ b/core/domain/build.gradle.kts @@ -15,7 +15,7 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) id("com.google.devtools.ksp") } @@ -30,4 +30,4 @@ dependencies { implementation(libs.javax.inject) testImplementation(projects.core.testing) -} \ No newline at end of file +} diff --git a/core/network/build.gradle.kts b/core/network/build.gradle.kts index 689a99e73d..f08123c869 100644 --- a/core/network/build.gradle.kts +++ b/core/network/build.gradle.kts @@ -16,7 +16,7 @@ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.nowinandroid.android.hilt) id("kotlinx-serialization") id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") diff --git a/core/screenshot-testing/build.gradle.kts b/core/screenshot-testing/build.gradle.kts index 1b816fc678..55554e11c7 100644 --- a/core/screenshot-testing/build.gradle.kts +++ b/core/screenshot-testing/build.gradle.kts @@ -15,7 +15,7 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.compose) + alias(libs.plugins.nowinandroid.android.compose) alias(libs.plugins.nowinandroid.android.hilt) } diff --git a/core/ui/build.gradle.kts b/core/ui/build.gradle.kts index 5606cb5d16..9c452fe626 100644 --- a/core/ui/build.gradle.kts +++ b/core/ui/build.gradle.kts @@ -15,8 +15,8 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) } android { diff --git a/feature/bookmarks/build.gradle.kts b/feature/bookmarks/build.gradle.kts index 51a15ce7a0..2f1c673215 100644 --- a/feature/bookmarks/build.gradle.kts +++ b/feature/bookmarks/build.gradle.kts @@ -16,8 +16,8 @@ plugins { alias(libs.plugins.nowinandroid.android.feature) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) } android { diff --git a/feature/foryou/build.gradle.kts b/feature/foryou/build.gradle.kts index 004fe8ad6b..9c297280f7 100644 --- a/feature/foryou/build.gradle.kts +++ b/feature/foryou/build.gradle.kts @@ -16,8 +16,8 @@ plugins { alias(libs.plugins.nowinandroid.android.feature) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.roborazzi) } diff --git a/feature/interests/build.gradle.kts b/feature/interests/build.gradle.kts index ca91ba2c47..f83c0082cd 100644 --- a/feature/interests/build.gradle.kts +++ b/feature/interests/build.gradle.kts @@ -16,8 +16,8 @@ plugins { alias(libs.plugins.nowinandroid.android.feature) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) } android { namespace = "com.google.samples.apps.nowinandroid.feature.interests" diff --git a/feature/search/build.gradle.kts b/feature/search/build.gradle.kts index c5f1f6ad0d..4aed382fe6 100644 --- a/feature/search/build.gradle.kts +++ b/feature/search/build.gradle.kts @@ -16,8 +16,8 @@ plugins { alias(libs.plugins.nowinandroid.android.feature) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) } android { @@ -34,4 +34,3 @@ dependencies { androidTestImplementation(libs.bundles.androidx.compose.ui.test) androidTestImplementation(projects.core.testing) } - diff --git a/feature/settings/build.gradle.kts b/feature/settings/build.gradle.kts index 15d65204dc..6e6517f163 100644 --- a/feature/settings/build.gradle.kts +++ b/feature/settings/build.gradle.kts @@ -16,8 +16,8 @@ plugins { alias(libs.plugins.nowinandroid.android.feature) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) } android { diff --git a/feature/topic/build.gradle.kts b/feature/topic/build.gradle.kts index 726920af17..22570d260c 100644 --- a/feature/topic/build.gradle.kts +++ b/feature/topic/build.gradle.kts @@ -16,8 +16,8 @@ plugins { alias(libs.plugins.nowinandroid.android.feature) - alias(libs.plugins.nowinandroid.android.library.compose) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.compose) + alias(libs.plugins.nowinandroid.android.jacoco) } android { @@ -31,4 +31,4 @@ dependencies { androidTestImplementation(libs.bundles.androidx.compose.ui.test) androidTestImplementation(projects.core.testing) -} \ No newline at end of file +} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9fe2356813..bb5ccf7702 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -177,15 +177,13 @@ secrets = { id = "com.google.android.libraries.mapsplatform.secrets-gradle-plugi # Plugins defined by this project nowinandroid-android-application = { id = "nowinandroid.android.application", version = "unspecified" } -nowinandroid-android-application-compose = { id = "nowinandroid.android.application.compose", version = "unspecified" } nowinandroid-android-application-firebase = { id = "nowinandroid.android.application.firebase", version = "unspecified" } nowinandroid-android-application-flavors = { id = "nowinandroid.android.application.flavors", version = "unspecified" } -nowinandroid-android-application-jacoco = { id = "nowinandroid.android.application.jacoco", version = "unspecified" } +nowinandroid-android-compose = { id = "nowinandroid.android.compose", version = "unspecified" } nowinandroid-android-feature = { id = "nowinandroid.android.feature", version = "unspecified" } nowinandroid-android-hilt = { id = "nowinandroid.android.hilt", version = "unspecified" } +nowinandroid-android-jacoco = { id = "nowinandroid.android.jacoco", version = "unspecified" } nowinandroid-android-library = { id = "nowinandroid.android.library", version = "unspecified" } -nowinandroid-android-library-compose = { id = "nowinandroid.android.library.compose", version = "unspecified" } -nowinandroid-android-library-jacoco = { id = "nowinandroid.android.library.jacoco", version = "unspecified" } nowinandroid-android-lint = { id = "nowinandroid.android.lint", version = "unspecified" } nowinandroid-android-room = { id = "nowinandroid.android.room", version = "unspecified" } nowinandroid-android-test = { id = "nowinandroid.android.test", version = "unspecified" } diff --git a/sync/work/build.gradle.kts b/sync/work/build.gradle.kts index 7e61c73898..8d7b99beb7 100644 --- a/sync/work/build.gradle.kts +++ b/sync/work/build.gradle.kts @@ -15,7 +15,7 @@ */ plugins { alias(libs.plugins.nowinandroid.android.library) - alias(libs.plugins.nowinandroid.android.library.jacoco) + alias(libs.plugins.nowinandroid.android.jacoco) alias(libs.plugins.nowinandroid.android.hilt) }