Merge "Enable kotlin explicitApi for android projects" into androidx-main
diff --git a/activity/activity-compose/build.gradle b/activity/activity-compose/build.gradle
index 4dd01f4..0d8a233 100644
--- a/activity/activity-compose/build.gradle
+++ b/activity/activity-compose/build.gradle
@@ -58,6 +58,7 @@
inceptionYear = "2020"
description = "Compose integration with Activity"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(projectOrArtifact(":activity:activity-compose:activity-compose-samples"))
}
diff --git a/activity/activity/build.gradle b/activity/activity/build.gradle
index 1dd4d6c..faad5d3 100644
--- a/activity/activity/build.gradle
+++ b/activity/activity/build.gradle
@@ -61,6 +61,7 @@
inceptionYear = "2018"
description = "Provides the base Activity subclass and the relevant hooks to build a composable structure on top."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
baselineProfile {
diff --git a/autofill/autofill/build.gradle b/autofill/autofill/build.gradle
index 8334bd7..3e30cba 100644
--- a/autofill/autofill/build.gradle
+++ b/autofill/autofill/build.gradle
@@ -46,6 +46,7 @@
inceptionYear = "2019"
description = "AndroidX Autofill"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/benchmark/benchmark-common/build.gradle b/benchmark/benchmark-common/build.gradle
index b9ce5a03..a9743ac 100644
--- a/benchmark/benchmark-common/build.gradle
+++ b/benchmark/benchmark-common/build.gradle
@@ -94,6 +94,7 @@
inceptionYear = "2018"
description = "Android Benchmark - Common"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
tasks.withType(KotlinCompile).configureEach {
diff --git a/benchmark/benchmark-junit4/build.gradle b/benchmark/benchmark-junit4/build.gradle
index 151ec63..20b9709 100644
--- a/benchmark/benchmark-junit4/build.gradle
+++ b/benchmark/benchmark-junit4/build.gradle
@@ -63,6 +63,7 @@
inceptionYear = "2019"
description = "Android Benchmark - JUnit4"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
tasks.withType(KotlinCompile).configureEach {
diff --git a/benchmark/benchmark-macro-junit4/build.gradle b/benchmark/benchmark-macro-junit4/build.gradle
index 5897f16..849e4e8 100644
--- a/benchmark/benchmark-macro-junit4/build.gradle
+++ b/benchmark/benchmark-macro-junit4/build.gradle
@@ -76,4 +76,5 @@
inceptionYear = "2020"
description = "Android Benchmark - Macrobenchmark JUnit4"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/benchmark/benchmark-macro/build.gradle b/benchmark/benchmark-macro/build.gradle
index d85d2ca..cd94221 100644
--- a/benchmark/benchmark-macro/build.gradle
+++ b/benchmark/benchmark-macro/build.gradle
@@ -93,6 +93,7 @@
inceptionYear = "2020"
description = "Android Benchmark - Macrobenchmark"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
tasks.withType(KotlinCompile).configureEach {
diff --git a/bluetooth/bluetooth-testing/build.gradle b/bluetooth/bluetooth-testing/build.gradle
index dac5d09..0f5e897 100644
--- a/bluetooth/bluetooth-testing/build.gradle
+++ b/bluetooth/bluetooth-testing/build.gradle
@@ -47,6 +47,7 @@
inceptionYear = "2022"
description = "Test utilities for AndroidX Bluetooth"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/bluetooth/bluetooth/build.gradle b/bluetooth/bluetooth/build.gradle
index 3a7a3df..f60ee03 100644
--- a/bluetooth/bluetooth/build.gradle
+++ b/bluetooth/bluetooth/build.gradle
@@ -50,6 +50,7 @@
inceptionYear = "2022"
description = "AndroidX Bluetooth Library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
index 3d76e48..392c334 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
@@ -107,6 +107,7 @@
import org.gradle.kotlin.dsl.withType
import org.gradle.plugin.devel.plugins.JavaGradlePluginPlugin
import org.gradle.plugin.devel.tasks.ValidatePlugins
+import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
@@ -539,16 +540,13 @@
logScriptSources(task, project)
}
- // Explicit API mode is broken for Android projects
- // https://youtrack.jetbrains.com/issue/KT-37652
- if (androidXExtension.shouldEnforceKotlinStrictApiMode() && !targetsAndroid) {
- project.tasks.withType(KotlinCompile::class.java).configureEach { task ->
- // Workaround for https://youtrack.jetbrains.com/issue/KT-37652
- if (task.name.endsWith("TestKotlin")) return@configureEach
- if (task.name.endsWith("TestKotlinJvm")) return@configureEach
- task.kotlinOptions.freeCompilerArgs += listOf("-Xexplicit-api=strict")
+ val kotlinExtension = project.extensions.getByType(KotlinProjectExtension::class.java)
+ kotlinExtension.explicitApi =
+ if (androidXExtension.shouldEnforceKotlinStrictApiMode()) {
+ ExplicitApiMode.Strict
+ } else {
+ ExplicitApiMode.Disabled
}
- }
}
if (plugin is KotlinMultiplatformPluginWrapper) {
KonanPrebuiltsSetup.configureKonanDirectory(project)
diff --git a/camera/camera-camera2-pipe-integration/build.gradle b/camera/camera-camera2-pipe-integration/build.gradle
index 265db91..dc3e288 100644
--- a/camera/camera-camera2-pipe-integration/build.gradle
+++ b/camera/camera-camera2-pipe-integration/build.gradle
@@ -112,5 +112,6 @@
"and reliable camera foundation that enables great camera driven experiences across " +
"all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
doNotDocumentReason = "Not shipped externally"
}
diff --git a/camera/camera-camera2-pipe-testing/build.gradle b/camera/camera-camera2-pipe-testing/build.gradle
index 9c3bf67..8c265a6 100644
--- a/camera/camera-camera2-pipe-testing/build.gradle
+++ b/camera/camera-camera2-pipe-testing/build.gradle
@@ -74,5 +74,6 @@
"consistent and reliable camera foundation that enables great camera driven " +
"experiences across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
doNotDocumentReason = "Not shipped externally"
}
diff --git a/camera/camera-camera2-pipe/build.gradle b/camera/camera-camera2-pipe/build.gradle
index 7e3616d..52bfbab 100644
--- a/camera/camera-camera2-pipe/build.gradle
+++ b/camera/camera-camera2-pipe/build.gradle
@@ -80,5 +80,6 @@
description = "A set of opinionated camera interfaces and implementations on top of Camera2 " +
"that will form a flexible shim layer to power Frameserver and CameraX."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
doNotDocumentReason = "Not shipped externally"
}
diff --git a/camera/camera-camera2/build.gradle b/camera/camera-camera2/build.gradle
index 8a18e3b..fdea246 100644
--- a/camera/camera-camera2/build.gradle
+++ b/camera/camera-camera2/build.gradle
@@ -109,4 +109,5 @@
"library providing a consistent and reliable camera foundation that enables great " +
"camera driven experiences across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-core/build.gradle b/camera/camera-core/build.gradle
index 4f0bb21..5610643 100644
--- a/camera/camera-core/build.gradle
+++ b/camera/camera-core/build.gradle
@@ -136,6 +136,7 @@
"consistent and reliable camera foundation that enables great camera driven " +
"experiences across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
extraLicense {
name = "BSD License"
url = "https://chromium.googlesource.com/libyuv/libyuv/+/refs/heads/main/README.chromium"
diff --git a/camera/camera-effects-still-portrait/build.gradle b/camera/camera-effects-still-portrait/build.gradle
index ca84390..4e659a7 100644
--- a/camera/camera-effects-still-portrait/build.gradle
+++ b/camera/camera-effects-still-portrait/build.gradle
@@ -39,4 +39,5 @@
description = "A post-processing effect that works with CameraX Library, providing a portrait" +
" mode effect that applies to still image captures."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-effects/build.gradle b/camera/camera-effects/build.gradle
index 86337aa..d55eea5 100644
--- a/camera/camera-effects/build.gradle
+++ b/camera/camera-effects/build.gradle
@@ -62,4 +62,5 @@
description = "Camera effects components for the Jetpack Camera Library, a library providing " +
"camera post-processing features such as drawing overlay with the CameraX library."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-extensions/build.gradle b/camera/camera-extensions/build.gradle
index 04bbe2a..3ca2e3d 100644
--- a/camera/camera-extensions/build.gradle
+++ b/camera/camera-extensions/build.gradle
@@ -98,4 +98,5 @@
description = "OEM Extensions for the Jetpack Camera Library, a library providing interfaces" +
" to integrate with OEM specific camera features."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-feature-combination-query-play-services/build.gradle b/camera/camera-feature-combination-query-play-services/build.gradle
index ba423b1..04ca4c2 100644
--- a/camera/camera-feature-combination-query-play-services/build.gradle
+++ b/camera/camera-feature-combination-query-play-services/build.gradle
@@ -56,4 +56,5 @@
description = "Camera feature combination components for the Jetpack Camera Library, a " +
"library providing camera feature combination with Google Play Services dependencies."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
\ No newline at end of file
diff --git a/camera/camera-feature-combination-query/build.gradle b/camera/camera-feature-combination-query/build.gradle
index fb716df..12a3dcb 100644
--- a/camera/camera-feature-combination-query/build.gradle
+++ b/camera/camera-feature-combination-query/build.gradle
@@ -54,4 +54,5 @@
description = "Camera feature combination components for the Jetpack Camera Library, a library " +
"providing a seamless experience for querying camera features across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
\ No newline at end of file
diff --git a/camera/camera-lifecycle/build.gradle b/camera/camera-lifecycle/build.gradle
index 9045638..194040b 100644
--- a/camera/camera-lifecycle/build.gradle
+++ b/camera/camera-lifecycle/build.gradle
@@ -79,5 +79,6 @@
"consistent and reliable camera foundation that enables great camera driven " +
"experiences across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":camera:camera-lifecycle:camera-lifecycle-samples"))
}
diff --git a/camera/camera-mlkit-vision/build.gradle b/camera/camera-mlkit-vision/build.gradle
index b53ec58..b339b1a 100644
--- a/camera/camera-mlkit-vision/build.gradle
+++ b/camera/camera-mlkit-vision/build.gradle
@@ -64,4 +64,5 @@
"seamless integration that enables camera driven computer vision features " +
"across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-testing/build.gradle b/camera/camera-testing/build.gradle
index dac1675..d366b52 100644
--- a/camera/camera-testing/build.gradle
+++ b/camera/camera-testing/build.gradle
@@ -107,4 +107,5 @@
description = "Testing components for the Jetpack Camera Library, a library providing a " +
"consistent and reliable camera foundation that enables great camera driven " +"" +
"experiences across all of Android."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-video/build.gradle b/camera/camera-video/build.gradle
index 634ea4d..6db500b 100644
--- a/camera/camera-video/build.gradle
+++ b/camera/camera-video/build.gradle
@@ -95,4 +95,5 @@
"consistent and reliable camera foundation that enables great camera driven " +
"experiences across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-view/build.gradle b/camera/camera-view/build.gradle
index fb00123..7ca26f6 100644
--- a/camera/camera-view/build.gradle
+++ b/camera/camera-view/build.gradle
@@ -95,4 +95,5 @@
"reliable camera foundation that enables great camera driven experiences across all " +
"of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-viewfinder-compose/build.gradle b/camera/camera-viewfinder-compose/build.gradle
index f7c31a7..38fad1e 100644
--- a/camera/camera-viewfinder-compose/build.gradle
+++ b/camera/camera-viewfinder-compose/build.gradle
@@ -62,4 +62,5 @@
mavenVersion = LibraryVersions.CAMERA_VIEWFINDER_COMPOSE
description = "Composable ViewFinder implementation for CameraX"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/camera/camera-viewfinder-core/build.gradle b/camera/camera-viewfinder-core/build.gradle
index f386f47..9666c33 100644
--- a/camera/camera-viewfinder-core/build.gradle
+++ b/camera/camera-viewfinder-core/build.gradle
@@ -55,5 +55,6 @@
inceptionYear = "2023"
description = "Core dependencies for ViewFinder"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":camera:camera-viewfinder-core:camera-viewfinder-core-samples"))
}
diff --git a/camera/camera-viewfinder/build.gradle b/camera/camera-viewfinder/build.gradle
index 786921d..2055edd 100644
--- a/camera/camera-viewfinder/build.gradle
+++ b/camera/camera-viewfinder/build.gradle
@@ -89,4 +89,5 @@
inceptionYear = "2022"
description = "Standalone Viewfinder for Camera2 and CameraX"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/car/app/app/build.gradle b/car/app/app/build.gradle
index d7f8c2d..97ffb99 100644
--- a/car/app/app/build.gradle
+++ b/car/app/app/build.gradle
@@ -115,6 +115,7 @@
inceptionYear = "2020"
description = "Build navigation, parking, and charging apps for Android Auto"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
// Use MetalavaRunnerKt to execute Metalava operations. MetalavaRunnerKt is defined in the buildSrc
diff --git a/compose/animation/animation-graphics/build.gradle b/compose/animation/animation-graphics/build.gradle
index 7a464f2..e2e65d6 100644
--- a/compose/animation/animation-graphics/build.gradle
+++ b/compose/animation/animation-graphics/build.gradle
@@ -122,6 +122,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2021"
description = "Compose Animation Graphics Library for using animated-vector resources in Compose"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":compose:animation:animation-graphics:animation-graphics-samples"))
}
diff --git a/compose/animation/animation/build.gradle b/compose/animation/animation/build.gradle
index c4a6998..78307c7 100644
--- a/compose/animation/animation/build.gradle
+++ b/compose/animation/animation/build.gradle
@@ -126,6 +126,7 @@
inceptionYear = "2019"
description = "Compose animation library"
legacyDisableKotlinStrictApiMode = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":compose:animation:animation:animation-samples"))
}
diff --git a/compose/material/material-navigation/build.gradle b/compose/material/material-navigation/build.gradle
index 1a55ed7..90440bf 100644
--- a/compose/material/material-navigation/build.gradle
+++ b/compose/material/material-navigation/build.gradle
@@ -43,6 +43,7 @@
mavenVersion = LibraryVersions.COMPOSE
inceptionYear = "2024"
description = "Compose Material integration with Navigation"
+ legacyDisableKotlinStrictApiMode = true
samples(projectOrArtifact(":compose:material:material-navigation-samples"))
}
diff --git a/compose/material/material-ripple/build.gradle b/compose/material/material-ripple/build.gradle
index 8ca7ece..cf608eb 100644
--- a/compose/material/material-ripple/build.gradle
+++ b/compose/material/material-ripple/build.gradle
@@ -121,9 +121,6 @@
mavenVersion = LibraryVersions.COMPOSE
inceptionYear = "2020"
description = "Material ripple used to build interactive components"
- // Disable strict API mode for MPP builds as it will fail to compile androidAndroidTest
- // sources, as it doesn't understand that they are tests and thinks they should have explicit
- // visibility
legacyDisableKotlinStrictApiMode = true
}
diff --git a/compose/material3/adaptive/adaptive-layout/build.gradle b/compose/material3/adaptive/adaptive-layout/build.gradle
index 528e075..d0e8ea9 100644
--- a/compose/material3/adaptive/adaptive-layout/build.gradle
+++ b/compose/material3/adaptive/adaptive-layout/build.gradle
@@ -120,6 +120,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2023"
description = "Compose Material Design Adaptive Library"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":compose:material3:adaptive:adaptive-samples"))
}
diff --git a/compose/material3/adaptive/adaptive-navigation/build.gradle b/compose/material3/adaptive/adaptive-navigation/build.gradle
index 9087365..49771e1 100644
--- a/compose/material3/adaptive/adaptive-navigation/build.gradle
+++ b/compose/material3/adaptive/adaptive-navigation/build.gradle
@@ -115,6 +115,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2023"
description = "Compose Material Design Adaptive Library"
+ legacyDisableKotlinStrictApiMode = true
}
tasks.withType(KotlinCompile).configureEach {
diff --git a/compose/material3/adaptive/adaptive/build.gradle b/compose/material3/adaptive/adaptive/build.gradle
index 8e453e3..49b3b64 100644
--- a/compose/material3/adaptive/adaptive/build.gradle
+++ b/compose/material3/adaptive/adaptive/build.gradle
@@ -115,6 +115,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2023"
description = "Compose Material Design Adaptive Library"
+ legacyDisableKotlinStrictApiMode = true
}
tasks.withType(KotlinCompile).configureEach {
diff --git a/compose/material3/material3-adaptive-navigation-suite/build.gradle b/compose/material3/material3-adaptive-navigation-suite/build.gradle
index 9bbce47..9a07cee 100644
--- a/compose/material3/material3-adaptive-navigation-suite/build.gradle
+++ b/compose/material3/material3-adaptive-navigation-suite/build.gradle
@@ -114,5 +114,6 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2023"
description = "Compose Material Design Adaptive Navigation Suite Library"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":compose:material3:material3-adaptive-navigation-suite:material3-adaptive-navigation-suite-samples"))
}
diff --git a/compose/material3/material3-common/build.gradle b/compose/material3/material3-common/build.gradle
index b55c721..8bf304a5 100644
--- a/compose/material3/material3-common/build.gradle
+++ b/compose/material3/material3-common/build.gradle
@@ -116,5 +116,6 @@
description = "Compose Material 3 Common Library. This library contains foundational, themeless " +
"components that can be shared between different Material libraries or used by app" +
" developers. It builds upon the Jetpack Compose libraries."
+ legacyDisableKotlinStrictApiMode = true
samples(project(":compose:material3:material3-common:material3-common-samples"))
}
diff --git a/compose/material3/material3-window-size-class/build.gradle b/compose/material3/material3-window-size-class/build.gradle
index 79a2750..82ac0b0 100644
--- a/compose/material3/material3-window-size-class/build.gradle
+++ b/compose/material3/material3-window-size-class/build.gradle
@@ -122,6 +122,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2022"
description = "Provides window size classes for building responsive UIs"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":compose:material3:material3-window-size-class:material3-window-size-class-samples"))
}
diff --git a/compose/material3/material3/build.gradle b/compose/material3/material3/build.gradle
index d190961..cfdd7cb 100644
--- a/compose/material3/material3/build.gradle
+++ b/compose/material3/material3/build.gradle
@@ -146,6 +146,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2021"
description = "Compose Material You Design Components library"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":compose:material3:material3:material3-samples"))
}
diff --git a/compose/runtime/runtime-tracing/build.gradle b/compose/runtime/runtime-tracing/build.gradle
index a6b744f..3976cf1 100644
--- a/compose/runtime/runtime-tracing/build.gradle
+++ b/compose/runtime/runtime-tracing/build.gradle
@@ -53,4 +53,5 @@
inceptionYear = "2022"
description = "Additional tracing in Compose"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/compose/ui/ui-text-google-fonts/build.gradle b/compose/ui/ui-text-google-fonts/build.gradle
index e932fe0..06afb53 100644
--- a/compose/ui/ui-text-google-fonts/build.gradle
+++ b/compose/ui/ui-text-google-fonts/build.gradle
@@ -52,6 +52,7 @@
inceptionYear = "2022"
description = "Compose Downloadable Fonts integration for Google Fonts"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/constraintlayout/constraintlayout-compose/build.gradle b/constraintlayout/constraintlayout-compose/build.gradle
index b1c6c3b..98abb9a 100644
--- a/constraintlayout/constraintlayout-compose/build.gradle
+++ b/constraintlayout/constraintlayout-compose/build.gradle
@@ -108,6 +108,7 @@
mavenVersion = LibraryVersions.CONSTRAINTLAYOUT_COMPOSE
inceptionYear = "2022"
description = "This library offers a flexible and adaptable way to position and animate widgets in Compose"
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/core/core-google-shortcuts/build.gradle b/core/core-google-shortcuts/build.gradle
index 8af0c8e..43f2282 100644
--- a/core/core-google-shortcuts/build.gradle
+++ b/core/core-google-shortcuts/build.gradle
@@ -60,4 +60,5 @@
inceptionYear = "2021"
description = "Library for powering Google features with Android app shortcuts"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core-i18n/build.gradle b/core/core-i18n/build.gradle
index 088ea0d..bdbdfdf 100644
--- a/core/core-i18n/build.gradle
+++ b/core/core-i18n/build.gradle
@@ -49,6 +49,7 @@
inceptionYear = "2022"
description = "This library provides functionality for good internationalization (messages, plurals, date / time formatting)."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/core/core-ktx/build.gradle b/core/core-ktx/build.gradle
index c425cae..f637c66 100644
--- a/core/core-ktx/build.gradle
+++ b/core/core-ktx/build.gradle
@@ -39,6 +39,7 @@
inceptionYear = "2018"
description = "Kotlin extensions for 'core' artifact"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/core/core-location-altitude/build.gradle b/core/core-location-altitude/build.gradle
index bd2da5b..cc1cc8c 100644
--- a/core/core-location-altitude/build.gradle
+++ b/core/core-location-altitude/build.gradle
@@ -65,4 +65,5 @@
inceptionYear = "2022"
description = "Provides compatibility APIs concerning location altitudes."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core-performance-play-services/build.gradle b/core/core-performance-play-services/build.gradle
index d302469..cb6cd55 100644
--- a/core/core-performance-play-services/build.gradle
+++ b/core/core-performance-play-services/build.gradle
@@ -59,4 +59,5 @@
inceptionYear = "2023"
description = "Get media performance class data from Google."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core-performance-testing/build.gradle b/core/core-performance-testing/build.gradle
index ff2b4d6..48d6565 100644
--- a/core/core-performance-testing/build.gradle
+++ b/core/core-performance-testing/build.gradle
@@ -53,4 +53,5 @@
inceptionYear = "2023"
description = "Test support for core-performance."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core-performance/build.gradle b/core/core-performance/build.gradle
index 59364f1..c10645d 100644
--- a/core/core-performance/build.gradle
+++ b/core/core-performance/build.gradle
@@ -50,6 +50,7 @@
inceptionYear = "2021"
description = "This library makes it easy for developers to make UI and feature choices based on Android Performance Class level for GMS devices."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":core:core-performance:core-performance-samples"))
}
diff --git a/core/core-remoteviews/build.gradle b/core/core-remoteviews/build.gradle
index 3452498..94271650 100644
--- a/core/core-remoteviews/build.gradle
+++ b/core/core-remoteviews/build.gradle
@@ -70,4 +70,5 @@
inceptionYear = "2021"
description = "AndroidX RemoteViews Support"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core-splashscreen/build.gradle b/core/core-splashscreen/build.gradle
index 1ccac49..4bc9915 100644
--- a/core/core-splashscreen/build.gradle
+++ b/core/core-splashscreen/build.gradle
@@ -59,4 +59,5 @@
description = "This library provides the compatibility APIs for SplashScreen " +
"and helper method to enable a splashscreen on devices prior Android 12"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core-telecom/build.gradle b/core/core-telecom/build.gradle
index e0148ab..b7da35dc 100644
--- a/core/core-telecom/build.gradle
+++ b/core/core-telecom/build.gradle
@@ -66,4 +66,5 @@
inceptionYear = "2023"
description = "Integrate VoIP calls with the Telecom framework."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core-testing/build.gradle b/core/core-testing/build.gradle
index b28f926..ce43285 100644
--- a/core/core-testing/build.gradle
+++ b/core/core-testing/build.gradle
@@ -54,4 +54,5 @@
inceptionYear = "2023"
description = "Provides extensions for tests using Core APIs."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/core/build.gradle b/core/core/build.gradle
index d940cb9..5f369e5 100644
--- a/core/core/build.gradle
+++ b/core/core/build.gradle
@@ -108,4 +108,5 @@
"features."
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/haptics/haptics/build.gradle b/core/haptics/haptics/build.gradle
index 36d8e1f..9fcb353 100644
--- a/core/haptics/haptics/build.gradle
+++ b/core/haptics/haptics/build.gradle
@@ -53,5 +53,6 @@
description = "Core Haptics Libraries to help navigate different device and Android SDK " +
"functionalities and create reliable haptic effects across all of Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":core:haptics:haptics-samples"))
}
diff --git a/core/uwb/uwb-rxjava3/build.gradle b/core/uwb/uwb-rxjava3/build.gradle
index abf533b..92b8896 100644
--- a/core/uwb/uwb-rxjava3/build.gradle
+++ b/core/uwb/uwb-rxjava3/build.gradle
@@ -64,4 +64,5 @@
inceptionYear = "2022"
description = "RxJava3 integration for UWB module"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/core/uwb/uwb/build.gradle b/core/uwb/uwb/build.gradle
index 9cdba11..6283591 100644
--- a/core/uwb/uwb/build.gradle
+++ b/core/uwb/uwb/build.gradle
@@ -58,6 +58,7 @@
inceptionYear = "2022"
description = "Public API surface for apps to use UWB (ultra-wideband) on supported devices."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/credentials/credentials-e2ee/build.gradle b/credentials/credentials-e2ee/build.gradle
index 62d59c4..a3fabe6 100644
--- a/credentials/credentials-e2ee/build.gradle
+++ b/credentials/credentials-e2ee/build.gradle
@@ -43,4 +43,5 @@
inceptionYear = "2023"
description = "Create Identity Keys, signing keys for E2EE in AOSP."
mavenVersion = LibraryVersions.CREDENTIALS_E2EE_QUARANTINE
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/credentials/credentials-fido/build.gradle b/credentials/credentials-fido/build.gradle
index 81f83b4..098bf8b 100644
--- a/credentials/credentials-fido/build.gradle
+++ b/credentials/credentials-fido/build.gradle
@@ -60,4 +60,5 @@
inceptionYear = "2023"
description = "Util library for apps using FIDO"
mavenVersion = LibraryVersions.CREDENTIALS_FIDO_QUARANTINE
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/credentials/credentials-play-services-auth/build.gradle b/credentials/credentials-play-services-auth/build.gradle
index 2e57329..e08f6c9 100644
--- a/credentials/credentials-play-services-auth/build.gradle
+++ b/credentials/credentials-play-services-auth/build.gradle
@@ -81,4 +81,5 @@
inceptionYear = "2022"
description = "sign into apps using play-services-auth library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/credentials/credentials/build.gradle b/credentials/credentials/build.gradle
index ec5f874..da177eb 100644
--- a/credentials/credentials/build.gradle
+++ b/credentials/credentials/build.gradle
@@ -61,5 +61,6 @@
inceptionYear = "2022"
description = "Android Credentials Library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":credentials:credentials-samples"))
}
diff --git a/customview/customview-poolingcontainer/build.gradle b/customview/customview-poolingcontainer/build.gradle
index babd09f..c4f373f 100644
--- a/customview/customview-poolingcontainer/build.gradle
+++ b/customview/customview-poolingcontainer/build.gradle
@@ -49,6 +49,7 @@
inceptionYear = "2021"
description = "Utilities for listening to the lifecycle of containers that manage their child Views' lifecycle, such as RecyclerView"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/dynamicanimation/dynamicanimation-ktx/build.gradle b/dynamicanimation/dynamicanimation-ktx/build.gradle
index 326d890..ff51a75 100644
--- a/dynamicanimation/dynamicanimation-ktx/build.gradle
+++ b/dynamicanimation/dynamicanimation-ktx/build.gradle
@@ -50,6 +50,7 @@
inceptionYear = "2018"
description = "Kotlin extensions for 'dynamicanimation' artifact"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/emoji2/emoji2-emojipicker/build.gradle b/emoji2/emoji2-emojipicker/build.gradle
index 88e8000..ff91944 100644
--- a/emoji2/emoji2-emojipicker/build.gradle
+++ b/emoji2/emoji2-emojipicker/build.gradle
@@ -70,4 +70,5 @@
description = "This library provides the latest emoji support and emoji picker UI to input " +
"emoji in current and older devices"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/fragment/fragment-compose/build.gradle b/fragment/fragment-compose/build.gradle
index ba45262..1660f2b 100644
--- a/fragment/fragment-compose/build.gradle
+++ b/fragment/fragment-compose/build.gradle
@@ -61,5 +61,6 @@
inceptionYear = "2024"
description = "Integrate Fragments with Compose to provide helper APIs for using Fragments in" +
"Compose or Compose inside of Fragments"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":fragment:fragment-compose:fragment-compose-samples"))
}
diff --git a/fragment/fragment-ktx/build.gradle b/fragment/fragment-ktx/build.gradle
index 1070d06..5d166ded 100644
--- a/fragment/fragment-ktx/build.gradle
+++ b/fragment/fragment-ktx/build.gradle
@@ -65,6 +65,7 @@
inceptionYear = "2018"
description = "Kotlin extensions for 'fragment' artifact"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/fragment/fragment-testing-manifest/build.gradle b/fragment/fragment-testing-manifest/build.gradle
index 4eb6be1..ee02713 100644
--- a/fragment/fragment-testing-manifest/build.gradle
+++ b/fragment/fragment-testing-manifest/build.gradle
@@ -43,6 +43,7 @@
inceptionYear = "2022"
description = "Fragment testing library that should be added as a debugImplementation dependency to add properties to the debug manifest necessary for testing an application"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
doNotDocumentReason = "No public API"
}
diff --git a/fragment/fragment-testing/build.gradle b/fragment/fragment-testing/build.gradle
index 8a7b23b..1f536bc 100644
--- a/fragment/fragment-testing/build.gradle
+++ b/fragment/fragment-testing/build.gradle
@@ -54,6 +54,7 @@
inceptionYear = "2018"
description = "Extensions for testing 'fragment' artifact"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/fragment/fragment/build.gradle b/fragment/fragment/build.gradle
index da55861..7fb1d30 100644
--- a/fragment/fragment/build.gradle
+++ b/fragment/fragment/build.gradle
@@ -85,4 +85,5 @@
inceptionYear = "2011"
description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren\'t a part of the framework APIs. Compatible on devices running API 14 or later."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance-appwidget-preview/build.gradle b/glance/glance-appwidget-preview/build.gradle
index ecfd0c61..86b0bcc 100644
--- a/glance/glance-appwidget-preview/build.gradle
+++ b/glance/glance-appwidget-preview/build.gradle
@@ -63,4 +63,5 @@
description = "Glance tooling library. This library provides the API required for the " +
"GlanceAppWidget components and its Glance @Composable to be previewable in the IDE."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance-appwidget-testing/build.gradle b/glance/glance-appwidget-testing/build.gradle
index 9390065..3dc85de 100644
--- a/glance/glance-appwidget-testing/build.gradle
+++ b/glance/glance-appwidget-testing/build.gradle
@@ -65,5 +65,6 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2023"
description = "This library provides APIs for developers to use for testing their appWidget specific Glance composables."
+ legacyDisableKotlinStrictApiMode = true
samples(projectOrArtifact(":glance:glance-appwidget-testing:glance-appwidget-testing-samples"))
}
diff --git a/glance/glance-appwidget/build.gradle b/glance/glance-appwidget/build.gradle
index 41f2b2a..edd3e36 100644
--- a/glance/glance-appwidget/build.gradle
+++ b/glance/glance-appwidget/build.gradle
@@ -110,6 +110,7 @@
inceptionYear = "2021"
description = "Glance-appwidgets allows developers to build layouts for Android AppWidgets " +
"using a Jetpack Compose-style API."
+ legacyDisableKotlinStrictApiMode = true
samples(projectOrArtifact(":glance:glance-appwidget:glance-appwidget-samples"))
}
diff --git a/glance/glance-material/build.gradle b/glance/glance-material/build.gradle
index 21fc469..f8ad806 100644
--- a/glance/glance-material/build.gradle
+++ b/glance/glance-material/build.gradle
@@ -36,5 +36,6 @@
description = "Glance Material 2 integration library." +
" This library provides interop APIs with Material 2."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance-material3/build.gradle b/glance/glance-material3/build.gradle
index 46cec12..da433c9 100644
--- a/glance/glance-material3/build.gradle
+++ b/glance/glance-material3/build.gradle
@@ -37,5 +37,6 @@
description = "Glance Material integration library." +
" This library provides interop APIs with Material 3."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance-preview/build.gradle b/glance/glance-preview/build.gradle
index ac7fc83..939c4dd 100644
--- a/glance/glance-preview/build.gradle
+++ b/glance/glance-preview/build.gradle
@@ -34,4 +34,5 @@
description = "Glance preview library. This library provides the API required for marking the" +
"glance @Composable components that should have preview in the Android Studio."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance-template/build.gradle b/glance/glance-template/build.gradle
index 623fb45..b76e014 100644
--- a/glance/glance-template/build.gradle
+++ b/glance/glance-template/build.gradle
@@ -84,4 +84,5 @@
inceptionYear = "2021"
description = "Glance allows developers to build layouts for remote surfaces using a Jetpack " +
"Compose-style API."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance-testing/build.gradle b/glance/glance-testing/build.gradle
index ea041d0..c9eac8f 100644
--- a/glance/glance-testing/build.gradle
+++ b/glance/glance-testing/build.gradle
@@ -63,4 +63,5 @@
inceptionYear = "2023"
description = "This library provides base APIs to enable testing Glance"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance-wear-tiles/build.gradle b/glance/glance-wear-tiles/build.gradle
index 67e95fe..ed1d830 100644
--- a/glance/glance-wear-tiles/build.gradle
+++ b/glance/glance-wear-tiles/build.gradle
@@ -98,4 +98,5 @@
inceptionYear = "2021"
description = "Glance allows developers to build layouts for Wear Tiles using a Jetpack " +
"Compose-style API."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/glance/glance/build.gradle b/glance/glance/build.gradle
index e54af2c..0a563e2 100644
--- a/glance/glance/build.gradle
+++ b/glance/glance/build.gradle
@@ -96,4 +96,5 @@
inceptionYear = "2021"
description = "Glance allows developers to build layouts for remote surfaces using a Jetpack " +
"Compose-style API."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/graphics/filters/filters/build.gradle b/graphics/filters/filters/build.gradle
index 338ef20..9c7f428 100644
--- a/graphics/filters/filters/build.gradle
+++ b/graphics/filters/filters/build.gradle
@@ -67,4 +67,5 @@
inceptionYear = "2022"
description = "Apply visual filters to images, video or UI in real time."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/graphics/graphics-core/build.gradle b/graphics/graphics-core/build.gradle
index 14e500d..ea794de 100644
--- a/graphics/graphics-core/build.gradle
+++ b/graphics/graphics-core/build.gradle
@@ -77,5 +77,6 @@
inceptionYear = "2021"
description = "Leverage graphics facilities across multiple Android platform releases"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":graphics:graphics-core:graphics-core-samples"))
}
diff --git a/graphics/graphics-path/build.gradle b/graphics/graphics-path/build.gradle
index f24d85e..99e20bb 100644
--- a/graphics/graphics-path/build.gradle
+++ b/graphics/graphics-path/build.gradle
@@ -90,4 +90,5 @@
inceptionYear = "2022"
description = "Query segment data for android.graphics.Path objects"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/graphics/graphics-shapes/build.gradle b/graphics/graphics-shapes/build.gradle
index c75fad11..22d974f 100644
--- a/graphics/graphics-shapes/build.gradle
+++ b/graphics/graphics-shapes/build.gradle
@@ -135,4 +135,5 @@
mavenVersion = LibraryVersions.GRAPHICS_SHAPES
inceptionYear = "2022"
description = "create and render rounded polygonal shapes"
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/health/connect/connect-client/build.gradle b/health/connect/connect-client/build.gradle
index d7d86b0..0f23892 100644
--- a/health/connect/connect-client/build.gradle
+++ b/health/connect/connect-client/build.gradle
@@ -87,5 +87,6 @@
inceptionYear = "2022"
description = "read or write user's health and fitness records."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":health:connect:connect-client-samples"))
}
diff --git a/health/health-services-client/build.gradle b/health/health-services-client/build.gradle
index 0e4f642..038845e 100644
--- a/health/health-services-client/build.gradle
+++ b/health/health-services-client/build.gradle
@@ -88,4 +88,5 @@
inceptionYear = "2021"
description = "This library helps developers create performant health applications in a platform agnostic way"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/hilt/hilt-navigation-fragment/build.gradle b/hilt/hilt-navigation-fragment/build.gradle
index a2ddd6e..326f2e4 100644
--- a/hilt/hilt-navigation-fragment/build.gradle
+++ b/hilt/hilt-navigation-fragment/build.gradle
@@ -69,4 +69,5 @@
inceptionYear = "2021"
description = "Android Navigation Fragment Hilt Extension"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/hilt/hilt-navigation/build.gradle b/hilt/hilt-navigation/build.gradle
index 64c27cc..7ad2aa4 100644
--- a/hilt/hilt-navigation/build.gradle
+++ b/hilt/hilt-navigation/build.gradle
@@ -45,6 +45,7 @@
inceptionYear = "2021"
description = "Android Navigation Hilt Extension"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/input/input-motionprediction/build.gradle b/input/input-motionprediction/build.gradle
index e87252d..581e0a8 100644
--- a/input/input-motionprediction/build.gradle
+++ b/input/input-motionprediction/build.gradle
@@ -60,4 +60,5 @@
inceptionYear = "2022"
description = "reduce the latency of input interactions by predicting future MotionEvents"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/inspection/inspection/build.gradle b/inspection/inspection/build.gradle
index af2558e..8642940 100644
--- a/inspection/inspection/build.gradle
+++ b/inspection/inspection/build.gradle
@@ -49,6 +49,7 @@
"Interfaces provided in this artifact should be binary compatible to guarantee " +
"that old inspectors are compatible with newer Android Studio versions")
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
doNotDocumentReason = "Not shipped externally"
}
diff --git a/lifecycle/lifecycle-extensions/build.gradle b/lifecycle/lifecycle-extensions/build.gradle
index 23b5dbc..03cf955 100644
--- a/lifecycle/lifecycle-extensions/build.gradle
+++ b/lifecycle/lifecycle-extensions/build.gradle
@@ -65,6 +65,7 @@
description = "Android Lifecycle Extensions"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/lifecycle/lifecycle-livedata-core-ktx/build.gradle b/lifecycle/lifecycle-livedata-core-ktx/build.gradle
index df08ba9..17d4c9a 100644
--- a/lifecycle/lifecycle-livedata-core-ktx/build.gradle
+++ b/lifecycle/lifecycle-livedata-core-ktx/build.gradle
@@ -40,6 +40,7 @@
inceptionYear = "2018"
description = "Kotlin extensions for 'livedata-core' artifact"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/lifecycle/lifecycle-livedata-core/build.gradle b/lifecycle/lifecycle-livedata-core/build.gradle
index c1e1159..c858cee 100644
--- a/lifecycle/lifecycle-livedata-core/build.gradle
+++ b/lifecycle/lifecycle-livedata-core/build.gradle
@@ -52,6 +52,7 @@
inceptionYear = "2017"
description = "Android Lifecycle LiveData Core"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/lifecycle/lifecycle-livedata/build.gradle b/lifecycle/lifecycle-livedata/build.gradle
index 746e333..0ef6ced 100644
--- a/lifecycle/lifecycle-livedata/build.gradle
+++ b/lifecycle/lifecycle-livedata/build.gradle
@@ -60,6 +60,7 @@
inceptionYear = "2017"
description = "Android Lifecycle LiveData"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/lifecycle/lifecycle-process/build.gradle b/lifecycle/lifecycle-process/build.gradle
index 2721e7d..334c39c 100644
--- a/lifecycle/lifecycle-process/build.gradle
+++ b/lifecycle/lifecycle-process/build.gradle
@@ -52,4 +52,5 @@
inceptionYear = "2018"
description = "Android Lifecycle Process"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/lifecycle/lifecycle-reactivestreams/build.gradle b/lifecycle/lifecycle-reactivestreams/build.gradle
index c1f66e3..55605b8d 100644
--- a/lifecycle/lifecycle-reactivestreams/build.gradle
+++ b/lifecycle/lifecycle-reactivestreams/build.gradle
@@ -54,6 +54,7 @@
inceptionYear = "2017"
description = "Android Lifecycle Reactivestreams"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/lifecycle/lifecycle-runtime-compose/build.gradle b/lifecycle/lifecycle-runtime-compose/build.gradle
index edd30e1..52e446d 100644
--- a/lifecycle/lifecycle-runtime-compose/build.gradle
+++ b/lifecycle/lifecycle-runtime-compose/build.gradle
@@ -89,6 +89,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2021"
description = "Compose integration with Lifecycle"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":lifecycle:lifecycle-runtime-compose:lifecycle-runtime-compose-samples"))
}
diff --git a/lifecycle/lifecycle-runtime-testing/build.gradle b/lifecycle/lifecycle-runtime-testing/build.gradle
index 78ca002..1025722 100644
--- a/lifecycle/lifecycle-runtime-testing/build.gradle
+++ b/lifecycle/lifecycle-runtime-testing/build.gradle
@@ -53,6 +53,7 @@
inceptionYear = "2019"
description = "Testing utilities for 'lifecycle' artifact"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/lifecycle/lifecycle-service/build.gradle b/lifecycle/lifecycle-service/build.gradle
index f851ad5..c9a026b 100644
--- a/lifecycle/lifecycle-service/build.gradle
+++ b/lifecycle/lifecycle-service/build.gradle
@@ -45,6 +45,7 @@
inceptionYear = "2018"
description = "Android Lifecycle Service"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/lifecycle/lifecycle-viewmodel-compose/build.gradle b/lifecycle/lifecycle-viewmodel-compose/build.gradle
index ab4d2cb..b62fe94 100644
--- a/lifecycle/lifecycle-viewmodel-compose/build.gradle
+++ b/lifecycle/lifecycle-viewmodel-compose/build.gradle
@@ -96,6 +96,7 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2021"
description = "Compose integration with Lifecycle ViewModel"
+ legacyDisableKotlinStrictApiMode = true
samples(projectOrArtifact(":lifecycle:lifecycle-viewmodel-compose:lifecycle-viewmodel-compose-samples"))
}
diff --git a/lifecycle/lifecycle-viewmodel-savedstate/build.gradle b/lifecycle/lifecycle-viewmodel-savedstate/build.gradle
index fc23340..5d918ab 100644
--- a/lifecycle/lifecycle-viewmodel-savedstate/build.gradle
+++ b/lifecycle/lifecycle-viewmodel-savedstate/build.gradle
@@ -63,4 +63,5 @@
inceptionYear = "2018"
description = "Android Lifecycle ViewModel"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/metrics/metrics-performance/build.gradle b/metrics/metrics-performance/build.gradle
index 1c8eac4..8f48de9 100644
--- a/metrics/metrics-performance/build.gradle
+++ b/metrics/metrics-performance/build.gradle
@@ -69,4 +69,5 @@
inceptionYear = "2021"
description = "Library for tracking and reporting various runtime metrics for applications"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/navigation/navigation-common/build.gradle b/navigation/navigation-common/build.gradle
index 1cf4e86..5db71fc 100644
--- a/navigation/navigation-common/build.gradle
+++ b/navigation/navigation-common/build.gradle
@@ -82,4 +82,5 @@
inceptionYear = "2017"
description = "Android Navigation-Common"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/navigation/navigation-compose/build.gradle b/navigation/navigation-compose/build.gradle
index d076bfa..56a5311 100644
--- a/navigation/navigation-compose/build.gradle
+++ b/navigation/navigation-compose/build.gradle
@@ -68,6 +68,7 @@
legacyDisableKotlinStrictApiMode = true
samples(projectOrArtifact(":navigation:navigation-compose:navigation-compose-samples"))
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/navigation/navigation-dynamic-features-fragment/build.gradle b/navigation/navigation-dynamic-features-fragment/build.gradle
index 7980eb4..8b299e9 100644
--- a/navigation/navigation-dynamic-features-fragment/build.gradle
+++ b/navigation/navigation-dynamic-features-fragment/build.gradle
@@ -78,4 +78,5 @@
inceptionYear = "2019"
description = "Android Dynamic Feature Navigation Fragment"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/navigation/navigation-dynamic-features-runtime/build.gradle b/navigation/navigation-dynamic-features-runtime/build.gradle
index 4f3c727..019f1c12 100644
--- a/navigation/navigation-dynamic-features-runtime/build.gradle
+++ b/navigation/navigation-dynamic-features-runtime/build.gradle
@@ -73,4 +73,5 @@
inceptionYear = "2019"
description = "Android Dynamic Feature Navigation Runtime"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/navigation/navigation-fragment-compose/build.gradle b/navigation/navigation-fragment-compose/build.gradle
index 24d4568..f7956f5 100644
--- a/navigation/navigation-fragment-compose/build.gradle
+++ b/navigation/navigation-fragment-compose/build.gradle
@@ -54,4 +54,5 @@
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2024"
description = "Add Compose destinations to Navigation with Fragments"
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/navigation/navigation-fragment/build.gradle b/navigation/navigation-fragment/build.gradle
index 6e96e9d..86716ba 100644
--- a/navigation/navigation-fragment/build.gradle
+++ b/navigation/navigation-fragment/build.gradle
@@ -57,6 +57,7 @@
inceptionYear = "2017"
description = "Android Navigation-Fragment"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/navigation/navigation-runtime/build.gradle b/navigation/navigation-runtime/build.gradle
index 59cd141..d7155f8 100644
--- a/navigation/navigation-runtime/build.gradle
+++ b/navigation/navigation-runtime/build.gradle
@@ -73,4 +73,5 @@
inceptionYear = "2017"
description = "Android Navigation-Runtime"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/navigation/navigation-testing/build.gradle b/navigation/navigation-testing/build.gradle
index a43b6ca..5efa67b 100644
--- a/navigation/navigation-testing/build.gradle
+++ b/navigation/navigation-testing/build.gradle
@@ -53,6 +53,7 @@
inceptionYear = "2017"
description = "Android Navigation-Testing"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/navigation/navigation-ui/build.gradle b/navigation/navigation-ui/build.gradle
index fe65b35..0527db4 100644
--- a/navigation/navigation-ui/build.gradle
+++ b/navigation/navigation-ui/build.gradle
@@ -65,4 +65,5 @@
inceptionYear = "2018"
description = "Android Navigation-UI"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/paging/paging-common/build.gradle b/paging/paging-common/build.gradle
index 8ee770b..ba99dbb0 100644
--- a/paging/paging-common/build.gradle
+++ b/paging/paging-common/build.gradle
@@ -143,6 +143,7 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2017"
description = "Android Paging-Common"
+ legacyDisableKotlinStrictApiMode = true
samples(project(":paging:paging-samples"))
}
diff --git a/paging/paging-guava/build.gradle b/paging/paging-guava/build.gradle
index 8e18efe..9a985cb 100644
--- a/paging/paging-guava/build.gradle
+++ b/paging/paging-guava/build.gradle
@@ -49,6 +49,7 @@
description = "Android Paging Guava"
legacyDisableKotlinStrictApiMode = true
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":paging:paging-samples"))
}
diff --git a/pdf/pdf-viewer/build.gradle b/pdf/pdf-viewer/build.gradle
index 12d5a36..83a9517 100644
--- a/pdf/pdf-viewer/build.gradle
+++ b/pdf/pdf-viewer/build.gradle
@@ -93,4 +93,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2023"
description = "add pdf viewing to their apps."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/preference/preference/build.gradle b/preference/preference/build.gradle
index 82fc96f..63c33b1 100644
--- a/preference/preference/build.gradle
+++ b/preference/preference/build.gradle
@@ -70,4 +70,5 @@
inceptionYear = "2015"
description = "AndroidX Preference"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/activity/activity-client/build.gradle b/privacysandbox/activity/activity-client/build.gradle
index 70f678b..037ba6d 100644
--- a/privacysandbox/activity/activity-client/build.gradle
+++ b/privacysandbox/activity/activity-client/build.gradle
@@ -58,4 +58,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2023"
description = "Manage Privacy Sandbox Activities from outside the sandbox."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/activity/activity-core/build.gradle b/privacysandbox/activity/activity-core/build.gradle
index 44cf0cfc1..5adf408 100644
--- a/privacysandbox/activity/activity-core/build.gradle
+++ b/privacysandbox/activity/activity-core/build.gradle
@@ -55,4 +55,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2023"
description = "Core utilities for Activities in the Privacy Sandbox."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/activity/activity-provider/build.gradle b/privacysandbox/activity/activity-provider/build.gradle
index d48f82e..7c1e5b0 100644
--- a/privacysandbox/activity/activity-provider/build.gradle
+++ b/privacysandbox/activity/activity-provider/build.gradle
@@ -56,4 +56,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2023"
description = "Utilities for launchig Activities from the Privacy Sandbox."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/ads/ads-adservices-java/build.gradle b/privacysandbox/ads/ads-adservices-java/build.gradle
index 8548818..ec68cb6 100644
--- a/privacysandbox/ads/ads-adservices-java/build.gradle
+++ b/privacysandbox/ads/ads-adservices-java/build.gradle
@@ -75,4 +75,5 @@
inceptionYear = "2022"
description = "write Java code to call PP APIs."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/ads/ads-adservices/build.gradle b/privacysandbox/ads/ads-adservices/build.gradle
index b67fef1..bacb798 100644
--- a/privacysandbox/ads/ads-adservices/build.gradle
+++ b/privacysandbox/ads/ads-adservices/build.gradle
@@ -70,4 +70,5 @@
inceptionYear = "2022"
description = "This library enables integration with Privacy Preserving APIs, which are part of Privacy Sandbox on Android."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/sdkruntime/sdkruntime-client/build.gradle b/privacysandbox/sdkruntime/sdkruntime-client/build.gradle
index 6464bf3..3435b825 100644
--- a/privacysandbox/sdkruntime/sdkruntime-client/build.gradle
+++ b/privacysandbox/sdkruntime/sdkruntime-client/build.gradle
@@ -155,4 +155,5 @@
inceptionYear = "2022"
description = "Provides components for SdkRuntime aware Applications"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/sdkruntime/sdkruntime-core/build.gradle b/privacysandbox/sdkruntime/sdkruntime-core/build.gradle
index d1cfc2e..8803986 100644
--- a/privacysandbox/sdkruntime/sdkruntime-core/build.gradle
+++ b/privacysandbox/sdkruntime/sdkruntime-core/build.gradle
@@ -66,4 +66,5 @@
inceptionYear = "2022"
description = "Provides shared components for SdkRuntime libraries"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/sdkruntime/sdkruntime-provider/build.gradle b/privacysandbox/sdkruntime/sdkruntime-provider/build.gradle
index 67a9568..83865d4 100644
--- a/privacysandbox/sdkruntime/sdkruntime-provider/build.gradle
+++ b/privacysandbox/sdkruntime/sdkruntime-provider/build.gradle
@@ -53,4 +53,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2023"
description = "Provides components for SdkRuntime aware SDKs"
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/ui/ui-client/build.gradle b/privacysandbox/ui/ui-client/build.gradle
index a217c36..fbf7583 100644
--- a/privacysandbox/ui/ui-client/build.gradle
+++ b/privacysandbox/ui/ui-client/build.gradle
@@ -70,4 +70,5 @@
inceptionYear = "2022"
description = "show UI from an SDKRuntime aware SDK"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/ui/ui-core/build.gradle b/privacysandbox/ui/ui-core/build.gradle
index e00b425..9ea0d9d 100644
--- a/privacysandbox/ui/ui-core/build.gradle
+++ b/privacysandbox/ui/ui-core/build.gradle
@@ -57,4 +57,5 @@
inceptionYear = "2022"
description = "contains core definitions for the privacysandbox ui library."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/privacysandbox/ui/ui-provider/build.gradle b/privacysandbox/ui/ui-provider/build.gradle
index bd21c28..d7ff1ce 100644
--- a/privacysandbox/ui/ui-provider/build.gradle
+++ b/privacysandbox/ui/ui-provider/build.gradle
@@ -62,4 +62,5 @@
inceptionYear = "2022"
description = "lets an SdkRuntime aware SDK share UI with a client application."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/room/room-paging-guava/build.gradle b/room/room-paging-guava/build.gradle
index d99383c..bcb43e8 100644
--- a/room/room-paging-guava/build.gradle
+++ b/room/room-paging-guava/build.gradle
@@ -55,6 +55,7 @@
inceptionYear = "2022"
description = "Guava integration in Room Paging"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/room/room-paging-rxjava2/build.gradle b/room/room-paging-rxjava2/build.gradle
index 2d284cb..c6cc16a 100644
--- a/room/room-paging-rxjava2/build.gradle
+++ b/room/room-paging-rxjava2/build.gradle
@@ -54,6 +54,7 @@
inceptionYear = "2022"
description = "RxJava2 integration in Room Paging"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/room/room-paging-rxjava3/build.gradle b/room/room-paging-rxjava3/build.gradle
index c3d1a02..8e84ee8 100644
--- a/room/room-paging-rxjava3/build.gradle
+++ b/room/room-paging-rxjava3/build.gradle
@@ -54,6 +54,7 @@
inceptionYear = "2022"
description = "RxJava3 integration in Room Paging"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/room/room-paging/build.gradle b/room/room-paging/build.gradle
index db7c4d3..4242cb5 100644
--- a/room/room-paging/build.gradle
+++ b/room/room-paging/build.gradle
@@ -65,4 +65,5 @@
inceptionYear = "2021"
description = "Room Paging integration"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/room/room-runtime/build.gradle b/room/room-runtime/build.gradle
index c196009..5b37e3c 100644
--- a/room/room-runtime/build.gradle
+++ b/room/room-runtime/build.gradle
@@ -224,4 +224,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2017"
description = "Android Room-Runtime"
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/room/room-rxjava2/build.gradle b/room/room-rxjava2/build.gradle
index 4b62363..f07d83d 100644
--- a/room/room-rxjava2/build.gradle
+++ b/room/room-rxjava2/build.gradle
@@ -51,6 +51,7 @@
inceptionYear = "2017"
description = "Android Room RXJava2"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/room/room-rxjava3/build.gradle b/room/room-rxjava3/build.gradle
index 182a912..f616b49 100644
--- a/room/room-rxjava3/build.gradle
+++ b/room/room-rxjava3/build.gradle
@@ -52,6 +52,7 @@
inceptionYear = "2020"
description = "Android Room RXJava3"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/room/room-testing/build.gradle b/room/room-testing/build.gradle
index 4c913fa..55a91b1 100644
--- a/room/room-testing/build.gradle
+++ b/room/room-testing/build.gradle
@@ -95,4 +95,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2017"
description = "Android Room Testing"
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/savedstate/savedstate/build.gradle b/savedstate/savedstate/build.gradle
index f0d698d..ae77ad8 100644
--- a/savedstate/savedstate/build.gradle
+++ b/savedstate/savedstate/build.gradle
@@ -79,4 +79,5 @@
inceptionYear = "2018"
description = "Android Lifecycle Saved State"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/security/security-biometric/build.gradle b/security/security-biometric/build.gradle
index 9b44a8b..accf6de 100644
--- a/security/security-biometric/build.gradle
+++ b/security/security-biometric/build.gradle
@@ -56,4 +56,5 @@
inceptionYear = "2020"
description = "AndroidX Security Biometric"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/security/security-crypto/build.gradle b/security/security-crypto/build.gradle
index 8c1e620..e3fd4db 100644
--- a/security/security-crypto/build.gradle
+++ b/security/security-crypto/build.gradle
@@ -59,4 +59,5 @@
inceptionYear = "2019"
description = "AndroidX Security"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/security/security-identity-credential/build.gradle b/security/security-identity-credential/build.gradle
index 0660df3..55255d9 100644
--- a/security/security-identity-credential/build.gradle
+++ b/security/security-identity-credential/build.gradle
@@ -59,4 +59,5 @@
inceptionYear = "2019"
description = "AndroidX Security"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/slidingpanelayout/slidingpanelayout/build.gradle b/slidingpanelayout/slidingpanelayout/build.gradle
index 5200147..e4447cd 100644
--- a/slidingpanelayout/slidingpanelayout/build.gradle
+++ b/slidingpanelayout/slidingpanelayout/build.gradle
@@ -35,6 +35,7 @@
inceptionYear = "2018"
description = "SlidingPaneLayout offers a responsive, two pane layout that automatically switches between overlapping panes on smaller devices to a side by side view on larger devices."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/sqlite/sqlite-bundled/build.gradle b/sqlite/sqlite-bundled/build.gradle
index baeb12a..be760d5 100644
--- a/sqlite/sqlite-bundled/build.gradle
+++ b/sqlite/sqlite-bundled/build.gradle
@@ -245,4 +245,5 @@
inceptionYear = "2023"
description = "The implementation of SQLite library using the bundled SQLite."
metalavaK2UastEnabled = false
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/sqlite/sqlite-framework/build.gradle b/sqlite/sqlite-framework/build.gradle
index 798e76c..9e82a20 100644
--- a/sqlite/sqlite-framework/build.gradle
+++ b/sqlite/sqlite-framework/build.gradle
@@ -145,6 +145,7 @@
inceptionYear = "2017"
description = "The implementation of SQLite library using the framework code."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/sqlite/sqlite-ktx/build.gradle b/sqlite/sqlite-ktx/build.gradle
index fd9573a..6fa6d03 100644
--- a/sqlite/sqlite-ktx/build.gradle
+++ b/sqlite/sqlite-ktx/build.gradle
@@ -43,6 +43,7 @@
inceptionYear = "2018"
description = "Kotlin extensions for DB"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/sqlite/sqlite/build.gradle b/sqlite/sqlite/build.gradle
index 2c007fa..e571e23 100644
--- a/sqlite/sqlite/build.gradle
+++ b/sqlite/sqlite/build.gradle
@@ -91,4 +91,5 @@
inceptionYear = "2017"
description = "SQLite API"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/startup/startup-runtime/build.gradle b/startup/startup-runtime/build.gradle
index 148c0fe..74ef161 100644
--- a/startup/startup-runtime/build.gradle
+++ b/startup/startup-runtime/build.gradle
@@ -61,4 +61,5 @@
inceptionYear = "2020"
description = "Android App Startup Runtime"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/test/ext/junit-gtest/build.gradle b/test/ext/junit-gtest/build.gradle
index 0ca8d49..8fe1d7b 100644
--- a/test/ext/junit-gtest/build.gradle
+++ b/test/ext/junit-gtest/build.gradle
@@ -46,6 +46,7 @@
inceptionYear = "2022"
description = "Run GTest tests on Android devices"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
// Bypassed to better match existing androidx.test libraries
bypassCoordinateValidation = true
}
diff --git a/tracing/tracing-ktx/build.gradle b/tracing/tracing-ktx/build.gradle
index 4a33a5e..5a500d8 100644
--- a/tracing/tracing-ktx/build.gradle
+++ b/tracing/tracing-ktx/build.gradle
@@ -46,6 +46,7 @@
inceptionYear = "2020"
description = "Android Tracing"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/tracing/tracing-perfetto/build.gradle b/tracing/tracing-perfetto/build.gradle
index b257ebf..eed7af0 100644
--- a/tracing/tracing-perfetto/build.gradle
+++ b/tracing/tracing-perfetto/build.gradle
@@ -70,6 +70,7 @@
inceptionYear = "2022"
description = "AndroidX Tracing: Perfetto SDK"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/tracing/tracing/build.gradle b/tracing/tracing/build.gradle
index 9cc9f74..59e89ab 100644
--- a/tracing/tracing/build.gradle
+++ b/tracing/tracing/build.gradle
@@ -44,6 +44,7 @@
inceptionYear = "2020"
description = "Android Tracing"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/transition/transition/build.gradle b/transition/transition/build.gradle
index 28719bb..bac866b 100644
--- a/transition/transition/build.gradle
+++ b/transition/transition/build.gradle
@@ -58,4 +58,5 @@
inceptionYear = "2016"
description = "Android Transition Support Library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/tv/tv-foundation/build.gradle b/tv/tv-foundation/build.gradle
index 1e83ff7..fbcaffc 100644
--- a/tv/tv-foundation/build.gradle
+++ b/tv/tv-foundation/build.gradle
@@ -74,6 +74,7 @@
"to write Jetpack Compose applications for TV devices by providing " +
"functionality to support TV specific devices sizes, shapes and d-pad navigation " +
"supported components. It builds upon the Jetpack Compose libraries."
+ legacyDisableKotlinStrictApiMode = true
}
// Functions and tasks to monitor changes in copied files.
diff --git a/tv/tv-material/build.gradle b/tv/tv-material/build.gradle
index e471d39..5c09bcc 100644
--- a/tv/tv-material/build.gradle
+++ b/tv/tv-material/build.gradle
@@ -75,5 +75,6 @@
mavenVersion = LibraryVersions.TV_MATERIAL
inceptionYear = "2022"
description = "build TV applications using controls that adhere to Material Design Language."
+ legacyDisableKotlinStrictApiMode = true
samples(project(":tv:tv-material-samples"))
}
diff --git a/viewpager2/viewpager2/build.gradle b/viewpager2/viewpager2/build.gradle
index 85e4587..101a186 100644
--- a/viewpager2/viewpager2/build.gradle
+++ b/viewpager2/viewpager2/build.gradle
@@ -64,6 +64,7 @@
inceptionYear = "2017"
description = "AndroidX Widget ViewPager2"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/wear/compose/compose-foundation/build.gradle b/wear/compose/compose-foundation/build.gradle
index fc2db41..78025bf 100644
--- a/wear/compose/compose-foundation/build.gradle
+++ b/wear/compose/compose-foundation/build.gradle
@@ -89,4 +89,5 @@
"functionality to support wearable specific devices sizes, shapes and navigation " +
"gestures. It builds upon the Jetpack Compose libraries."
samples(project(":wear:compose:compose-foundation-samples"))
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/compose/compose-material-core/build.gradle b/wear/compose/compose-material-core/build.gradle
index 453d7c8..d1fc58f 100644
--- a/wear/compose/compose-material-core/build.gradle
+++ b/wear/compose/compose-material-core/build.gradle
@@ -81,6 +81,7 @@
"components that are shared between different WearOS Compose Material libraries. It " +
"builds upon the Jetpack Compose libraries."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
tasks.withType(KotlinCompile).configureEach {
diff --git a/wear/compose/compose-material/build.gradle b/wear/compose/compose-material/build.gradle
index 3ebb04b..a24813a 100644
--- a/wear/compose/compose-material/build.gradle
+++ b/wear/compose/compose-material/build.gradle
@@ -86,5 +86,6 @@
"to write Jetpack Compose applications for Wearable devices that implement Wear " +
"Material Design UX guidelines and specifications. It builds upon the Jetpack Compose" +
" libraries."
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:compose:compose-material-samples"))
}
diff --git a/wear/compose/compose-material3/build.gradle b/wear/compose/compose-material3/build.gradle
index ca1c2d0..5f694ed 100644
--- a/wear/compose/compose-material3/build.gradle
+++ b/wear/compose/compose-material3/build.gradle
@@ -85,6 +85,7 @@
"developers to write Jetpack Compose applications for Wearable devices that " +
"implement Wear Material 3 Design UX guidelines and specifications. It builds upon " +
"the Jetpack Compose libraries."
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:compose:compose-material3-samples"))
}
diff --git a/wear/compose/compose-navigation/build.gradle b/wear/compose/compose-navigation/build.gradle
index 50029a1..ffe881c 100644
--- a/wear/compose/compose-navigation/build.gradle
+++ b/wear/compose/compose-navigation/build.gradle
@@ -75,5 +75,6 @@
"functionality to support navigation. " +
"It builds upon the Jetpack Compose libraries."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:compose:compose-navigation-samples"))
}
diff --git a/wear/compose/compose-ui-tooling/build.gradle b/wear/compose/compose-ui-tooling/build.gradle
index bb595ff..b1615c5 100644
--- a/wear/compose/compose-ui-tooling/build.gradle
+++ b/wear/compose/compose-ui-tooling/build.gradle
@@ -48,5 +48,6 @@
inceptionYear = "2023"
description = "Tools for Wear Composable"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:compose:compose-material-samples"))
}
diff --git a/wear/protolayout/protolayout/build.gradle b/wear/protolayout/protolayout/build.gradle
index c4ade49..5d37b2ad 100644
--- a/wear/protolayout/protolayout/build.gradle
+++ b/wear/protolayout/protolayout/build.gradle
@@ -62,4 +62,5 @@
inceptionYear = "2022"
description = "Create layouts that can be rendered by a remote host."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/tiles/tiles-material/build.gradle b/wear/tiles/tiles-material/build.gradle
index e102879..038a4cd 100644
--- a/wear/tiles/tiles-material/build.gradle
+++ b/wear/tiles/tiles-material/build.gradle
@@ -80,4 +80,5 @@
inceptionYear = "2021"
description = "Material components library for Android Wear Tiles."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/tiles/tiles-renderer/build.gradle b/wear/tiles/tiles-renderer/build.gradle
index c039144..013efbb 100644
--- a/wear/tiles/tiles-renderer/build.gradle
+++ b/wear/tiles/tiles-renderer/build.gradle
@@ -106,5 +106,6 @@
description = "Android Wear Tiles Renderer components. These components can be used to parse " +
"and render an already constructed Wear Tile."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/tiles/tiles-testing/build.gradle b/wear/tiles/tiles-testing/build.gradle
index 13a1bb3..9ee133a 100644
--- a/wear/tiles/tiles-testing/build.gradle
+++ b/wear/tiles/tiles-testing/build.gradle
@@ -73,4 +73,5 @@
inceptionYear = "2021"
description = "Testing utilities for Android Wear Tiles."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/tiles/tiles-tooling-preview/build.gradle b/wear/tiles/tiles-tooling-preview/build.gradle
index 3e1eab0..1690145 100644
--- a/wear/tiles/tiles-tooling-preview/build.gradle
+++ b/wear/tiles/tiles-tooling-preview/build.gradle
@@ -53,4 +53,5 @@
description = "Wear Tile tooling library. This library provides the API required to declare" +
" @Preview on previewable methods in the IDE."
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/tiles/tiles-tooling/build.gradle b/wear/tiles/tiles-tooling/build.gradle
index 502aea7..394d0db 100644
--- a/wear/tiles/tiles-tooling/build.gradle
+++ b/wear/tiles/tiles-tooling/build.gradle
@@ -49,4 +49,5 @@
inceptionYear = "2023"
description = "A set of tools that are used to preview Tile components in Android Studio"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-client-guava/build.gradle b/wear/watchface/watchface-client-guava/build.gradle
index 6b66845..e268168 100644
--- a/wear/watchface/watchface-client-guava/build.gradle
+++ b/wear/watchface/watchface-client-guava/build.gradle
@@ -52,6 +52,7 @@
inceptionYear = "2021"
description = "Guava wrappers for the Androidx Wear Watchface library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/wear/watchface/watchface-client/build.gradle b/wear/watchface/watchface-client/build.gradle
index 3c846d9..1b8300c 100644
--- a/wear/watchface/watchface-client/build.gradle
+++ b/wear/watchface/watchface-client/build.gradle
@@ -77,4 +77,5 @@
inceptionYear = "2020"
description = "Client library for controlling androidx watchfaces"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-complications-data-source-ktx/build.gradle b/wear/watchface/watchface-complications-data-source-ktx/build.gradle
index dcd380b..735a43a 100644
--- a/wear/watchface/watchface-complications-data-source-ktx/build.gradle
+++ b/wear/watchface/watchface-complications-data-source-ktx/build.gradle
@@ -49,5 +49,6 @@
inceptionYear = "2021"
description = "Kotlin suspend wrapper for Android Wear Complications Data Source"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-complications-data-source/build.gradle b/wear/watchface/watchface-complications-data-source/build.gradle
index 031cda2..e3453eb 100644
--- a/wear/watchface/watchface-complications-data-source/build.gradle
+++ b/wear/watchface/watchface-complications-data-source/build.gradle
@@ -66,4 +66,5 @@
inceptionYear = "2020"
description = "Android Wear Complications Data Source"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-complications-data/build.gradle b/wear/watchface/watchface-complications-data/build.gradle
index baa0f35..e66547f 100644
--- a/wear/watchface/watchface-complications-data/build.gradle
+++ b/wear/watchface/watchface-complications-data/build.gradle
@@ -81,4 +81,5 @@
inceptionYear = "2020"
description = "Android Wear Complications Data"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-complications-rendering/build.gradle b/wear/watchface/watchface-complications-rendering/build.gradle
index 563a405..b8a8897 100644
--- a/wear/watchface/watchface-complications-rendering/build.gradle
+++ b/wear/watchface/watchface-complications-rendering/build.gradle
@@ -73,4 +73,5 @@
inceptionYear = "2020"
description = "Support for rendering complications on the watch face"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-complications/build.gradle b/wear/watchface/watchface-complications/build.gradle
index d1bbe0f..c1e42cf 100644
--- a/wear/watchface/watchface-complications/build.gradle
+++ b/wear/watchface/watchface-complications/build.gradle
@@ -71,4 +71,5 @@
inceptionYear = "2021"
description = "Android Wear Complications"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-data/build.gradle b/wear/watchface/watchface-data/build.gradle
index ca8de26..1e727fb 100644
--- a/wear/watchface/watchface-data/build.gradle
+++ b/wear/watchface/watchface-data/build.gradle
@@ -60,4 +60,5 @@
inceptionYear = "2020"
description = "Android Wear Watchface hidden AIDL implementaion details"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface-editor-guava/build.gradle b/wear/watchface/watchface-editor-guava/build.gradle
index 3234cf6..13c6935 100644
--- a/wear/watchface/watchface-editor-guava/build.gradle
+++ b/wear/watchface/watchface-editor-guava/build.gradle
@@ -50,6 +50,7 @@
inceptionYear = "2021"
description = "Guava wrappers for the Androidx Wear Watchface Editor library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/wear/watchface/watchface-editor/build.gradle b/wear/watchface/watchface-editor/build.gradle
index 661f387..3b439c5 100644
--- a/wear/watchface/watchface-editor/build.gradle
+++ b/wear/watchface/watchface-editor/build.gradle
@@ -69,5 +69,6 @@
inceptionYear = "2020"
description = "Classes for building Android Wear watchface editors"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:watchface:watchface-samples"))
}
diff --git a/wear/watchface/watchface-guava/build.gradle b/wear/watchface/watchface-guava/build.gradle
index f15c90c..325fb31 100644
--- a/wear/watchface/watchface-guava/build.gradle
+++ b/wear/watchface/watchface-guava/build.gradle
@@ -57,6 +57,7 @@
inceptionYear = "2021"
description = "Guava wrappers for the Androidx Wear Watchface library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/wear/watchface/watchface-style/build.gradle b/wear/watchface/watchface-style/build.gradle
index 44bdacd..f7a6b92 100644
--- a/wear/watchface/watchface-style/build.gradle
+++ b/wear/watchface/watchface-style/build.gradle
@@ -107,4 +107,5 @@
inceptionYear = "2020"
description = "Android Wear Watchface Style"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/watchface/watchface/build.gradle b/wear/watchface/watchface/build.gradle
index acd6d18..bf7d2be 100644
--- a/wear/watchface/watchface/build.gradle
+++ b/wear/watchface/watchface/build.gradle
@@ -83,5 +83,6 @@
inceptionYear = "2020"
description = "Android Wear Watchface"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:watchface:watchface-samples"))
}
diff --git a/wear/wear-core/build.gradle b/wear/wear-core/build.gradle
index bd9bade..b8bf9d0 100644
--- a/wear/wear-core/build.gradle
+++ b/wear/wear-core/build.gradle
@@ -51,4 +51,5 @@
mavenVersion = LibraryVersions.WEAR_CORE
inceptionYear = "2024"
description = "Low-level utilities for building apps and libraries for Wear OS."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/wear-input/build.gradle b/wear/wear-input/build.gradle
index a7518f8..82fb5fb 100644
--- a/wear/wear-input/build.gradle
+++ b/wear/wear-input/build.gradle
@@ -62,5 +62,6 @@
inceptionYear = "2020"
description = "Android Wear Support Input"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:wear-input-samples"))
}
diff --git a/wear/wear-ongoing/build.gradle b/wear/wear-ongoing/build.gradle
index 5abd578..164a186 100644
--- a/wear/wear-ongoing/build.gradle
+++ b/wear/wear-ongoing/build.gradle
@@ -45,4 +45,5 @@
inceptionYear = "2021"
description = "Android Wear Ongoing Activities"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/wear-phone-interactions/build.gradle b/wear/wear-phone-interactions/build.gradle
index bbaf5ab..1945068 100644
--- a/wear/wear-phone-interactions/build.gradle
+++ b/wear/wear-phone-interactions/build.gradle
@@ -78,5 +78,6 @@
inceptionYear = "2021"
description = "Android Wear Phone Interactions"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:wear-phone-interactions-samples"))
}
diff --git a/wear/wear-remote-interactions/build.gradle b/wear/wear-remote-interactions/build.gradle
index ea7436f..29bd789 100644
--- a/wear/wear-remote-interactions/build.gradle
+++ b/wear/wear-remote-interactions/build.gradle
@@ -77,5 +77,6 @@
inceptionYear = "2020"
description = "Android Wear Remote Interactions"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
samples(project(":wear:wear-remote-interactions-samples"))
}
diff --git a/wear/wear-tooling-preview/build.gradle b/wear/wear-tooling-preview/build.gradle
index 77b14a1..20c87ee 100644
--- a/wear/wear-tooling-preview/build.gradle
+++ b/wear/wear-tooling-preview/build.gradle
@@ -48,4 +48,5 @@
type = LibraryType.PUBLISHED_LIBRARY
mavenVersion = LibraryVersions.WEAR_TOOLING_PREVIEW
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/wear/wear/build.gradle b/wear/wear/build.gradle
index cd47174..070e8bb 100644
--- a/wear/wear/build.gradle
+++ b/wear/wear/build.gradle
@@ -78,4 +78,5 @@
description = "Android Wear Support UI"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/window/extensions/core/core/build.gradle b/window/extensions/core/core/build.gradle
index 3f919e9..dd41986 100644
--- a/window/extensions/core/core/build.gradle
+++ b/window/extensions/core/core/build.gradle
@@ -57,4 +57,5 @@
inceptionYear = "2022"
description = "The Core APIs for Window Manager Library Extensions"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/window/window-core/build.gradle b/window/window-core/build.gradle
index 8844a30..7d81e47 100644
--- a/window/window-core/build.gradle
+++ b/window/window-core/build.gradle
@@ -73,4 +73,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2022"
description = "WindowManager Core Library."
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/window/window-java/build.gradle b/window/window-java/build.gradle
index cff62ff..77182db 100644
--- a/window/window-java/build.gradle
+++ b/window/window-java/build.gradle
@@ -58,6 +58,7 @@
inceptionYear = "2021"
description = "WindowManager Java Support"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/window/window-rxjava2/build.gradle b/window/window-rxjava2/build.gradle
index db3f938..dd849e3 100644
--- a/window/window-rxjava2/build.gradle
+++ b/window/window-rxjava2/build.gradle
@@ -61,4 +61,5 @@
inceptionYear = "2021"
description = "WindowManager RxJava 2"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/window/window-rxjava3/build.gradle b/window/window-rxjava3/build.gradle
index 96fd6a3..8e24e21 100644
--- a/window/window-rxjava3/build.gradle
+++ b/window/window-rxjava3/build.gradle
@@ -61,4 +61,5 @@
inceptionYear = "2021"
description = "WindowManager RxJava 3 Support"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/window/window-testing/build.gradle b/window/window-testing/build.gradle
index 60e9a1d..0e5fe4b 100644
--- a/window/window-testing/build.gradle
+++ b/window/window-testing/build.gradle
@@ -68,4 +68,5 @@
inceptionYear = "2021"
description = "WindowManager Test Library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/window/window/build.gradle b/window/window/build.gradle
index 0a42571..076e5af 100644
--- a/window/window/build.gradle
+++ b/window/window/build.gradle
@@ -111,5 +111,6 @@
// Suppressing deprecation warnings, since there is a need to maintain compatibility with old
// Sidecar interface.
failOnDeprecationWarnings = false
+ legacyDisableKotlinStrictApiMode = true
samples(project(":window:window-samples"))
}
diff --git a/work/work-gcm/build.gradle b/work/work-gcm/build.gradle
index 776e48b..a6faef5 100644
--- a/work/work-gcm/build.gradle
+++ b/work/work-gcm/build.gradle
@@ -59,4 +59,5 @@
inceptionYear = "2019"
description = "Android WorkManager GCMNetworkManager Support"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/work/work-inspection/build.gradle b/work/work-inspection/build.gradle
index 55df537..b06520e 100644
--- a/work/work-inspection/build.gradle
+++ b/work/work-inspection/build.gradle
@@ -53,6 +53,7 @@
type = LibraryType.IDE_PLUGIN
inceptionYear = "2020"
description = "The implementation of WorkManager Inspector."
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/work/work-multiprocess/build.gradle b/work/work-multiprocess/build.gradle
index ae02933..4bbfa45 100644
--- a/work/work-multiprocess/build.gradle
+++ b/work/work-multiprocess/build.gradle
@@ -64,4 +64,5 @@
description = "Android WorkManager runtime library"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/work/work-runtime-ktx/build.gradle b/work/work-runtime-ktx/build.gradle
index 8a60f47..e7a7ef4 100644
--- a/work/work-runtime-ktx/build.gradle
+++ b/work/work-runtime-ktx/build.gradle
@@ -39,6 +39,7 @@
inceptionYear = "2018"
description = "Android WorkManager Kotlin Extensions"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/work/work-runtime/build.gradle b/work/work-runtime/build.gradle
index c21307a..12a267e 100644
--- a/work/work-runtime/build.gradle
+++ b/work/work-runtime/build.gradle
@@ -109,4 +109,5 @@
description = "Android WorkManager runtime library"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
diff --git a/work/work-rxjava2/build.gradle b/work/work-rxjava2/build.gradle
index 79506cb..0a17f15 100644
--- a/work/work-rxjava2/build.gradle
+++ b/work/work-rxjava2/build.gradle
@@ -46,6 +46,7 @@
description = "Android WorkManager RxJava2 interoperatibility library"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/work/work-rxjava3/build.gradle b/work/work-rxjava3/build.gradle
index d15e7a5..8457e44 100644
--- a/work/work-rxjava3/build.gradle
+++ b/work/work-rxjava3/build.gradle
@@ -45,6 +45,7 @@
inceptionYear = "2020"
description = "Android WorkManager RxJava3 interoperatibility library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {
diff --git a/work/work-testing/build.gradle b/work/work-testing/build.gradle
index 42f40dc..98400b8 100644
--- a/work/work-testing/build.gradle
+++ b/work/work-testing/build.gradle
@@ -60,6 +60,7 @@
inceptionYear = "2018"
description = "Android WorkManager testing library"
metalavaK2UastEnabled = true
+ legacyDisableKotlinStrictApiMode = true
}
android {