From 42f1ec06486ba7aff15430c25f177cd85c50ae47 Mon Sep 17 00:00:00 2001 From: michaelbel Date: Mon, 18 Mar 2024 15:53:43 +0300 Subject: [PATCH] Multiplatform --- androidApp/build.gradle.kts | 1 + buildSrc/settings.gradle.kts | 2 ++ core/analytics/build.gradle.kts | 1 + core/common/build.gradle.kts | 1 + core/navigation/build.gradle.kts | 1 + core/network/build.gradle.kts | 1 + core/notifications/build.gradle.kts | 1 + core/persistence/build.gradle.kts | 1 + core/platform-services/foss/build.gradle.kts | 1 + core/platform-services/gms/build.gradle.kts | 1 + core/platform-services/hms/build.gradle.kts | 1 + core/platform-services/inject/build.gradle.kts | 1 + core/platform-services/interactor/build.gradle.kts | 1 + core/ui/build.gradle.kts | 1 + core/widget/build.gradle.kts | 1 + core/work/build.gradle.kts | 1 + feature/account-impl/build.gradle.kts | 1 + feature/account/build.gradle.kts | 1 + feature/auth-impl/build.gradle.kts | 1 + feature/auth/build.gradle.kts | 1 + feature/details/build.gradle.kts | 1 + feature/feed/build.gradle.kts | 1 + feature/gallery/build.gradle.kts | 1 + feature/search-impl/build.gradle.kts | 1 + feature/search/build.gradle.kts | 1 + feature/settings-impl/build.gradle.kts | 1 + feature/settings/build.gradle.kts | 1 + 27 files changed, 28 insertions(+) diff --git a/androidApp/build.gradle.kts b/androidApp/build.gradle.kts index ddecacfc9..d080026f6 100644 --- a/androidApp/build.gradle.kts +++ b/androidApp/build.gradle.kts @@ -4,6 +4,7 @@ import org.apache.commons.io.output.ByteArrayOutputStream import org.jetbrains.kotlin.konan.properties.Properties @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) diff --git a/buildSrc/settings.gradle.kts b/buildSrc/settings.gradle.kts index 85c972e68..b17f9cee9 100644 --- a/buildSrc/settings.gradle.kts +++ b/buildSrc/settings.gradle.kts @@ -1,3 +1,5 @@ +@file:Suppress("UnstableApiUsage") + enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") pluginManagement { diff --git a/core/analytics/build.gradle.kts b/core/analytics/build.gradle.kts index d61c17da9..f9e9234c9 100644 --- a/core/analytics/build.gradle.kts +++ b/core/analytics/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/common/build.gradle.kts b/core/common/build.gradle.kts index 79e1d6d36..d1d38835c 100644 --- a/core/common/build.gradle.kts +++ b/core/common/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/navigation/build.gradle.kts b/core/navigation/build.gradle.kts index 1e2a78511..35a9fe15d 100644 --- a/core/navigation/build.gradle.kts +++ b/core/navigation/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/network/build.gradle.kts b/core/network/build.gradle.kts index 39fdf048e..dd941671b 100644 --- a/core/network/build.gradle.kts +++ b/core/network/build.gradle.kts @@ -1,6 +1,7 @@ import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/notifications/build.gradle.kts b/core/notifications/build.gradle.kts index b35517c86..0b81d9580 100644 --- a/core/notifications/build.gradle.kts +++ b/core/notifications/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/persistence/build.gradle.kts b/core/persistence/build.gradle.kts index e759df163..831f1958e 100644 --- a/core/persistence/build.gradle.kts +++ b/core/persistence/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/platform-services/foss/build.gradle.kts b/core/platform-services/foss/build.gradle.kts index e836314a0..7ca9057bf 100644 --- a/core/platform-services/foss/build.gradle.kts +++ b/core/platform-services/foss/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/platform-services/gms/build.gradle.kts b/core/platform-services/gms/build.gradle.kts index e72d0250c..81515e6d9 100644 --- a/core/platform-services/gms/build.gradle.kts +++ b/core/platform-services/gms/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/platform-services/hms/build.gradle.kts b/core/platform-services/hms/build.gradle.kts index facccc3b5..8bb7003e7 100644 --- a/core/platform-services/hms/build.gradle.kts +++ b/core/platform-services/hms/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/platform-services/inject/build.gradle.kts b/core/platform-services/inject/build.gradle.kts index 9e6f1ca24..e5871cd9c 100644 --- a/core/platform-services/inject/build.gradle.kts +++ b/core/platform-services/inject/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/platform-services/interactor/build.gradle.kts b/core/platform-services/interactor/build.gradle.kts index 2f0389892..08b68cc4e 100644 --- a/core/platform-services/interactor/build.gradle.kts +++ b/core/platform-services/interactor/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/ui/build.gradle.kts b/core/ui/build.gradle.kts index effa5122d..67734bfff 100644 --- a/core/ui/build.gradle.kts +++ b/core/ui/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/widget/build.gradle.kts b/core/widget/build.gradle.kts index a1b6cfbc2..2007fdc2b 100644 --- a/core/widget/build.gradle.kts +++ b/core/widget/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/core/work/build.gradle.kts b/core/work/build.gradle.kts index 218c2b964..ee656bed6 100644 --- a/core/work/build.gradle.kts +++ b/core/work/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/account-impl/build.gradle.kts b/feature/account-impl/build.gradle.kts index b19edc193..a9469aadc 100644 --- a/feature/account-impl/build.gradle.kts +++ b/feature/account-impl/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/account/build.gradle.kts b/feature/account/build.gradle.kts index adbd227d0..9b26e3177 100644 --- a/feature/account/build.gradle.kts +++ b/feature/account/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/auth-impl/build.gradle.kts b/feature/auth-impl/build.gradle.kts index be05c1954..8711334c6 100644 --- a/feature/auth-impl/build.gradle.kts +++ b/feature/auth-impl/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/auth/build.gradle.kts b/feature/auth/build.gradle.kts index 1be54d4d8..7a2dd47e0 100644 --- a/feature/auth/build.gradle.kts +++ b/feature/auth/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/details/build.gradle.kts b/feature/details/build.gradle.kts index c1c30f453..9d524f2e6 100644 --- a/feature/details/build.gradle.kts +++ b/feature/details/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/feed/build.gradle.kts b/feature/feed/build.gradle.kts index f443041bb..130d3fcdb 100644 --- a/feature/feed/build.gradle.kts +++ b/feature/feed/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/gallery/build.gradle.kts b/feature/gallery/build.gradle.kts index 5a2fd5cb4..0ad2fbf50 100644 --- a/feature/gallery/build.gradle.kts +++ b/feature/gallery/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/search-impl/build.gradle.kts b/feature/search-impl/build.gradle.kts index b644ba363..974693494 100644 --- a/feature/search-impl/build.gradle.kts +++ b/feature/search-impl/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/search/build.gradle.kts b/feature/search/build.gradle.kts index 79ad9b52a..ce962bf94 100644 --- a/feature/search/build.gradle.kts +++ b/feature/search/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/settings-impl/build.gradle.kts b/feature/settings-impl/build.gradle.kts index 986d3f492..69a99b2df 100644 --- a/feature/settings-impl/build.gradle.kts +++ b/feature/settings-impl/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) diff --git a/feature/settings/build.gradle.kts b/feature/settings/build.gradle.kts index 73a9ec9a2..042ad26fe 100644 --- a/feature/settings/build.gradle.kts +++ b/feature/settings/build.gradle.kts @@ -1,4 +1,5 @@ @Suppress("dsl_scope_violation") + plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android)