diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 550abe5..efa2d16 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,13 @@ # How to become a contributor and submit your own code +## Documentation + +Note the all the documentation under docs/ is only a mirror; +the original documentation is maintained in the Android +source code repository: + +https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/docs/ + ## Contributor License Agreements We'd love to accept your sample apps and patches! Before we can take them, we diff --git a/docs/checks/AlertDialogUsage.md.html b/docs/checks/AlertDialogUsage.md.html index cc5ff5f..0806e8e 100644 --- a/docs/checks/AlertDialogUsage.md.html +++ b/docs/checks/AlertDialogUsage.md.html @@ -89,6 +89,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/AppLinkUrlError.md.html b/docs/checks/AppLinkUrlError.md.html index 8a3558c..f9e6d18 100644 --- a/docs/checks/AppLinkUrlError.md.html +++ b/docs/checks/AppLinkUrlError.md.html @@ -58,7 +58,7 @@ package="test.pkg" > <application> - <activity> + <activity android:name=".MainActivity"> <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> diff --git a/docs/checks/ArcAnimationSpecTypeIssue.md.html b/docs/checks/ArcAnimationSpecTypeIssue.md.html index 74cc928..f7cc8c0 100644 --- a/docs/checks/ArcAnimationSpecTypeIssue.md.html +++ b/docs/checks/ArcAnimationSpecTypeIssue.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -99,25 +99,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-rc01" +animation-core-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: animation-core-android = { module = "androidx.compose.animation:animation-core-android", version.ref = "animation-core-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html). diff --git a/docs/checks/ArgInFormattedQuantityStringRes.md.html b/docs/checks/ArgInFormattedQuantityStringRes.md.html index bb45821..a4982c7 100644 --- a/docs/checks/ArgInFormattedQuantityStringRes.md.html +++ b/docs/checks/ArgInFormattedQuantityStringRes.md.html @@ -103,6 +103,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/AssertjImport.md.html b/docs/checks/AssertjImport.md.html index 46296df..ee3c1bb 100644 --- a/docs/checks/AssertjImport.md.html +++ b/docs/checks/AssertjImport.md.html @@ -63,6 +63,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/AutoDispose.md.html b/docs/checks/AutoDispose.md.html index 7aca395..9cf5a2f 100644 --- a/docs/checks/AutoDispose.md.html +++ b/docs/checks/AutoDispose.md.html @@ -107,6 +107,10 @@ [versions] autodispose-lint = "2.2.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: autodispose-lint = { module = "com.uber.autodispose2:autodispose-lint", version.ref = "autodispose-lint" diff --git a/docs/checks/AutoboxingStateCreation.md.html b/docs/checks/AutoboxingStateCreation.md.html index cb30bb5..4c5c68f 100644 --- a/docs/checks/AutoboxingStateCreation.md.html +++ b/docs/checks/AutoboxingStateCreation.md.html @@ -94,25 +94,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/AutoboxingStateValueProperty.md.html b/docs/checks/AutoboxingStateValueProperty.md.html index 0f70c78..62608cb 100644 --- a/docs/checks/AutoboxingStateValueProperty.md.html +++ b/docs/checks/AutoboxingStateValueProperty.md.html @@ -89,25 +89,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/BadConfigurationProvider.md.html b/docs/checks/BadConfigurationProvider.md.html index 3894e48..7dabbc7 100644 --- a/docs/checks/BadConfigurationProvider.md.html +++ b/docs/checks/BadConfigurationProvider.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -96,25 +96,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/BadPeriodicWorkRequestEnqueue.md.html b/docs/checks/BadPeriodicWorkRequestEnqueue.md.html index bc5aa8c..ff4828d 100644 --- a/docs/checks/BadPeriodicWorkRequestEnqueue.md.html +++ b/docs/checks/BadPeriodicWorkRequestEnqueue.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -52,25 +52,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/BinaryOperationInTimber.md.html b/docs/checks/BinaryOperationInTimber.md.html index ee534f0..1bd897a 100644 --- a/docs/checks/BinaryOperationInTimber.md.html +++ b/docs/checks/BinaryOperationInTimber.md.html @@ -39,6 +39,9 @@ Since Timber handles String#format() automatically, use this instead of String concatenation. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -105,6 +108,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/BindingReceiverParameter.md.html b/docs/checks/BindingReceiverParameter.md.html index 517c2c6..d9fba17 100644 --- a/docs/checks/BindingReceiverParameter.md.html +++ b/docs/checks/BindingReceiverParameter.md.html @@ -156,6 +156,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/BindingReturnType.md.html b/docs/checks/BindingReturnType.md.html index 02bdac6..5b94f62 100644 --- a/docs/checks/BindingReturnType.md.html +++ b/docs/checks/BindingReturnType.md.html @@ -113,6 +113,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/BindsMustBeAbstract.md.html b/docs/checks/BindsMustBeAbstract.md.html index 334c6d3..97a8aff 100644 --- a/docs/checks/BindsMustBeAbstract.md.html +++ b/docs/checks/BindsMustBeAbstract.md.html @@ -112,6 +112,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/BindsTypeMismatch.md.html b/docs/checks/BindsTypeMismatch.md.html index 20f9551..0c8480b 100644 --- a/docs/checks/BindsTypeMismatch.md.html +++ b/docs/checks/BindsTypeMismatch.md.html @@ -121,6 +121,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/BindsWrongParameterCount.md.html b/docs/checks/BindsWrongParameterCount.md.html index a291bec..1d65930 100644 --- a/docs/checks/BindsWrongParameterCount.md.html +++ b/docs/checks/BindsWrongParameterCount.md.html @@ -102,6 +102,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/BomWithoutPlatform.md.html b/docs/checks/BomWithoutPlatform.md.html index 0ce5678..fe61fc7 100644 --- a/docs/checks/BomWithoutPlatform.md.html +++ b/docs/checks/BomWithoutPlatform.md.html @@ -34,6 +34,9 @@ When including a BOM, the dependency's coordinates must be wrapped in a call to `platform()` for Gradle to interpret it correctly. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/CastingViewContextToActivity.md.html b/docs/checks/CastingViewContextToActivity.md.html index f6e6a0d..e8ddc13 100644 --- a/docs/checks/CastingViewContextToActivity.md.html +++ b/docs/checks/CastingViewContextToActivity.md.html @@ -66,6 +66,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/ColorCasing.md.html b/docs/checks/ColorCasing.md.html index bbd56ab..2c1719f 100644 --- a/docs/checks/ColorCasing.md.html +++ b/docs/checks/ColorCasing.md.html @@ -88,6 +88,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/ComposableDestinationInComposeScope.md.html b/docs/checks/ComposableDestinationInComposeScope.md.html index 6143c4d..1ea8d51 100644 --- a/docs/checks/ComposableDestinationInComposeScope.md.html +++ b/docs/checks/ComposableDestinationInComposeScope.md.html @@ -88,25 +88,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-rc01") +implementation("androidx.navigation:navigation-compose:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' +implementation 'androidx.navigation:navigation-compose:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.8.0-rc01" +navigation-compose = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/ComposableLambdaParameterNaming.md.html b/docs/checks/ComposableLambdaParameterNaming.md.html index b31eadf..3180d20 100644 --- a/docs/checks/ComposableLambdaParameterNaming.md.html +++ b/docs/checks/ComposableLambdaParameterNaming.md.html @@ -43,6 +43,9 @@ Composable functions with only one composable lambda parameter should use the name `content` for the parameter. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -84,25 +87,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ComposableLambdaParameterPosition.md.html b/docs/checks/ComposableLambdaParameterPosition.md.html index aa905c6..9823aa7 100644 --- a/docs/checks/ComposableLambdaParameterPosition.md.html +++ b/docs/checks/ComposableLambdaParameterPosition.md.html @@ -86,25 +86,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ComposableNaming.md.html b/docs/checks/ComposableNaming.md.html index b22d03b..23c30ce 100644 --- a/docs/checks/ComposableNaming.md.html +++ b/docs/checks/ComposableNaming.md.html @@ -86,25 +86,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ComposableNavGraphInComposeScope.md.html b/docs/checks/ComposableNavGraphInComposeScope.md.html index 22fb608..e813dee 100644 --- a/docs/checks/ComposableNavGraphInComposeScope.md.html +++ b/docs/checks/ComposableNavGraphInComposeScope.md.html @@ -88,25 +88,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-rc01") +implementation("androidx.navigation:navigation-compose:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' +implementation 'androidx.navigation:navigation-compose:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.8.0-rc01" +navigation-compose = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/ComposeComposableModifier.md.html b/docs/checks/ComposeComposableModifier.md.html index f10ae73..3e9cff6 100644 --- a/docs/checks/ComposeComposableModifier.md.html +++ b/docs/checks/ComposeComposableModifier.md.html @@ -110,6 +110,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeCompositionLocalGetter.md.html b/docs/checks/ComposeCompositionLocalGetter.md.html index 0555caf..4f3cdac 100644 --- a/docs/checks/ComposeCompositionLocalGetter.md.html +++ b/docs/checks/ComposeCompositionLocalGetter.md.html @@ -117,6 +117,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeCompositionLocalUsage.md.html b/docs/checks/ComposeCompositionLocalUsage.md.html index d6db260..d68a5b9 100644 --- a/docs/checks/ComposeCompositionLocalUsage.md.html +++ b/docs/checks/ComposeCompositionLocalUsage.md.html @@ -133,6 +133,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeContentEmitterReturningValues.md.html b/docs/checks/ComposeContentEmitterReturningValues.md.html index 8db10d3..8658216 100644 --- a/docs/checks/ComposeContentEmitterReturningValues.md.html +++ b/docs/checks/ComposeContentEmitterReturningValues.md.html @@ -138,6 +138,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeM2Api.md.html b/docs/checks/ComposeM2Api.md.html index 5a088d2..b68cfbb 100644 --- a/docs/checks/ComposeM2Api.md.html +++ b/docs/checks/ComposeM2Api.md.html @@ -174,6 +174,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeModifierComposed.md.html b/docs/checks/ComposeModifierComposed.md.html index 20d1933..a89c32f 100644 --- a/docs/checks/ComposeModifierComposed.md.html +++ b/docs/checks/ComposeModifierComposed.md.html @@ -128,6 +128,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeModifierMissing.md.html b/docs/checks/ComposeModifierMissing.md.html index 6a711b2..04460b9 100644 --- a/docs/checks/ComposeModifierMissing.md.html +++ b/docs/checks/ComposeModifierMissing.md.html @@ -166,6 +166,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeModifierReused.md.html b/docs/checks/ComposeModifierReused.md.html index 2d36c31..1f40c3e 100644 --- a/docs/checks/ComposeModifierReused.md.html +++ b/docs/checks/ComposeModifierReused.md.html @@ -250,6 +250,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeModifierWithoutDefault.md.html b/docs/checks/ComposeModifierWithoutDefault.md.html index 0a8905f..4f443d9 100644 --- a/docs/checks/ComposeModifierWithoutDefault.md.html +++ b/docs/checks/ComposeModifierWithoutDefault.md.html @@ -107,6 +107,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeMultipleContentEmitters.md.html b/docs/checks/ComposeMultipleContentEmitters.md.html index 927b093..855abf9 100644 --- a/docs/checks/ComposeMultipleContentEmitters.md.html +++ b/docs/checks/ComposeMultipleContentEmitters.md.html @@ -133,6 +133,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeMutableParameters.md.html b/docs/checks/ComposeMutableParameters.md.html index d608308..30944b4 100644 --- a/docs/checks/ComposeMutableParameters.md.html +++ b/docs/checks/ComposeMutableParameters.md.html @@ -134,6 +134,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeNamingLowercase.md.html b/docs/checks/ComposeNamingLowercase.md.html index 77e3530..8924aaa 100644 --- a/docs/checks/ComposeNamingLowercase.md.html +++ b/docs/checks/ComposeNamingLowercase.md.html @@ -115,6 +115,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeNamingUppercase.md.html b/docs/checks/ComposeNamingUppercase.md.html index d521469..ade7982 100644 --- a/docs/checks/ComposeNamingUppercase.md.html +++ b/docs/checks/ComposeNamingUppercase.md.html @@ -125,6 +125,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeParameterOrder.md.html b/docs/checks/ComposeParameterOrder.md.html index db53bcc..d1d41a0 100644 --- a/docs/checks/ComposeParameterOrder.md.html +++ b/docs/checks/ComposeParameterOrder.md.html @@ -163,6 +163,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposePreviewNaming.md.html b/docs/checks/ComposePreviewNaming.md.html index 9394500..5defc7c 100644 --- a/docs/checks/ComposePreviewNaming.md.html +++ b/docs/checks/ComposePreviewNaming.md.html @@ -111,6 +111,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposePreviewPublic.md.html b/docs/checks/ComposePreviewPublic.md.html index 34c60b4..8db75c4 100644 --- a/docs/checks/ComposePreviewPublic.md.html +++ b/docs/checks/ComposePreviewPublic.md.html @@ -116,6 +116,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeRememberMissing.md.html b/docs/checks/ComposeRememberMissing.md.html index 5488b89..b497aca 100644 --- a/docs/checks/ComposeRememberMissing.md.html +++ b/docs/checks/ComposeRememberMissing.md.html @@ -111,6 +111,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeUnstableCollections.md.html b/docs/checks/ComposeUnstableCollections.md.html index 625e4cc..bce9397 100644 --- a/docs/checks/ComposeUnstableCollections.md.html +++ b/docs/checks/ComposeUnstableCollections.md.html @@ -136,6 +136,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeUnstableReceiver.md.html b/docs/checks/ComposeUnstableReceiver.md.html index 6beac5d..0c9e3e8 100644 --- a/docs/checks/ComposeUnstableReceiver.md.html +++ b/docs/checks/ComposeUnstableReceiver.md.html @@ -152,6 +152,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeViewModelForwarding.md.html b/docs/checks/ComposeViewModelForwarding.md.html index 9f6e5b3..a806c56 100644 --- a/docs/checks/ComposeViewModelForwarding.md.html +++ b/docs/checks/ComposeViewModelForwarding.md.html @@ -100,6 +100,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/ComposeViewModelInjection.md.html b/docs/checks/ComposeViewModelInjection.md.html index cd48e79..42598b3 100644 --- a/docs/checks/ComposeViewModelInjection.md.html +++ b/docs/checks/ComposeViewModelInjection.md.html @@ -143,6 +143,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/CompositionLocalNaming.md.html b/docs/checks/CompositionLocalNaming.md.html index 71e0eb1..c3c7894 100644 --- a/docs/checks/CompositionLocalNaming.md.html +++ b/docs/checks/CompositionLocalNaming.md.html @@ -103,25 +103,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ConflictingOnColor.md.html b/docs/checks/ConflictingOnColor.md.html index 94b3b0b..02cc4b0 100644 --- a/docs/checks/ConflictingOnColor.md.html +++ b/docs/checks/ConflictingOnColor.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -180,25 +180,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.7.0-rc01") +implementation("androidx.compose.material:material-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.material:material-android:1.7.0-rc01' +implementation 'androidx.compose.material:material-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.7.0-rc01" +material-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: material-android = { module = "androidx.compose.material:material-android", version.ref = "material-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.material:material-android](androidx_compose_material_material-android.md.html). diff --git a/docs/checks/ConstantContentStateKeyInItemsCall.md.html b/docs/checks/ConstantContentStateKeyInItemsCall.md.html new file mode 100644 index 0000000..9c6b677 --- /dev/null +++ b/docs/checks/ConstantContentStateKeyInItemsCall.md.html @@ -0,0 +1,315 @@ + +(#) Composables within an LazyList `items` call should have unique content state keys + +!!! ERROR: Composables within an LazyList `items` call should have unique content state keys + This is an error. + +Id +: `ConstantContentStateKeyInItemsCall` +Summary +: Composables within an LazyList `items` call should have unique content state keys +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Jetpack Compose +Identifier +: androidx.compose.animation +Feedback +: https://issuetracker.google.com/issues/new?component=612128 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) + +Affects +: Kotlin and Java files and test sources +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/main/java/androidx/compose/animation/lint/SharedTransitionScopeDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/test/java/androidx/compose/animation/lint/SharedTransitionScopeDetectorTest.kt) +Copyright Year +: 2024 + +When using shared elements (`Modifier.sharedElement` or +`Modifier.sharedBounds`) in a LazyList, each Composable within an +`items` block should have its own unique key. Otherwise, only one item +of the visible layout will be rendered, regardless if there's an ongoing +shared element transition. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/foo/test.kt:20:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + state = rememberSharedContentState("Foo"), + --------------------------------- +src/foo/test.kt:27:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + sharedContentState = rememberSharedContentState("Foo" + "Bar"), + ----------------------------------------- +src/foo/test.kt:34:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + state = rememberSharedContentState(0), + ----------------------------- +src/foo/test.kt:43:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + state = rememberSharedContentState("Foo"), + --------------------------------- +src/foo/test.kt:50:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + sharedContentState = rememberSharedContentState("Foo" + "Bar"), + ----------------------------------------- +src/foo/test.kt:57:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + state = rememberSharedContentState(0), + ----------------------------- +src/foo/test.kt:66:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + state = rememberSharedContentState("Foo"), + --------------------------------- +src/foo/test.kt:73:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + sharedContentState = rememberSharedContentState("Foo" + "Bar"), + ----------------------------------------- +src/foo/test.kt:80:Error: Each Composable within a LazyList items call +should have unique content state keys. Make sure to either associate a +unique key related to the item's data, or simply append the item's index +to the key. [ConstantContentStateKeyInItemsCall] + state = rememberSharedContentState(0), + ----------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/foo/test.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package foo + +import androidx.compose.animation.* +import androidx.compose.foundation.lazy.* +import androidx.compose.runtime.* +import androidx.compose.ui.* + +@Composable +fun Test() { + SharedTransitionLayout { + AnimatedContent( + true, + ) { targetState -> + if (targetState) { + items(10) { + MyLayoutComposable( + modifier = Modifier + .sharedElement( + state = rememberSharedContentState("Foo"), + animatedVisibilityScope = this@AnimatedContent + ) + ) + MyLayoutComposable( + modifier = Modifier + .sharedBounds( + sharedContentState = rememberSharedContentState("Foo" + "Bar"), + animatedVisibilityScope = this@AnimatedContent + ) + ) + MyLayoutComposable( + modifier = Modifier + .sharedElement( + state = rememberSharedContentState(0), + animatedVisibilityScope = this@AnimatedContent + ) + ) + } + items(List(10) { it }) { + MyLayoutComposable( + modifier = Modifier + .sharedElement( + state = rememberSharedContentState("Foo"), + animatedVisibilityScope = this@AnimatedContent + ) + ) + MyLayoutComposable( + modifier = Modifier + .sharedBounds( + sharedContentState = rememberSharedContentState("Foo" + "Bar"), + animatedVisibilityScope = this@AnimatedContent + ) + ) + MyLayoutComposable( + modifier = Modifier + .sharedElement( + state = rememberSharedContentState(0), + animatedVisibilityScope = this@AnimatedContent + ) + ) + } + itemsIndexed(List(10) { it }) { _, _ -> + MyLayoutComposable( + modifier = Modifier + .sharedElement( + state = rememberSharedContentState("Foo"), + animatedVisibilityScope = this@AnimatedContent + ) + ) + MyLayoutComposable( + modifier = Modifier + .sharedBounds( + sharedContentState = rememberSharedContentState("Foo" + "Bar"), + animatedVisibilityScope = this@AnimatedContent + ) + ) + MyLayoutComposable( + modifier = Modifier + .sharedElement( + state = rememberSharedContentState(0), + animatedVisibilityScope = this@AnimatedContent + ) + ) + } + } else { + // Do Nothing + } + } + } +} + +@Composable +fun MyLayoutComposable(modifier: Modifier = Modifier) { + // Do Nothing +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/test/java/androidx/compose/animation/lint/SharedTransitionScopeDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `SharedTransitionScopeDetector.constantLiteralInItemsCall_shouldWarn`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=612128. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.compose.animation:animation-android:1.8.0-alpha02") + +// build.gradle +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.animation.android) + +# libs.versions.toml +[versions] +animation-android = "1.8.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +animation-android = { + module = "androidx.compose.animation:animation-android", + version.ref = "animation-android" +} +``` + +1.8.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("ConstantContentStateKeyInItemsCall") + fun method() { + SharedTransitionScope(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("ConstantContentStateKeyInItemsCall") + void method() { + SharedTransitionScope(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection ConstantContentStateKeyInItemsCall + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="ConstantContentStateKeyInItemsCall" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'ConstantContentStateKeyInItemsCall' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore ConstantContentStateKeyInItemsCall ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html b/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html index 5d23115..4a096cb 100644 --- a/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html +++ b/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html @@ -90,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/CoroutineCreationDuringComposition.md.html b/docs/checks/CoroutineCreationDuringComposition.md.html index b69dbf8..8b9e3a6 100644 --- a/docs/checks/CoroutineCreationDuringComposition.md.html +++ b/docs/checks/CoroutineCreationDuringComposition.md.html @@ -236,25 +236,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/CredentialManagerMisuse.md.html b/docs/checks/CredentialManagerMisuse.md.html new file mode 100644 index 0000000..1114d32 --- /dev/null +++ b/docs/checks/CredentialManagerMisuse.md.html @@ -0,0 +1,149 @@ + +(#) Misuse of Credential Manager API + +!!! WARNING: Misuse of Credential Manager API + This is a warning. + +Id +: `CredentialManagerMisuse` +Summary +: Misuse of Credential Manager API +Severity +: Warning +Category +: Correctness +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Affects +: Kotlin and Java files +Editing +: This check can *not* run live in the IDE editor +See +: https://developer.android.com/identity/sign-in/credential-manager#handle-exceptions +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CredentialManagerMisuseDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CredentialManagerMisuseDetectorTest.kt) +Copyright Year +: 2024 + +When calling `CredentialManager.getCredential` or +`CredentialManager.getCredentialAsync`, you should handle +`NoCredentialException` somewhere in your project. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/com/example/app/Foo.kt:26:Warning: Call to +CredentialManager.getCredential without use of NoCredentialException +[CredentialManagerMisuse] + credentialManager.getCredential(context, request) + ------------------------------------------------- +src/com/example/app/Foo.kt:27:Warning: Call to +CredentialManager.getCredential without use of NoCredentialException +[CredentialManagerMisuse] + credentialManager.getCredential(context, prepareGetCredentialResponse.pendingGetCredentialHandle!!) + --------------------------------------------------------------------------------------------------- +src/com/example/app/Foo.kt:28:Warning: Call to +CredentialManager.getCredential without use of NoCredentialException +[CredentialManagerMisuse] + credentialManager.getCredentialAsync(context, request, cancellationSignal, executor, callback) + ---------------------------------------------------------------------------------------------- +src/com/example/app/Foo.kt:29:Warning: Call to +CredentialManager.getCredential without use of NoCredentialException +[CredentialManagerMisuse] + credentialManager.getCredentialAsync(context, prepareGetCredentialResponse.pendingGetCredentialHandle!!, cancellationSignal, executor, callback) + ------------------------------------------------------------------------------------------------------------------------------------------------ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/com/example/app/Foo.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package com.example.app + +import android.content.Context +import android.os.Build +import android.os.CancellationSignal +import androidx.credentials.CredentialManager +import androidx.credentials.CredentialManagerCallback +import androidx.credentials.GetCredentialRequest +import androidx.credentials.GetCredentialResponse +import androidx.credentials.PrepareGetCredentialResponse +import androidx.credentials.PrepareGetCredentialResponse.PendingGetCredentialHandle +import androidx.credentials.exceptions.GetCredentialException +import androidx.credentials.exceptions.NoCredentialException +import java.util.concurrent.Executor + +class Foo { + suspend fun foo( + credentialManager: CredentialManager, + context: Context, + request: GetCredentialRequest, + cancellationSignal: CancellationSignal, + executor: Executor, + callback: CredentialManagerCallback) { + try { + val prepareGetCredentialResponse = credentialManager.prepareGetCredential(request) + credentialManager.getCredential(context, request) + credentialManager.getCredential(context, prepareGetCredentialResponse.pendingGetCredentialHandle!!) + credentialManager.getCredentialAsync(context, request, cancellationSignal, executor, callback) + credentialManager.getCredentialAsync(context, prepareGetCredentialResponse.pendingGetCredentialHandle!!, cancellationSignal, executor, callback) + } catch (e: GetCredentialException) { + bar(e) + } + } + + fun bar(e: GetCredentialException) { + TODO() + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CredentialManagerMisuseDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="CredentialManagerMisuse" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'CredentialManagerMisuse' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore CredentialManagerMisuse ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/CustomPermissionTypo.md.html b/docs/checks/CustomPermissionTypo.md.html index 2f8d82d..1cfe1a1 100644 --- a/docs/checks/CustomPermissionTypo.md.html +++ b/docs/checks/CustomPermissionTypo.md.html @@ -36,6 +36,9 @@ Please double check the permission value you have supplied. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/DeepLinkInActivityDestination.md.html b/docs/checks/DeepLinkInActivityDestination.md.html index 1028d34..9d846d9 100644 --- a/docs/checks/DeepLinkInActivityDestination.md.html +++ b/docs/checks/DeepLinkInActivityDestination.md.html @@ -101,25 +101,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") +implementation("androidx.navigation:navigation-runtime:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' +implementation 'androidx.navigation:navigation-runtime:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-rc01" +navigation-runtime = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "navigation-runtime" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/DefaultCleartextTraffic.md.html b/docs/checks/DefaultCleartextTraffic.md.html index 614cbd7..d3dcb28 100644 --- a/docs/checks/DefaultCleartextTraffic.md.html +++ b/docs/checks/DefaultCleartextTraffic.md.html @@ -97,6 +97,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/DefaultEncoding.md.html b/docs/checks/DefaultEncoding.md.html index 5b425dc..47c1ba6 100644 --- a/docs/checks/DefaultEncoding.md.html +++ b/docs/checks/DefaultEncoding.md.html @@ -49,6 +49,9 @@ Android code, since it is always safe to rely on the default character encoding there. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/DefaultLayoutAttribute.md.html b/docs/checks/DefaultLayoutAttribute.md.html index 42a68db..b74ceb2 100644 --- a/docs/checks/DefaultLayoutAttribute.md.html +++ b/docs/checks/DefaultLayoutAttribute.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/DefaultTrustedUserCerts.md.html b/docs/checks/DefaultTrustedUserCerts.md.html index 644e023..c27cb60 100644 --- a/docs/checks/DefaultTrustedUserCerts.md.html +++ b/docs/checks/DefaultTrustedUserCerts.md.html @@ -99,6 +99,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/DenyListedApi.md.html b/docs/checks/DenyListedApi.md.html index 16e1b7f..e1c1b0a 100644 --- a/docs/checks/DenyListedApi.md.html +++ b/docs/checks/DenyListedApi.md.html @@ -100,6 +100,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DenyListedBlockingApi.md.html b/docs/checks/DenyListedBlockingApi.md.html index 833e620..a3b4c64 100644 --- a/docs/checks/DenyListedBlockingApi.md.html +++ b/docs/checks/DenyListedBlockingApi.md.html @@ -99,6 +99,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/Deprecated.md.html b/docs/checks/Deprecated.md.html index 64b55d5..58a1d6d 100644 --- a/docs/checks/Deprecated.md.html +++ b/docs/checks/Deprecated.md.html @@ -32,6 +32,9 @@ Deprecated views, attributes and so on are deprecated because there is a better way to do something. Do it that new way. You've been warned. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/DeprecatedCall.md.html b/docs/checks/DeprecatedCall.md.html index 24155b5..35dc4f4 100644 --- a/docs/checks/DeprecatedCall.md.html +++ b/docs/checks/DeprecatedCall.md.html @@ -109,6 +109,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DeprecatedSqlUsage.md.html b/docs/checks/DeprecatedSqlUsage.md.html index 0c39e01..5798644 100644 --- a/docs/checks/DeprecatedSqlUsage.md.html +++ b/docs/checks/DeprecatedSqlUsage.md.html @@ -97,6 +97,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DetachAndAttachSameFragment.md.html b/docs/checks/DetachAndAttachSameFragment.md.html index 6cef801..9c7bc38 100644 --- a/docs/checks/DetachAndAttachSameFragment.md.html +++ b/docs/checks/DetachAndAttachSameFragment.md.html @@ -55,25 +55,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/DialogFragmentCallbacksDetector.md.html b/docs/checks/DialogFragmentCallbacksDetector.md.html index 36f9e1f..36dedb1 100644 --- a/docs/checks/DialogFragmentCallbacksDetector.md.html +++ b/docs/checks/DialogFragmentCallbacksDetector.md.html @@ -93,25 +93,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/DisabledAllSafeBrowsing.md.html b/docs/checks/DisabledAllSafeBrowsing.md.html index 565e793..2c31bfa 100644 --- a/docs/checks/DisabledAllSafeBrowsing.md.html +++ b/docs/checks/DisabledAllSafeBrowsing.md.html @@ -45,6 +45,9 @@ enabled at all times and designing your app around any constraints this causes. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -98,6 +101,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/DiscouragedApi.md.html b/docs/checks/DiscouragedApi.md.html index d09487a..9d5656c 100644 --- a/docs/checks/DiscouragedApi.md.html +++ b/docs/checks/DiscouragedApi.md.html @@ -32,6 +32,9 @@ Discouraged APIs are allowed and are not deprecated, but they may be unfit for common use (e.g. due to slow performance or subtle behavior). +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/DoNotCallProviders.md.html b/docs/checks/DoNotCallProviders.md.html index 496f01c..80079bc 100644 --- a/docs/checks/DoNotCallProviders.md.html +++ b/docs/checks/DoNotCallProviders.md.html @@ -144,6 +144,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotExposeEitherNetInRepositories.md.html b/docs/checks/DoNotExposeEitherNetInRepositories.md.html index 1e8ef93..ba25907 100644 --- a/docs/checks/DoNotExposeEitherNetInRepositories.md.html +++ b/docs/checks/DoNotExposeEitherNetInRepositories.md.html @@ -133,6 +133,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMock.md.html b/docs/checks/DoNotMock.md.html index 85760e5..844cc11 100644 --- a/docs/checks/DoNotMock.md.html +++ b/docs/checks/DoNotMock.md.html @@ -193,6 +193,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMockAnything.md.html b/docs/checks/DoNotMockAnything.md.html index c8bc8d7..e2593d3 100644 --- a/docs/checks/DoNotMockAnything.md.html +++ b/docs/checks/DoNotMockAnything.md.html @@ -123,6 +123,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMockAutoValue.md.html b/docs/checks/DoNotMockAutoValue.md.html index e49beed..a0c0bdd 100644 --- a/docs/checks/DoNotMockAutoValue.md.html +++ b/docs/checks/DoNotMockAutoValue.md.html @@ -119,6 +119,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMockDataClass.md.html b/docs/checks/DoNotMockDataClass.md.html index 8bb665f..d535b23 100644 --- a/docs/checks/DoNotMockDataClass.md.html +++ b/docs/checks/DoNotMockDataClass.md.html @@ -119,6 +119,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMockObjectClass.md.html b/docs/checks/DoNotMockObjectClass.md.html index 7fe6abb..2401087 100644 --- a/docs/checks/DoNotMockObjectClass.md.html +++ b/docs/checks/DoNotMockObjectClass.md.html @@ -119,6 +119,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMockPlatformTypes.md.html b/docs/checks/DoNotMockPlatformTypes.md.html index 468ba64..69c956a 100644 --- a/docs/checks/DoNotMockPlatformTypes.md.html +++ b/docs/checks/DoNotMockPlatformTypes.md.html @@ -123,6 +123,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMockRecordClass.md.html b/docs/checks/DoNotMockRecordClass.md.html index 72aa208..d60153a 100644 --- a/docs/checks/DoNotMockRecordClass.md.html +++ b/docs/checks/DoNotMockRecordClass.md.html @@ -119,6 +119,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/DoNotMockSealedClass.md.html b/docs/checks/DoNotMockSealedClass.md.html index 7543bf8..d67bbbc 100644 --- a/docs/checks/DoNotMockSealedClass.md.html +++ b/docs/checks/DoNotMockSealedClass.md.html @@ -120,6 +120,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/EagerGradleConfiguration.md.html b/docs/checks/EagerGradleConfiguration.md.html new file mode 100644 index 0000000..f5068f0 --- /dev/null +++ b/docs/checks/EagerGradleConfiguration.md.html @@ -0,0 +1,146 @@ + +(#) Avoid using eager task APIs + +!!! ERROR: Avoid using eager task APIs + This is an error. + +Id +: `EagerGradleConfiguration` +Summary +: Avoid using eager task APIs +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) + +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/main/java/androidx/lint/gradle/DiscouragedGradleMethodDetector.kt) +Copyright Year +: 2024 + +Lazy APIs defer creating and configuring objects until they are needed +instead of +doing unnecessary work in the configuration phase. +See +https://docs.gradle.org/current/userguide/task_configuration_avoidance.html +for +more details. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha02") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("EagerGradleConfiguration") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("EagerGradleConfiguration") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection EagerGradleConfiguration + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="EagerGradleConfiguration" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'EagerGradleConfiguration' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore EagerGradleConfiguration ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/EmptyNavDeepLink.md.html b/docs/checks/EmptyNavDeepLink.md.html index 0c4c575..ab4d9c5 100644 --- a/docs/checks/EmptyNavDeepLink.md.html +++ b/docs/checks/EmptyNavDeepLink.md.html @@ -89,25 +89,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.8.0-rc01") +implementation("androidx.navigation:navigation-common:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-common:2.8.0-rc01' +implementation 'androidx.navigation:navigation-common:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.8.0-rc01" +navigation-common = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-common = { module = "androidx.navigation:navigation-common", version.ref = "navigation-common" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html). diff --git a/docs/checks/EnsureInitializerMetadata.md.html b/docs/checks/EnsureInitializerMetadata.md.html index 4635dea..5480a11 100644 --- a/docs/checks/EnsureInitializerMetadata.md.html +++ b/docs/checks/EnsureInitializerMetadata.md.html @@ -51,25 +51,29 @@ ``` // build.gradle.kts -implementation("androidx.startup:startup-runtime:1.2.0-beta01") +implementation("androidx.startup:startup-runtime:1.2.0") // build.gradle -implementation 'androidx.startup:startup-runtime:1.2.0-beta01' +implementation 'androidx.startup:startup-runtime:1.2.0' // build.gradle.kts with version catalogs: implementation(libs.startup.runtime) # libs.versions.toml [versions] -startup-runtime = "1.2.0-beta01" +startup-runtime = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: startup-runtime = { module = "androidx.startup:startup-runtime", version.ref = "startup-runtime" } ``` -1.2.0-beta01 is the version this documentation was generated from; +1.2.0 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.startup:startup-runtime](androidx_startup_startup-runtime.md.html). diff --git a/docs/checks/EnsureInitializerNoArgConstr.md.html b/docs/checks/EnsureInitializerNoArgConstr.md.html index c8b1675..76d53f8 100644 --- a/docs/checks/EnsureInitializerNoArgConstr.md.html +++ b/docs/checks/EnsureInitializerNoArgConstr.md.html @@ -82,25 +82,29 @@ ``` // build.gradle.kts -implementation("androidx.startup:startup-runtime:1.2.0-beta01") +implementation("androidx.startup:startup-runtime:1.2.0") // build.gradle -implementation 'androidx.startup:startup-runtime:1.2.0-beta01' +implementation 'androidx.startup:startup-runtime:1.2.0' // build.gradle.kts with version catalogs: implementation(libs.startup.runtime) # libs.versions.toml [versions] -startup-runtime = "1.2.0-beta01" +startup-runtime = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: startup-runtime = { module = "androidx.startup:startup-runtime", version.ref = "startup-runtime" } ``` -1.2.0-beta01 is the version this documentation was generated from; +1.2.0 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.startup:startup-runtime](androidx_startup_startup-runtime.md.html). diff --git a/docs/checks/ErroneousLayoutAttribute.md.html b/docs/checks/ErroneousLayoutAttribute.md.html index 2c197e2..443994e 100644 --- a/docs/checks/ErroneousLayoutAttribute.md.html +++ b/docs/checks/ErroneousLayoutAttribute.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/ErrorProneDoNotMockUsage.md.html b/docs/checks/ErrorProneDoNotMockUsage.md.html index bab7171..a87a76e 100644 --- a/docs/checks/ErrorProneDoNotMockUsage.md.html +++ b/docs/checks/ErrorProneDoNotMockUsage.md.html @@ -120,6 +120,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/ExceptionMessage.md.html b/docs/checks/ExceptionMessage.md.html index c5adbc4..5240f29 100644 --- a/docs/checks/ExceptionMessage.md.html +++ b/docs/checks/ExceptionMessage.md.html @@ -101,6 +101,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/ExperimentalAnnotationRetention.md.html b/docs/checks/ExperimentalAnnotationRetention.md.html index 4ca3bfa..617760b 100644 --- a/docs/checks/ExperimentalAnnotationRetention.md.html +++ b/docs/checks/ExperimentalAnnotationRetention.md.html @@ -62,6 +62,10 @@ [versions] annotation-experimental = "1.5.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: annotation-experimental = { module = "androidx.annotation:annotation-experimental", version.ref = "annotation-experimental" diff --git a/docs/checks/ExposedRootPath.md.html b/docs/checks/ExposedRootPath.md.html index f273932..48ea949 100644 --- a/docs/checks/ExposedRootPath.md.html +++ b/docs/checks/ExposedRootPath.md.html @@ -44,6 +44,9 @@ provides arbitrary access to files and folders for attackers, thereby increasing the attack surface. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -96,6 +99,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html b/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html index 37dfaf4..f56f5f1 100644 --- a/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html +++ b/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html @@ -196,6 +196,10 @@ [versions] dagger-lint = "2.52" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: dagger-lint = { module = "com.google.dagger:dagger-lint", version.ref = "dagger-lint" diff --git a/docs/checks/FlowOperatorInvokedInComposition.md.html b/docs/checks/FlowOperatorInvokedInComposition.md.html index 884273f..75accd9 100644 --- a/docs/checks/FlowOperatorInvokedInComposition.md.html +++ b/docs/checks/FlowOperatorInvokedInComposition.md.html @@ -238,25 +238,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/FormalGerman.md.html b/docs/checks/FormalGerman.md.html index 46a3a86..09b38fd 100644 --- a/docs/checks/FormalGerman.md.html +++ b/docs/checks/FormalGerman.md.html @@ -105,6 +105,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/FragmentAddMenuProvider.md.html b/docs/checks/FragmentAddMenuProvider.md.html index 50c6a0a..6687499 100644 --- a/docs/checks/FragmentAddMenuProvider.md.html +++ b/docs/checks/FragmentAddMenuProvider.md.html @@ -55,25 +55,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/FragmentBackPressedCallback.md.html b/docs/checks/FragmentBackPressedCallback.md.html index a1290d6..c15e4ff 100644 --- a/docs/checks/FragmentBackPressedCallback.md.html +++ b/docs/checks/FragmentBackPressedCallback.md.html @@ -55,25 +55,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/FragmentConstructorInjection.md.html b/docs/checks/FragmentConstructorInjection.md.html index 5a6bfdd..c9ad4b8 100644 --- a/docs/checks/FragmentConstructorInjection.md.html +++ b/docs/checks/FragmentConstructorInjection.md.html @@ -141,6 +141,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/FragmentFieldInjection.md.html b/docs/checks/FragmentFieldInjection.md.html index b903b22..e20d189 100644 --- a/docs/checks/FragmentFieldInjection.md.html +++ b/docs/checks/FragmentFieldInjection.md.html @@ -118,6 +118,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/FragmentGradleConfiguration-2.md.html b/docs/checks/FragmentGradleConfiguration-2.md.html index a356d25..3bac450 100644 --- a/docs/checks/FragmentGradleConfiguration-2.md.html +++ b/docs/checks/FragmentGradleConfiguration-2.md.html @@ -81,25 +81,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing-manifest:1.8.2") +implementation("androidx.fragment:fragment-testing-manifest:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment-testing-manifest:1.8.2' +implementation 'androidx.fragment:fragment-testing-manifest:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment.testing.manifest) # libs.versions.toml [versions] -fragment-testing-manifest = "1.8.2" +fragment-testing-manifest = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment-testing-manifest = { module = "androidx.fragment:fragment-testing-manifest", version.ref = "fragment-testing-manifest" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment-testing-manifest](androidx_fragment_fragment-testing-manifest.md.html). diff --git a/docs/checks/FragmentGradleConfiguration.md.html b/docs/checks/FragmentGradleConfiguration.md.html index d90b8a1..b69ed05 100644 --- a/docs/checks/FragmentGradleConfiguration.md.html +++ b/docs/checks/FragmentGradleConfiguration.md.html @@ -82,25 +82,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing:1.8.2") +implementation("androidx.fragment:fragment-testing:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment-testing:1.8.2' +implementation 'androidx.fragment:fragment-testing:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment.testing) # libs.versions.toml [versions] -fragment-testing = "1.8.2" +fragment-testing = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment-testing = { module = "androidx.fragment:fragment-testing", version.ref = "fragment-testing" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment-testing](androidx_fragment_fragment-testing.md.html). diff --git a/docs/checks/FragmentLiveDataObserve.md.html b/docs/checks/FragmentLiveDataObserve.md.html index 653de1f..0f22902 100644 --- a/docs/checks/FragmentLiveDataObserve.md.html +++ b/docs/checks/FragmentLiveDataObserve.md.html @@ -55,25 +55,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/FragmentTagUsage.md.html b/docs/checks/FragmentTagUsage.md.html index 30b5354..cc873e1 100644 --- a/docs/checks/FragmentTagUsage.md.html +++ b/docs/checks/FragmentTagUsage.md.html @@ -89,25 +89,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/FrequentlyChangedStateReadInComposition.md.html b/docs/checks/FrequentlyChangedStateReadInComposition.md.html index 41e29fe..a28b189 100644 --- a/docs/checks/FrequentlyChangedStateReadInComposition.md.html +++ b/docs/checks/FrequentlyChangedStateReadInComposition.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -126,25 +126,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-rc01" +foundation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: foundation-android = { module = "androidx.compose.foundation:foundation-android", version.ref = "foundation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/FullyQualifiedResource.md.html b/docs/checks/FullyQualifiedResource.md.html index b06ec87..39f0ac2 100644 --- a/docs/checks/FullyQualifiedResource.md.html +++ b/docs/checks/FullyQualifiedResource.md.html @@ -124,6 +124,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/GradlePluginVersion.md.html b/docs/checks/GradlePluginVersion.md.html index de0dca3..cea3edd 100644 --- a/docs/checks/GradlePluginVersion.md.html +++ b/docs/checks/GradlePluginVersion.md.html @@ -34,6 +34,9 @@ open a project that was built with an old version of the tools, you may need to update your plugin version number. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/GradleProjectIsolation.md.html b/docs/checks/GradleProjectIsolation.md.html new file mode 100644 index 0000000..efda519 --- /dev/null +++ b/docs/checks/GradleProjectIsolation.md.html @@ -0,0 +1,145 @@ + +(#) Avoid using APIs that are not project isolation safe + +!!! ERROR: Avoid using APIs that are not project isolation safe + This is an error. + +Id +: `GradleProjectIsolation` +Summary +: Avoid using APIs that are not project isolation safe +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) + +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/main/java/androidx/lint/gradle/DiscouragedGradleMethodDetector.kt) +Copyright Year +: 2024 + +Using APIs that reach out cross projects makes it not safe for Gradle +project +isolation. +See https://docs.gradle.org/nightly/userguide/isolated_projects.html +for +more details. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha02") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("GradleProjectIsolation") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("GradleProjectIsolation") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection GradleProjectIsolation + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="GradleProjectIsolation" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'GradleProjectIsolation' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore GradleProjectIsolation ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/GuavaChecksUsed.md.html b/docs/checks/GuavaChecksUsed.md.html index b0e5699..739367a 100644 --- a/docs/checks/GuavaChecksUsed.md.html +++ b/docs/checks/GuavaChecksUsed.md.html @@ -43,6 +43,9 @@ Precondition checks in Java should use Slack's internal `JavaPreconditions.kt` instead of Guava's Preconditions. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -120,6 +123,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/GuavaPreconditionsUsedInKotlin.md.html b/docs/checks/GuavaPreconditionsUsedInKotlin.md.html index ccf56c0..f28b6d7 100644 --- a/docs/checks/GuavaPreconditionsUsedInKotlin.md.html +++ b/docs/checks/GuavaPreconditionsUsedInKotlin.md.html @@ -44,6 +44,9 @@ preconditions checks that are available in the Kotlin standard library in Preconditions.kt. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -121,6 +124,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/IdleBatteryChargingConstraints.md.html b/docs/checks/IdleBatteryChargingConstraints.md.html index 575d775..e505aa1 100644 --- a/docs/checks/IdleBatteryChargingConstraints.md.html +++ b/docs/checks/IdleBatteryChargingConstraints.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -85,25 +85,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/ImplicitStringPlaceholder.md.html b/docs/checks/ImplicitStringPlaceholder.md.html index bad338a..a4a8ba6 100644 --- a/docs/checks/ImplicitStringPlaceholder.md.html +++ b/docs/checks/ImplicitStringPlaceholder.md.html @@ -88,6 +88,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/InclusiveNaming.md.html b/docs/checks/InclusiveNaming.md.html index 7c538f3..da8d600 100644 --- a/docs/checks/InclusiveNaming.md.html +++ b/docs/checks/InclusiveNaming.md.html @@ -93,6 +93,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/IncorrectChainMarginsUsage.md.html b/docs/checks/IncorrectChainMarginsUsage.md.html index 8ee2f5c..43cfcb2 100644 --- a/docs/checks/IncorrectChainMarginsUsage.md.html +++ b/docs/checks/IncorrectChainMarginsUsage.md.html @@ -52,25 +52,29 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01' // build.gradle.kts with version catalogs: implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha14" +constraintlayout-compose = "1.1.0-beta01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayout-compose" } ``` -1.1.0-alpha14 is the version this documentation was generated from; +1.1.0-beta01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.constraintlayout:constraintlayout-compose](androidx_constraintlayout_constraintlayout-compose.md.html). diff --git a/docs/checks/IncorrectMatchParentUsage.md.html b/docs/checks/IncorrectMatchParentUsage.md.html index 7802ab9..a697535 100644 --- a/docs/checks/IncorrectMatchParentUsage.md.html +++ b/docs/checks/IncorrectMatchParentUsage.md.html @@ -51,25 +51,29 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01' // build.gradle.kts with version catalogs: implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha14" +constraintlayout-compose = "1.1.0-beta01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayout-compose" } ``` -1.1.0-alpha14 is the version this documentation was generated from; +1.1.0-beta01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.constraintlayout:constraintlayout-compose](androidx_constraintlayout_constraintlayout-compose.md.html). diff --git a/docs/checks/IncorrectReferencesDeclaration.md.html b/docs/checks/IncorrectReferencesDeclaration.md.html index e73521a..09b04f5 100644 --- a/docs/checks/IncorrectReferencesDeclaration.md.html +++ b/docs/checks/IncorrectReferencesDeclaration.md.html @@ -114,25 +114,29 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01' // build.gradle.kts with version catalogs: implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha14" +constraintlayout-compose = "1.1.0-beta01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayout-compose" } ``` -1.1.0-alpha14 is the version this documentation was generated from; +1.1.0-beta01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.constraintlayout:constraintlayout-compose](androidx_constraintlayout_constraintlayout-compose.md.html). diff --git a/docs/checks/InjectInJava.md.html b/docs/checks/InjectInJava.md.html index 00b2344..01fcde6 100644 --- a/docs/checks/InjectInJava.md.html +++ b/docs/checks/InjectInJava.md.html @@ -145,6 +145,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/InsecureDnsSdkLevel.md.html b/docs/checks/InsecureDnsSdkLevel.md.html index aa73588..e447f4f 100644 --- a/docs/checks/InsecureDnsSdkLevel.md.html +++ b/docs/checks/InsecureDnsSdkLevel.md.html @@ -43,6 +43,9 @@ Apps targeting SDK versions earlier than 28 are susceptible to DNS attacks like DNS spoofing or cache poisoning. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -96,6 +99,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/InsecurePermissionProtectionLevel.md.html b/docs/checks/InsecurePermissionProtectionLevel.md.html index c0523c9..dc1ece4 100644 --- a/docs/checks/InsecurePermissionProtectionLevel.md.html +++ b/docs/checks/InsecurePermissionProtectionLevel.md.html @@ -47,6 +47,9 @@ ensures only other apps signed with the same certificate can access these protected features. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -99,6 +102,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/InternalAgpApiUsage.md.html b/docs/checks/InternalAgpApiUsage.md.html new file mode 100644 index 0000000..99595e7 --- /dev/null +++ b/docs/checks/InternalAgpApiUsage.md.html @@ -0,0 +1,172 @@ + +(#) Avoid using internal Android Gradle Plugin APIs + +!!! ERROR: Avoid using internal Android Gradle Plugin APIs + This is an error. + +Id +: `InternalAgpApiUsage` +Summary +: Avoid using internal Android Gradle Plugin APIs +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) + +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/main/java/androidx/lint/gradle/InternalApiUsageDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/test/java/androidx/lint/gradle/InternalApiUsageDetectorTest.kt) +Copyright Year +: 2024 + +Using internal APIs results in fragile plugin behavior as these types +have no binary +compatibility guarantees. It is best to create a feature request to open +up these +APIs if you find them useful. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/test.kt:1:Error: Avoid using internal Android Gradle Plugin APIs +[InternalAgpApiUsage] +import com.android.build.gradle.internal.lint.VariantInputs +----------------------------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/test.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +import com.android.build.gradle.internal.lint.VariantInputs +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/test/java/androidx/lint/gradle/InternalApiUsageDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `InternalApiUsageDetector.Test usage of internal Android Gradle API`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=1147525. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha02") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("InternalAgpApiUsage") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("InternalAgpApiUsage") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection InternalAgpApiUsage + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="InternalAgpApiUsage" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'InternalAgpApiUsage' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore InternalAgpApiUsage ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/InternalGradleApiUsage.md.html b/docs/checks/InternalGradleApiUsage.md.html new file mode 100644 index 0000000..cdb6b44 --- /dev/null +++ b/docs/checks/InternalGradleApiUsage.md.html @@ -0,0 +1,181 @@ + +(#) Avoid using internal Gradle APIs + +!!! ERROR: Avoid using internal Gradle APIs + This is an error. + +Id +: `InternalGradleApiUsage` +Summary +: Avoid using internal Gradle APIs +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) + +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/main/java/androidx/lint/gradle/InternalApiUsageDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/test/java/androidx/lint/gradle/InternalApiUsageDetectorTest.kt) +Copyright Year +: 2024 + +Using internal APIs results in fragile plugin behavior as these types +have no binary +compatibility guarantees. It is best to create a feature request to open +up these +APIs if you find them useful. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/test.kt:2:Error: Avoid using internal Gradle APIs +[InternalGradleApiUsage] +import org.gradle.api.internal.component.SoftwareComponentInternal +------------------------------------------------------------------ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/test.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +import org.gradle.api.component.SoftwareComponent +import org.gradle.api.internal.component.SoftwareComponentInternal + +fun getSoftwareComponent() : SoftwareComponent { + return object : SoftwareComponentInternal { + override fun getUsages(): Set { + TODO() + } + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/test/java/androidx/lint/gradle/InternalApiUsageDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `InternalApiUsageDetector.Test usage of internal Gradle API`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=1147525. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha02") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("InternalGradleApiUsage") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("InternalGradleApiUsage") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection InternalGradleApiUsage + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="InternalGradleApiUsage" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'InternalGradleApiUsage' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore InternalGradleApiUsage ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/InvalidAccessibility.md.html b/docs/checks/InvalidAccessibility.md.html index 9e78258..3988bc5 100644 --- a/docs/checks/InvalidAccessibility.md.html +++ b/docs/checks/InvalidAccessibility.md.html @@ -90,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/InvalidColorHexValue.md.html b/docs/checks/InvalidColorHexValue.md.html index d79e282..0d953b8 100644 --- a/docs/checks/InvalidColorHexValue.md.html +++ b/docs/checks/InvalidColorHexValue.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -42,6 +42,9 @@ 0xFF000000), with 8 bits being used per channel (ARGB). Not passing a full 32 bit value will result in channels being undefined / incorrect. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -90,25 +93,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.7.0-rc01" +ui-graphics-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-graphics-android = { module = "androidx.compose.ui:ui-graphics-android", version.ref = "ui-graphics-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-graphics-android](androidx_compose_ui_ui-graphics-android.md.html). diff --git a/docs/checks/InvalidFragmentVersionForActivityResult.md.html b/docs/checks/InvalidFragmentVersionForActivityResult.md.html index 9151471..9e93922 100644 --- a/docs/checks/InvalidFragmentVersionForActivityResult.md.html +++ b/docs/checks/InvalidFragmentVersionForActivityResult.md.html @@ -93,25 +93,29 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity:1.10.0-alpha01") +implementation("androidx.activity:activity:1.10.0-alpha02") // build.gradle -implementation 'androidx.activity:activity:1.10.0-alpha01' +implementation 'androidx.activity:activity:1.10.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.activity) # libs.versions.toml [versions] -activity = "1.10.0-alpha01" +activity = "1.10.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: activity = { module = "androidx.activity:activity", version.ref = "activity" } ``` -1.10.0-alpha01 is the version this documentation was generated from; +1.10.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity](androidx_activity_activity.md.html). diff --git a/docs/checks/InvalidImport.md.html b/docs/checks/InvalidImport.md.html index 87fff30..3d2aa56 100644 --- a/docs/checks/InvalidImport.md.html +++ b/docs/checks/InvalidImport.md.html @@ -89,6 +89,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/InvalidLanguageTagDelimiter.md.html b/docs/checks/InvalidLanguageTagDelimiter.md.html index 3196725..4456c30 100644 --- a/docs/checks/InvalidLanguageTagDelimiter.md.html +++ b/docs/checks/InvalidLanguageTagDelimiter.md.html @@ -83,25 +83,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-text-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-text-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-text-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-text-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.text.android) # libs.versions.toml [versions] -ui-text-android = "1.7.0-rc01" +ui-text-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-text-android = { module = "androidx.compose.ui:ui-text-android", version.ref = "ui-text-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-text-android](androidx_compose_ui_ui-text-android.md.html). diff --git a/docs/checks/InvalidPeriodicWorkRequestInterval.md.html b/docs/checks/InvalidPeriodicWorkRequestInterval.md.html index 9c50e93..b551f23 100644 --- a/docs/checks/InvalidPeriodicWorkRequestInterval.md.html +++ b/docs/checks/InvalidPeriodicWorkRequestInterval.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -97,25 +97,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/InvalidSetHasFixedSize.md.html b/docs/checks/InvalidSetHasFixedSize.md.html index 08d45cd..3e8cbbf 100644 --- a/docs/checks/InvalidSetHasFixedSize.md.html +++ b/docs/checks/InvalidSetHasFixedSize.md.html @@ -110,25 +110,29 @@ ``` // build.gradle.kts -implementation("androidx.recyclerview:recyclerview:1.4.0-beta01") +implementation("androidx.recyclerview:recyclerview:1.4.0-rc01") // build.gradle -implementation 'androidx.recyclerview:recyclerview:1.4.0-beta01' +implementation 'androidx.recyclerview:recyclerview:1.4.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.recyclerview) # libs.versions.toml [versions] -recyclerview = "1.4.0-beta01" +recyclerview = "1.4.0-rc01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerview" } ``` -1.4.0-beta01 is the version this documentation was generated from; +1.4.0-rc01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.recyclerview:recyclerview](androidx_recyclerview_recyclerview.md.html). diff --git a/docs/checks/InvalidSingleLineComment.md.html b/docs/checks/InvalidSingleLineComment.md.html index 301e7a2..26d3181 100644 --- a/docs/checks/InvalidSingleLineComment.md.html +++ b/docs/checks/InvalidSingleLineComment.md.html @@ -93,6 +93,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/InvalidString.md.html b/docs/checks/InvalidString.md.html index 817581c..918a26d 100644 --- a/docs/checks/InvalidString.md.html +++ b/docs/checks/InvalidString.md.html @@ -90,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/InvalidUseOfOnBackPressed.md.html b/docs/checks/InvalidUseOfOnBackPressed.md.html index fe8ce34..bbf3c8e 100644 --- a/docs/checks/InvalidUseOfOnBackPressed.md.html +++ b/docs/checks/InvalidUseOfOnBackPressed.md.html @@ -99,25 +99,29 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity:1.10.0-alpha01") +implementation("androidx.activity:activity:1.10.0-alpha02") // build.gradle -implementation 'androidx.activity:activity:1.10.0-alpha01' +implementation 'androidx.activity:activity:1.10.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.activity) # libs.versions.toml [versions] -activity = "1.10.0-alpha01" +activity = "1.10.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: activity = { module = "androidx.activity:activity", version.ref = "activity" } ``` -1.10.0-alpha01 is the version this documentation was generated from; +1.10.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity](androidx_activity_activity.md.html). diff --git a/docs/checks/JCenter.md.html b/docs/checks/JCenter.md.html index 313cc6e..d99cc77 100644 --- a/docs/checks/JCenter.md.html +++ b/docs/checks/JCenter.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/JavaOnlyDetector.md.html b/docs/checks/JavaOnlyDetector.md.html index 8a2525e..7f7df7c 100644 --- a/docs/checks/JavaOnlyDetector.md.html +++ b/docs/checks/JavaOnlyDetector.md.html @@ -42,6 +42,9 @@ This should not be called from Kotlin code. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -107,6 +110,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/JvmStaticProvidesInObjectDetector.md.html b/docs/checks/JvmStaticProvidesInObjectDetector.md.html index 4bfee81..2d50e24 100644 --- a/docs/checks/JvmStaticProvidesInObjectDetector.md.html +++ b/docs/checks/JvmStaticProvidesInObjectDetector.md.html @@ -205,6 +205,10 @@ [versions] dagger-lint = "2.52" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: dagger-lint = { module = "com.google.dagger:dagger-lint", version.ref = "dagger-lint" diff --git a/docs/checks/KaptUsageInsteadOfKsp.md.html b/docs/checks/KaptUsageInsteadOfKsp.md.html index d379fea..b9838a6 100644 --- a/docs/checks/KaptUsageInsteadOfKsp.md.html +++ b/docs/checks/KaptUsageInsteadOfKsp.md.html @@ -34,6 +34,9 @@ KSP is a more efficient replacement for kapt. For libraries that support both, KSP should be used to improve build times. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/KnownPermissionError.md.html b/docs/checks/KnownPermissionError.md.html index c3f0d27..16510b2 100644 --- a/docs/checks/KnownPermissionError.md.html +++ b/docs/checks/KnownPermissionError.md.html @@ -38,6 +38,9 @@ is expected to be a permission string from the system, another app, or your own, NOT a boolean. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/KotlinPairNotCreated.md.html b/docs/checks/KotlinPairNotCreated.md.html index 8ed6be2..437c87a 100644 --- a/docs/checks/KotlinPairNotCreated.md.html +++ b/docs/checks/KotlinPairNotCreated.md.html @@ -105,6 +105,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/KotlinRequireNotNullUseMessage.md.html b/docs/checks/KotlinRequireNotNullUseMessage.md.html index f29212c..8e8d58f 100644 --- a/docs/checks/KotlinRequireNotNullUseMessage.md.html +++ b/docs/checks/KotlinRequireNotNullUseMessage.md.html @@ -86,6 +86,10 @@ [versions] lint-rules-kotlin = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-kotlin = { module = "com.vanniktech:lint-rules-kotlin", version.ref = "lint-rules-kotlin" diff --git a/docs/checks/LaunchDuringComposition.md.html b/docs/checks/LaunchDuringComposition.md.html index 987c660..5b4e17e 100644 --- a/docs/checks/LaunchDuringComposition.md.html +++ b/docs/checks/LaunchDuringComposition.md.html @@ -147,25 +147,29 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity-compose:1.10.0-alpha01") +implementation("androidx.activity:activity-compose:1.10.0-alpha02") // build.gradle -implementation 'androidx.activity:activity-compose:1.10.0-alpha01' +implementation 'androidx.activity:activity-compose:1.10.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] -activity-compose = "1.10.0-alpha01" +activity-compose = "1.10.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" } ``` -1.10.0-alpha01 is the version this documentation was generated from; +1.10.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity-compose](androidx_activity_activity-compose.md.html). diff --git a/docs/checks/LayoutFileNameMatchesClass.md.html b/docs/checks/LayoutFileNameMatchesClass.md.html index b2389ad..3e45907 100644 --- a/docs/checks/LayoutFileNameMatchesClass.md.html +++ b/docs/checks/LayoutFileNameMatchesClass.md.html @@ -107,6 +107,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/LogNotTimber.md.html b/docs/checks/LogNotTimber.md.html index 1c4b7ad..003f72d 100644 --- a/docs/checks/LogNotTimber.md.html +++ b/docs/checks/LogNotTimber.md.html @@ -39,6 +39,9 @@ Since Timber is included in the project, it is likely that calls to Log should instead be going to Timber. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -103,6 +106,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/MainScopeUsage.md.html b/docs/checks/MainScopeUsage.md.html index 6c93cf2..66e62ce 100644 --- a/docs/checks/MainScopeUsage.md.html +++ b/docs/checks/MainScopeUsage.md.html @@ -99,6 +99,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MatchingMenuId.md.html b/docs/checks/MatchingMenuId.md.html index ffeed50..41813c5 100644 --- a/docs/checks/MatchingMenuId.md.html +++ b/docs/checks/MatchingMenuId.md.html @@ -90,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/MatchingViewId.md.html b/docs/checks/MatchingViewId.md.html index cd954a8..c1867c8 100644 --- a/docs/checks/MatchingViewId.md.html +++ b/docs/checks/MatchingViewId.md.html @@ -88,6 +88,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/MissingAutoVerifyAttribute.md.html b/docs/checks/MissingAutoVerifyAttribute.md.html index d164d77..803c045 100644 --- a/docs/checks/MissingAutoVerifyAttribute.md.html +++ b/docs/checks/MissingAutoVerifyAttribute.md.html @@ -44,6 +44,9 @@ set it to true, in order to signal to the system to automatically verify the associated hosts in your app's intent filters. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -102,6 +105,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/MissingColorAlphaChannel.md.html b/docs/checks/MissingColorAlphaChannel.md.html index cb7ee3c..da184c9 100644 --- a/docs/checks/MissingColorAlphaChannel.md.html +++ b/docs/checks/MissingColorAlphaChannel.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -44,6 +44,9 @@ passing 0xFF0000 will result in a missing alpha channel, so the color will not appear visible. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -106,25 +109,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.7.0-rc01" +ui-graphics-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-graphics-android = { module = "androidx.compose.ui:ui-graphics-android", version.ref = "ui-graphics-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-graphics-android](androidx_compose_ui_ui-graphics-android.md.html). diff --git a/docs/checks/MissingResourceImportAlias.md.html b/docs/checks/MissingResourceImportAlias.md.html index 44707be..89b9d6a 100644 --- a/docs/checks/MissingResourceImportAlias.md.html +++ b/docs/checks/MissingResourceImportAlias.md.html @@ -118,6 +118,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MissingScrollbars.md.html b/docs/checks/MissingScrollbars.md.html index 549d9ed..0d84765 100644 --- a/docs/checks/MissingScrollbars.md.html +++ b/docs/checks/MissingScrollbars.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/MissingXmlHeader.md.html b/docs/checks/MissingXmlHeader.md.html index d7dbef3..f7e3106 100644 --- a/docs/checks/MissingXmlHeader.md.html +++ b/docs/checks/MissingXmlHeader.md.html @@ -87,6 +87,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/ModifierFactoryExtensionFunction.md.html b/docs/checks/ModifierFactoryExtensionFunction.md.html index 55de527..b1a31f4 100644 --- a/docs/checks/ModifierFactoryExtensionFunction.md.html +++ b/docs/checks/ModifierFactoryExtensionFunction.md.html @@ -41,6 +41,9 @@ Modifier factory functions should be defined as extension functions on Modifier to allow modifiers to be fluently chained. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -107,25 +110,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierFactoryReturnType.md.html b/docs/checks/ModifierFactoryReturnType.md.html index cf9962e..1a98827 100644 --- a/docs/checks/ModifierFactoryReturnType.md.html +++ b/docs/checks/ModifierFactoryReturnType.md.html @@ -84,25 +84,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierFactoryUnreferencedReceiver.md.html b/docs/checks/ModifierFactoryUnreferencedReceiver.md.html index 444a583..f541f67 100644 --- a/docs/checks/ModifierFactoryUnreferencedReceiver.md.html +++ b/docs/checks/ModifierFactoryUnreferencedReceiver.md.html @@ -91,25 +91,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierNodeInspectableProperties.md.html b/docs/checks/ModifierNodeInspectableProperties.md.html index a5ca393..c192cae 100644 --- a/docs/checks/ModifierNodeInspectableProperties.md.html +++ b/docs/checks/ModifierNodeInspectableProperties.md.html @@ -91,25 +91,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierParameter.md.html b/docs/checks/ModifierParameter.md.html index e74ecff..6e0a6c4 100644 --- a/docs/checks/ModifierParameter.md.html +++ b/docs/checks/ModifierParameter.md.html @@ -93,25 +93,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModuleCompanionObjects.md.html b/docs/checks/ModuleCompanionObjects.md.html index 2cc3fe8..eef61ab 100644 --- a/docs/checks/ModuleCompanionObjects.md.html +++ b/docs/checks/ModuleCompanionObjects.md.html @@ -205,6 +205,10 @@ [versions] dagger-lint = "2.52" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: dagger-lint = { module = "com.google.dagger:dagger-lint", version.ref = "dagger-lint" diff --git a/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html b/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html index 3db8935..e2fd9b1 100644 --- a/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html +++ b/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html @@ -68,6 +68,10 @@ [versions] dagger-lint = "2.52" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: dagger-lint = { module = "com.google.dagger:dagger-lint", version.ref = "dagger-lint" diff --git a/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html b/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html index 719b4e4..29b2a60 100644 --- a/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html +++ b/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html @@ -126,6 +126,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html b/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html index df6722e..58b0d45 100644 --- a/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html +++ b/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html @@ -120,6 +120,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageArray.md.html b/docs/checks/MoshiUsageArray.md.html index 3446df6..5a3e723 100644 --- a/docs/checks/MoshiUsageArray.md.html +++ b/docs/checks/MoshiUsageArray.md.html @@ -185,6 +185,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageBlankGenerator.md.html b/docs/checks/MoshiUsageBlankGenerator.md.html index 3b50f32..00e5241 100644 --- a/docs/checks/MoshiUsageBlankGenerator.md.html +++ b/docs/checks/MoshiUsageBlankGenerator.md.html @@ -95,6 +95,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageBlankJsonName.md.html b/docs/checks/MoshiUsageBlankJsonName.md.html index db4d030..5aed4cb 100644 --- a/docs/checks/MoshiUsageBlankJsonName.md.html +++ b/docs/checks/MoshiUsageBlankJsonName.md.html @@ -97,6 +97,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageBlankTypeLabel.md.html b/docs/checks/MoshiUsageBlankTypeLabel.md.html index e839035..1564597 100644 --- a/docs/checks/MoshiUsageBlankTypeLabel.md.html +++ b/docs/checks/MoshiUsageBlankTypeLabel.md.html @@ -95,6 +95,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageClassVisibility.md.html b/docs/checks/MoshiUsageClassVisibility.md.html index 745cd3b..577f47a 100644 --- a/docs/checks/MoshiUsageClassVisibility.md.html +++ b/docs/checks/MoshiUsageClassVisibility.md.html @@ -44,6 +44,9 @@ Otherwise, Moshi will not be able to access them from generated adapters. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -106,6 +109,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageDoubleClassAnnotation.md.html b/docs/checks/MoshiUsageDoubleClassAnnotation.md.html index 458fd06..e74a871 100644 --- a/docs/checks/MoshiUsageDoubleClassAnnotation.md.html +++ b/docs/checks/MoshiUsageDoubleClassAnnotation.md.html @@ -43,6 +43,9 @@ Only one of @AdaptedBy and @JsonClass annotations should be present. It is an error to declare both! +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -106,6 +109,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageDoubleTypeLabel.md.html b/docs/checks/MoshiUsageDoubleTypeLabel.md.html index 1651f87..71e9719 100644 --- a/docs/checks/MoshiUsageDoubleTypeLabel.md.html +++ b/docs/checks/MoshiUsageDoubleTypeLabel.md.html @@ -43,6 +43,9 @@ Only one of @TypeLabel and @DefaultObject annotations should be present. It is an error to declare both! +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -105,6 +108,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageDuplicateJsonName.md.html b/docs/checks/MoshiUsageDuplicateJsonName.md.html index 5113c87..61956f6 100644 --- a/docs/checks/MoshiUsageDuplicateJsonName.md.html +++ b/docs/checks/MoshiUsageDuplicateJsonName.md.html @@ -113,6 +113,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html b/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html index 6f2c4d0..e23abb2 100644 --- a/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html +++ b/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html @@ -65,6 +65,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageEnumCasing.md.html b/docs/checks/MoshiUsageEnumCasing.md.html index 873c4ea..0af8f80 100644 --- a/docs/checks/MoshiUsageEnumCasing.md.html +++ b/docs/checks/MoshiUsageEnumCasing.md.html @@ -65,6 +65,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html b/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html index f0a0db5..721440f 100644 --- a/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html +++ b/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html @@ -64,6 +64,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageEnumMissingJsonClass.md.html b/docs/checks/MoshiUsageEnumMissingJsonClass.md.html index 5b712c8..63570f2 100644 --- a/docs/checks/MoshiUsageEnumMissingJsonClass.md.html +++ b/docs/checks/MoshiUsageEnumMissingJsonClass.md.html @@ -65,6 +65,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageEnumMissingUnknown.md.html b/docs/checks/MoshiUsageEnumMissingUnknown.md.html index 678f10f..48294e7 100644 --- a/docs/checks/MoshiUsageEnumMissingUnknown.md.html +++ b/docs/checks/MoshiUsageEnumMissingUnknown.md.html @@ -65,6 +65,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html b/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html index 299a485..a7f27f8 100644 --- a/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html +++ b/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html @@ -101,6 +101,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html b/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html index 46afbb6..d89599c 100644 --- a/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html +++ b/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html @@ -46,6 +46,9 @@ it can change nullability semantics if the enum should actually allow nullable values or null on absence. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -117,6 +120,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html b/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html index 8e79fa8..53cf3a5 100644 --- a/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html +++ b/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html @@ -96,6 +96,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageGenericSealedSubtype.md.html b/docs/checks/MoshiUsageGenericSealedSubtype.md.html index afd2b18..c0ece94 100644 --- a/docs/checks/MoshiUsageGenericSealedSubtype.md.html +++ b/docs/checks/MoshiUsageGenericSealedSubtype.md.html @@ -106,6 +106,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageInappropriateTypeLabel.md.html b/docs/checks/MoshiUsageInappropriateTypeLabel.md.html index 35b6b18..ea04682 100644 --- a/docs/checks/MoshiUsageInappropriateTypeLabel.md.html +++ b/docs/checks/MoshiUsageInappropriateTypeLabel.md.html @@ -44,6 +44,9 @@ not appear to subclass a sealed Moshi type. Please remove these annotations or extend the appropriate sealed Moshi-serialized class. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -113,6 +116,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageMissingPrimary.md.html b/docs/checks/MoshiUsageMissingPrimary.md.html index 62bca3f..482da0e 100644 --- a/docs/checks/MoshiUsageMissingPrimary.md.html +++ b/docs/checks/MoshiUsageMissingPrimary.md.html @@ -97,6 +97,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageMissingTypeLabel.md.html b/docs/checks/MoshiUsageMissingTypeLabel.md.html index 5796b07..6fe405b 100644 --- a/docs/checks/MoshiUsageMissingTypeLabel.md.html +++ b/docs/checks/MoshiUsageMissingTypeLabel.md.html @@ -106,6 +106,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageMutableCollections.md.html b/docs/checks/MoshiUsageMutableCollections.md.html index 44fe879..a0f4862 100644 --- a/docs/checks/MoshiUsageMutableCollections.md.html +++ b/docs/checks/MoshiUsageMutableCollections.md.html @@ -182,6 +182,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageNonMoshiClassCollection.md.html b/docs/checks/MoshiUsageNonMoshiClassCollection.md.html index 6f3efff..e810ce5 100644 --- a/docs/checks/MoshiUsageNonMoshiClassCollection.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassCollection.md.html @@ -178,6 +178,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageNonMoshiClassExternal.md.html b/docs/checks/MoshiUsageNonMoshiClassExternal.md.html index 54f4a34..5beb434 100644 --- a/docs/checks/MoshiUsageNonMoshiClassExternal.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassExternal.md.html @@ -186,6 +186,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageNonMoshiClassInternal.md.html b/docs/checks/MoshiUsageNonMoshiClassInternal.md.html index 8ba9b35..88877e0 100644 --- a/docs/checks/MoshiUsageNonMoshiClassInternal.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassInternal.md.html @@ -172,6 +172,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageNonMoshiClassMap.md.html b/docs/checks/MoshiUsageNonMoshiClassMap.md.html index 85f139a..284800a 100644 --- a/docs/checks/MoshiUsageNonMoshiClassMap.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassMap.md.html @@ -171,6 +171,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html b/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html index d650a94..941dffc 100644 --- a/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html @@ -173,6 +173,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageObject.md.html b/docs/checks/MoshiUsageObject.md.html index 26296d0..05f327b 100644 --- a/docs/checks/MoshiUsageObject.md.html +++ b/docs/checks/MoshiUsageObject.md.html @@ -45,6 +45,9 @@ subtype of a Moshi sealed class and annotated with `@TypeLabel` or `@DefaultObject` accordingly. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -97,6 +100,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageParamNeedsInit.md.html b/docs/checks/MoshiUsageParamNeedsInit.md.html index e0f0858..30a6a63 100644 --- a/docs/checks/MoshiUsageParamNeedsInit.md.html +++ b/docs/checks/MoshiUsageParamNeedsInit.md.html @@ -97,6 +97,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsagePrivateConstructor.md.html b/docs/checks/MoshiUsagePrivateConstructor.md.html index c561135..e578044 100644 --- a/docs/checks/MoshiUsagePrivateConstructor.md.html +++ b/docs/checks/MoshiUsagePrivateConstructor.md.html @@ -43,6 +43,9 @@ Constructors in Moshi classes cannot be private. Otherwise Moshi cannot invoke it during decoding. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -102,6 +105,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsagePrivateConstructorProperty.md.html b/docs/checks/MoshiUsagePrivateConstructorProperty.md.html index 8475354..122be12 100644 --- a/docs/checks/MoshiUsagePrivateConstructorProperty.md.html +++ b/docs/checks/MoshiUsagePrivateConstructorProperty.md.html @@ -43,6 +43,9 @@ Constructor parameter properties in Moshi classes cannot be private. Otherwise these properties will not be visible in serialization. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -95,6 +98,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageQualifierRetention.md.html b/docs/checks/MoshiUsageQualifierRetention.md.html index f0c6099..c0c1804 100644 --- a/docs/checks/MoshiUsageQualifierRetention.md.html +++ b/docs/checks/MoshiUsageQualifierRetention.md.html @@ -130,6 +130,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageQualifierTarget.md.html b/docs/checks/MoshiUsageQualifierTarget.md.html index e1626bd..726f35d 100644 --- a/docs/checks/MoshiUsageQualifierTarget.md.html +++ b/docs/checks/MoshiUsageQualifierTarget.md.html @@ -129,6 +129,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageRedundantJsonName.md.html b/docs/checks/MoshiUsageRedundantJsonName.md.html index 13069f5..b421a8e 100644 --- a/docs/checks/MoshiUsageRedundantJsonName.md.html +++ b/docs/checks/MoshiUsageRedundantJsonName.md.html @@ -44,6 +44,9 @@ consider removing it or suppress this warning with a commented suppression explaining why it's needed. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -98,6 +101,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageRedundantSiteTarget.md.html b/docs/checks/MoshiUsageRedundantSiteTarget.md.html index 6121f11..975e677 100644 --- a/docs/checks/MoshiUsageRedundantSiteTarget.md.html +++ b/docs/checks/MoshiUsageRedundantSiteTarget.md.html @@ -43,6 +43,9 @@ Use of site-targets on @Json are redundant and can be removed. Only one, target-less @Json annotation is necessary. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -98,6 +101,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageSealedMustBeSealed.md.html b/docs/checks/MoshiUsageSealedMustBeSealed.md.html index b1c143c..3431e99 100644 --- a/docs/checks/MoshiUsageSealedMustBeSealed.md.html +++ b/docs/checks/MoshiUsageSealedMustBeSealed.md.html @@ -94,6 +94,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageSerializedName.md.html b/docs/checks/MoshiUsageSerializedName.md.html index fc4f51c..24f8677 100644 --- a/docs/checks/MoshiUsageSerializedName.md.html +++ b/docs/checks/MoshiUsageSerializedName.md.html @@ -44,6 +44,9 @@ Replace it with Moshi's equivalent @Json annotation instead (or remove it if @Json is defined already). +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -122,6 +125,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageSnakeCase.md.html b/docs/checks/MoshiUsageSnakeCase.md.html index 19f0a33..5c0666e 100644 --- a/docs/checks/MoshiUsageSnakeCase.md.html +++ b/docs/checks/MoshiUsageSnakeCase.md.html @@ -44,6 +44,9 @@ serialization, similar to Gson's `@SerializedName`. This can help avoid snake_case properties in source directly. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -100,6 +103,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageTransientNeedsInit.md.html b/docs/checks/MoshiUsageTransientNeedsInit.md.html index 384cf07..e830428 100644 --- a/docs/checks/MoshiUsageTransientNeedsInit.md.html +++ b/docs/checks/MoshiUsageTransientNeedsInit.md.html @@ -97,6 +97,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageUnsupportedType.md.html b/docs/checks/MoshiUsageUnsupportedType.md.html index dacecd7..1a19e6a 100644 --- a/docs/checks/MoshiUsageUnsupportedType.md.html +++ b/docs/checks/MoshiUsageUnsupportedType.md.html @@ -44,6 +44,9 @@ annotated with @JsonClass. If you intend to decode this with a custom adapter, use @AdaptedBy. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -119,6 +122,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageUseData.md.html b/docs/checks/MoshiUsageUseData.md.html index 77e98f4..7593a12 100644 --- a/docs/checks/MoshiUsageUseData.md.html +++ b/docs/checks/MoshiUsageUseData.md.html @@ -99,6 +99,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MoshiUsageVarProperty.md.html b/docs/checks/MoshiUsageVarProperty.md.html index 3154db3..13ed9f1 100644 --- a/docs/checks/MoshiUsageVarProperty.md.html +++ b/docs/checks/MoshiUsageVarProperty.md.html @@ -44,6 +44,9 @@ with Moshi classes as it can lead to asymmetric encoding and thread-safety issues. Consider making this val. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -96,6 +99,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MultipleAwaitPointerEventScopes.md.html b/docs/checks/MultipleAwaitPointerEventScopes.md.html index 14c4e68..c01df09 100644 --- a/docs/checks/MultipleAwaitPointerEventScopes.md.html +++ b/docs/checks/MultipleAwaitPointerEventScopes.md.html @@ -52,25 +52,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/MustBeInModule.md.html b/docs/checks/MustBeInModule.md.html index 7187925..8ccf457 100644 --- a/docs/checks/MustBeInModule.md.html +++ b/docs/checks/MustBeInModule.md.html @@ -138,6 +138,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MustUseNamedParams.md.html b/docs/checks/MustUseNamedParams.md.html index ebd29c0..649a75a 100644 --- a/docs/checks/MustUseNamedParams.md.html +++ b/docs/checks/MustUseNamedParams.md.html @@ -111,6 +111,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/MutableCollectionMutableState.md.html b/docs/checks/MutableCollectionMutableState.md.html index 9419831..c4c490a 100644 --- a/docs/checks/MutableCollectionMutableState.md.html +++ b/docs/checks/MutableCollectionMutableState.md.html @@ -146,25 +146,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/NamingPattern.md.html b/docs/checks/NamingPattern.md.html index d3d1fc3..9200a31 100644 --- a/docs/checks/NamingPattern.md.html +++ b/docs/checks/NamingPattern.md.html @@ -92,6 +92,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/NoCollectCallFound.md.html b/docs/checks/NoCollectCallFound.md.html index 4fedac0..89aa9ff 100644 --- a/docs/checks/NoCollectCallFound.md.html +++ b/docs/checks/NoCollectCallFound.md.html @@ -141,25 +141,29 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity-compose:1.10.0-alpha01") +implementation("androidx.activity:activity-compose:1.10.0-alpha02") // build.gradle -implementation 'androidx.activity:activity-compose:1.10.0-alpha01' +implementation 'androidx.activity:activity-compose:1.10.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] -activity-compose = "1.10.0-alpha01" +activity-compose = "1.10.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" } ``` -1.10.0-alpha01 is the version this documentation was generated from; +1.10.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity-compose](androidx_activity_activity-compose.md.html). diff --git a/docs/checks/NotificationPermission.md.html b/docs/checks/NotificationPermission.md.html index 4cbcff6..502309b 100644 --- a/docs/checks/NotificationPermission.md.html +++ b/docs/checks/NotificationPermission.md.html @@ -32,6 +32,9 @@ When targeting Android 13 and higher, posting permissions requires holding the runtime permission `android.permission.POST_NOTIFICATIONS`. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/NullSafeMutableLiveData-2.md.html b/docs/checks/NullSafeMutableLiveData-2.md.html index 0392341..abef04e 100644 --- a/docs/checks/NullSafeMutableLiveData-2.md.html +++ b/docs/checks/NullSafeMutableLiveData-2.md.html @@ -60,7 +60,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * NullSafeMutableLiveData: LiveData value assignment nullability mismatch (this issue) -* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01](NullSafeMutableLiveData.md.html) +* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03](NullSafeMutableLiveData.md.html) * [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01](NullSafeMutableLiveData-2.md.html) @@ -84,6 +84,10 @@ [versions] lifecycle-livedata-core-ktx = "2.8.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-livedata-core-ktx = { module = "androidx.lifecycle:lifecycle-livedata-core-ktx", version.ref = "lifecycle-livedata-core-ktx" diff --git a/docs/checks/NullSafeMutableLiveData.md.html b/docs/checks/NullSafeMutableLiveData.md.html index c782d2a..f73d6ad 100644 --- a/docs/checks/NullSafeMutableLiveData.md.html +++ b/docs/checks/NullSafeMutableLiveData.md.html @@ -60,7 +60,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * NullSafeMutableLiveData: LiveData value assignment nullability mismatch (this issue) -* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01](NullSafeMutableLiveData.md.html) +* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03](NullSafeMutableLiveData.md.html) * [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01](NullSafeMutableLiveData-2.md.html) @@ -72,25 +72,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.livedata.core) # libs.versions.toml [versions] -lifecycle-livedata-core = "2.9.0-alpha01" +lifecycle-livedata-core = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-livedata-core = { module = "androidx.lifecycle:lifecycle-livedata-core", version.ref = "lifecycle-livedata-core" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-livedata-core](androidx_lifecycle_lifecycle-livedata-core.md.html). diff --git a/docs/checks/OpaqueUnitKey.md.html b/docs/checks/OpaqueUnitKey.md.html index cf97af2..184b46c 100644 --- a/docs/checks/OpaqueUnitKey.md.html +++ b/docs/checks/OpaqueUnitKey.md.html @@ -98,25 +98,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/OutdatedLibrary.md.html b/docs/checks/OutdatedLibrary.md.html index c125fe3..58e0f3c 100644 --- a/docs/checks/OutdatedLibrary.md.html +++ b/docs/checks/OutdatedLibrary.md.html @@ -65,6 +65,18 @@ 7.2.0 has been reported as outdated by its author [OutdatedLibrary] compile 'com.example.ads.third.party:example:7.2.0' // Outdated + Critical + Policy (multiple issues), no severity ------------------------------------------- +build.gradle:27:Warning: com.example.issues:issues-on-latest version +1.8.0 has been reported as outdated by its author. +The library author recommends using versions: + - 1.9.0 or higher [OutdatedLibrary] + compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking + ------------------------------------------- +build.gradle:28:Warning: com.example.issues:latest-is-preview version +1.0.0 has been reported as outdated by its author. +The library author recommends using versions: + - 1.1.0 or higher [OutdatedLibrary] + compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking + -------------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here is the source file referenced above: @@ -94,6 +106,11 @@ compile 'com.example.ads.third.party:example:7.1.7' // Policy (multiple types), non-blocking compile 'com.example.ads.third.party:example:7.1.8' // Policy (multiple types), blocking compile 'com.example.ads.third.party:example:7.1.9' // Policy (multiple types), no severity + compile 'com.example.ads.third.party:example:7.1.10' // Vulnerability (UNSAFE_HOSTNAME_VERIFIER, non-blocking) + compile 'com.example.ads.third.party:example:7.1.11' // Vulnerability multiple (UNSAFE_SSL_ERROR_HANDLER, ZIP_PATH_TRAVERSAL, UNSAFE_WEBVIEW_OAUTH, blocking) + compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) + compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking + compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking compile 'log4j:log4j:latest.release' // OK compile 'log4j:log4j' // OK diff --git a/docs/checks/ParcelizeFunctionProperty.md.html b/docs/checks/ParcelizeFunctionProperty.md.html index bc560e1..5da3373 100644 --- a/docs/checks/ParcelizeFunctionProperty.md.html +++ b/docs/checks/ParcelizeFunctionProperty.md.html @@ -150,6 +150,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/PermissionNamingConvention.md.html b/docs/checks/PermissionNamingConvention.md.html index d7cf81b..72f5419 100644 --- a/docs/checks/PermissionNamingConvention.md.html +++ b/docs/checks/PermissionNamingConvention.md.html @@ -40,6 +40,9 @@ Following this recommendation avoids naming collisions, and helps clearly identify the owner and intention of a custom permission. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/PlaySdkIndexNonCompliant.md.html b/docs/checks/PlaySdkIndexNonCompliant.md.html index 649449b..c134dd3 100644 --- a/docs/checks/PlaySdkIndexNonCompliant.md.html +++ b/docs/checks/PlaySdkIndexNonCompliant.md.html @@ -131,6 +131,11 @@ compile 'com.example.ads.third.party:example:7.1.7' // Policy (multiple types), non-blocking compile 'com.example.ads.third.party:example:7.1.8' // Policy (multiple types), blocking compile 'com.example.ads.third.party:example:7.1.9' // Policy (multiple types), no severity + compile 'com.example.ads.third.party:example:7.1.10' // Vulnerability (UNSAFE_HOSTNAME_VERIFIER, non-blocking) + compile 'com.example.ads.third.party:example:7.1.11' // Vulnerability multiple (UNSAFE_SSL_ERROR_HANDLER, ZIP_PATH_TRAVERSAL, UNSAFE_WEBVIEW_OAUTH, blocking) + compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) + compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking + compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking compile 'log4j:log4j:latest.release' // OK compile 'log4j:log4j' // OK diff --git a/docs/checks/PlaySdkIndexVulnerability.md.html b/docs/checks/PlaySdkIndexVulnerability.md.html new file mode 100644 index 0000000..9d07245 --- /dev/null +++ b/docs/checks/PlaySdkIndexVulnerability.md.html @@ -0,0 +1,157 @@ + +(#) Library has vulnerability issues in SDK Index + +!!! ERROR: Library has vulnerability issues in SDK Index + This is an error. + +Id +: `PlaySdkIndexVulnerability` +Summary +: Library has vulnerability issues in SDK Index +Severity +: Error +Category +: Compliance +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Affects +: Gradle build files and TOML files +Editing +: This check runs on the fly in the IDE editor +See +: https://developer.android.com/distribute/sdk-index +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) +Copyright Year +: 2014 + +This library version has vulnerability issues that could block +publishing in the Google Play Store. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +build.gradle:13:Warning: com.example.ads.third.party:example version +7.2.0 contains an unsafe implementation of the X509TrustManager +interface. [PlaySdkIndexVulnerability] + compile 'com.example.ads.third.party:example:7.2.0' // Outdated + Critical + Policy (multiple issues), no severity + ------------------------------------------- +build.gradle:24:Warning: com.example.ads.third.party:example version +7.1.10 contains an unsafe implementation of the interfaces +HostnameVerifier or X509HostnameVerifier. [PlaySdkIndexVulnerability] + compile 'com.example.ads.third.party:example:7.1.10' // Vulnerability (UNSAFE_HOSTNAME_VERIFIER, non-blocking) + -------------------------------------------- +build.gradle:25:Error: com.example.ads.third.party:example version +7.1.11 uses WebView for authentication, which is not recommended. +[PlaySdkIndexVulnerability] + compile 'com.example.ads.third.party:example:7.1.11' // Vulnerability multiple (UNSAFE_SSL_ERROR_HANDLER, ZIP_PATH_TRAVERSAL, UNSAFE_WEBVIEW_OAUTH, blocking) + -------------------------------------------- +build.gradle:26:Warning: com.example.ads.third.party:example version +7.1.12 may be vulnerable to WebView Cross-App Scripting. +[PlaySdkIndexVulnerability] + compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) + -------------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`build.gradle`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~groovy linenumbers +dependencies { + compile 'log4j:log4j:1.2.18' // OK, latest + compile 'log4j:log4j:1.2.17' // OK + compile 'log4j:log4j:1.2.16' // Critical NON_BLOCKING + compile 'log4j:log4j:1.2.15' // Outdated NON_BLOCKING + compile 'log4j:log4j:1.2.14' // Non compliant + compile 'log4j:log4j:1.2.13' // Critical BLOCKING + compile 'log4j:log4j:1.2.12' // OUTDATED BLOCKING + compile 'log4j:log4j:1.2.11' // Ok (not in Index) + compile 'com.example.ads.third.party:example:8.0.0' // OK + compile 'com.example.ads.third.party:example:7.2.2' // OK + compile 'com.example.ads.third.party:example:7.2.1' // OK + compile 'com.example.ads.third.party:example:7.2.0' // Outdated + Critical + Policy (multiple issues), no severity + compile 'com.example.ads.third.party:example:7.1.0' // Policy (Ads), non-blocking + compile 'com.example.ads.third.party:example:7.1.1' // Policy (Device and Network Abuse), blocking + compile 'com.example.ads.third.party:example:7.1.2' // Policy (Deceptive Behavior), no severity + compile 'com.example.ads.third.party:example:7.1.3' // Policy (User Data), non-blocking + compile 'com.example.ads.third.party:example:7.1.4' // Policy (Permissions), blocking + compile 'com.example.ads.third.party:example:7.1.5' // Policy (Mobile Unwanted Software), no-severity + compile 'com.example.ads.third.party:example:7.1.6' // Policy (Malware), non-blocking + compile 'com.example.ads.third.party:example:7.1.7' // Policy (multiple types), non-blocking + compile 'com.example.ads.third.party:example:7.1.8' // Policy (multiple types), blocking + compile 'com.example.ads.third.party:example:7.1.9' // Policy (multiple types), no severity + compile 'com.example.ads.third.party:example:7.1.10' // Vulnerability (UNSAFE_HOSTNAME_VERIFIER, non-blocking) + compile 'com.example.ads.third.party:example:7.1.11' // Vulnerability multiple (UNSAFE_SSL_ERROR_HANDLER, ZIP_PATH_TRAVERSAL, UNSAFE_WEBVIEW_OAUTH, blocking) + compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) + compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking + compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking + + compile 'log4j:log4j:latest.release' // OK + compile 'log4j:log4j' // OK + compile 'log4j:log4j:_' // OK + + compile 'com.another.example:example' // Ok (not in Index) +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `GradleDetector.testSdkIndexLibrary`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=192708. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection PlaySdkIndexVulnerability + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="PlaySdkIndexVulnerability" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'PlaySdkIndexVulnerability' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore PlaySdkIndexVulnerability ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/ProduceStateDoesNotAssignValue.md.html b/docs/checks/ProduceStateDoesNotAssignValue.md.html index 0b64ac5..84016fd 100644 --- a/docs/checks/ProduceStateDoesNotAssignValue.md.html +++ b/docs/checks/ProduceStateDoesNotAssignValue.md.html @@ -121,25 +121,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-2.md.html b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-2.md.html index 7f25d15..352b3fc 100644 --- a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-2.md.html +++ b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-2.md.html @@ -79,6 +79,10 @@ [versions] protolayout-material = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", version.ref = "protolayout-material" diff --git a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html index f725b06..a6ae2a8 100644 --- a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html +++ b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html @@ -79,6 +79,10 @@ [versions] protolayout = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout = { module = "androidx.wear.protolayout:protolayout", version.ref = "protolayout" diff --git a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html index 69daeed..8e310ad 100644 --- a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html +++ b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html @@ -79,6 +79,10 @@ [versions] protolayout-expression = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", version.ref = "protolayout-expression" diff --git a/docs/checks/ProtoLayoutMinSchema-2.md.html b/docs/checks/ProtoLayoutMinSchema-2.md.html index 3323d19..4ba8ec9 100644 --- a/docs/checks/ProtoLayoutMinSchema-2.md.html +++ b/docs/checks/ProtoLayoutMinSchema-2.md.html @@ -161,6 +161,10 @@ [versions] protolayout-material = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", version.ref = "protolayout-material" diff --git a/docs/checks/ProtoLayoutMinSchema-3.md.html b/docs/checks/ProtoLayoutMinSchema-3.md.html index ab34e6f..9256ff2 100644 --- a/docs/checks/ProtoLayoutMinSchema-3.md.html +++ b/docs/checks/ProtoLayoutMinSchema-3.md.html @@ -161,6 +161,10 @@ [versions] protolayout = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout = { module = "androidx.wear.protolayout:protolayout", version.ref = "protolayout" diff --git a/docs/checks/ProtoLayoutMinSchema.md.html b/docs/checks/ProtoLayoutMinSchema.md.html index 5329bfa..c6e4f20 100644 --- a/docs/checks/ProtoLayoutMinSchema.md.html +++ b/docs/checks/ProtoLayoutMinSchema.md.html @@ -161,6 +161,10 @@ [versions] protolayout-expression = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", version.ref = "protolayout-expression" diff --git a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html index 5a4c320..cb3805c 100644 --- a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html +++ b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html @@ -46,6 +46,9 @@ labels and bottom chip doesn't go off the screen (especially with different locales). +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -180,6 +183,10 @@ [versions] protolayout-material = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", version.ref = "protolayout-material" diff --git a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html index 5111f13..798aa04 100644 --- a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html +++ b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html @@ -46,6 +46,9 @@ labels and bottom chip doesn't go off the screen (especially with different locales). +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -180,6 +183,10 @@ [versions] protolayout = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout = { module = "androidx.wear.protolayout:protolayout", version.ref = "protolayout" diff --git a/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html b/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html index 5425bf6..f9ab593 100644 --- a/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html +++ b/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html @@ -46,6 +46,9 @@ labels and bottom chip doesn't go off the screen (especially with different locales). +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -180,6 +183,10 @@ [versions] protolayout-expression = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", version.ref = "protolayout-expression" diff --git a/docs/checks/ProvidesMustNotBeAbstract.md.html b/docs/checks/ProvidesMustNotBeAbstract.md.html index 18ad53f..cb5a732 100644 --- a/docs/checks/ProvidesMustNotBeAbstract.md.html +++ b/docs/checks/ProvidesMustNotBeAbstract.md.html @@ -154,6 +154,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/RawColor.md.html b/docs/checks/RawColor.md.html index e8ebc35..da0d256 100644 --- a/docs/checks/RawColor.md.html +++ b/docs/checks/RawColor.md.html @@ -39,6 +39,9 @@ benefit is an easier addition to Dark Theme for instance. This check will run on layouts as well as xml drawables. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -87,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/RawDimen.md.html b/docs/checks/RawDimen.md.html index 7cf409d..9140534 100644 --- a/docs/checks/RawDimen.md.html +++ b/docs/checks/RawDimen.md.html @@ -40,6 +40,9 @@ you only have to adjust it in one place. This check will run on layouts as well as xml drawables. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -87,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/RawDispatchersUse.md.html b/docs/checks/RawDispatchersUse.md.html index 31f53e8..25eb5cf 100644 --- a/docs/checks/RawDispatchersUse.md.html +++ b/docs/checks/RawDispatchersUse.md.html @@ -128,6 +128,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/RedactedInJavaUsage.md.html b/docs/checks/RedactedInJavaUsage.md.html index 0358660..a386ac0 100644 --- a/docs/checks/RedactedInJavaUsage.md.html +++ b/docs/checks/RedactedInJavaUsage.md.html @@ -156,6 +156,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/RedundantBinds.md.html b/docs/checks/RedundantBinds.md.html index 1741ccb..0a6a1a4 100644 --- a/docs/checks/RedundantBinds.md.html +++ b/docs/checks/RedundantBinds.md.html @@ -108,6 +108,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/RedundantLabel.md.html b/docs/checks/RedundantLabel.md.html index 83a8403..17d4ff4 100644 --- a/docs/checks/RedundantLabel.md.html +++ b/docs/checks/RedundantLabel.md.html @@ -33,6 +33,9 @@ from the application tag. Since the application has already specified the same label, the label on this activity can be omitted. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/RememberReturnType.md.html b/docs/checks/RememberReturnType.md.html index 2d3b127..394650d 100644 --- a/docs/checks/RememberReturnType.md.html +++ b/docs/checks/RememberReturnType.md.html @@ -244,25 +244,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/RememberSaveableSaverParameter.md.html b/docs/checks/RememberSaveableSaverParameter.md.html index 5ce48d8..4ed420d 100644 --- a/docs/checks/RememberSaveableSaverParameter.md.html +++ b/docs/checks/RememberSaveableSaverParameter.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -130,25 +130,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.saveable.android) # libs.versions.toml [versions] -runtime-saveable-android = "1.7.0-rc01" +runtime-saveable-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-saveable-android = { module = "androidx.compose.runtime:runtime-saveable-android", version.ref = "runtime-saveable-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-saveable-android](androidx_compose_runtime_runtime-saveable-android.md.html). diff --git a/docs/checks/RemoveWorkManagerInitializer.md.html b/docs/checks/RemoveWorkManagerInitializer.md.html index 118952b..56d3b14 100644 --- a/docs/checks/RemoveWorkManagerInitializer.md.html +++ b/docs/checks/RemoveWorkManagerInitializer.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -101,25 +101,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html b/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html index d179f30..30c525d 100644 --- a/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html +++ b/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html @@ -48,7 +48,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle (this issue) -* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](RepeatOnLifecycleWrongUsage.md.html) +* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03](RepeatOnLifecycleWrongUsage.md.html) * [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](RepeatOnLifecycleWrongUsage-2.md.html) @@ -72,6 +72,10 @@ [versions] lifecycle-runtime-ktx = "2.8.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle-runtime-ktx" diff --git a/docs/checks/RepeatOnLifecycleWrongUsage.md.html b/docs/checks/RepeatOnLifecycleWrongUsage.md.html index efb0ef3..da13e58 100644 --- a/docs/checks/RepeatOnLifecycleWrongUsage.md.html +++ b/docs/checks/RepeatOnLifecycleWrongUsage.md.html @@ -48,7 +48,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle (this issue) -* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](RepeatOnLifecycleWrongUsage.md.html) +* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03](RepeatOnLifecycleWrongUsage.md.html) * [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](RepeatOnLifecycleWrongUsage-2.md.html) @@ -60,25 +60,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.9.0-alpha01" +lifecycle-runtime-android = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-android = { module = "androidx.lifecycle:lifecycle-runtime-android", version.ref = "lifecycle-runtime-android" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-runtime-android](androidx_lifecycle_lifecycle-runtime-android.md.html). diff --git a/docs/checks/ResourcesGetColorCall.md.html b/docs/checks/ResourcesGetColorCall.md.html index 9a9403f..60466dd 100644 --- a/docs/checks/ResourcesGetColorCall.md.html +++ b/docs/checks/ResourcesGetColorCall.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/ResourcesGetColorStateListCall.md.html b/docs/checks/ResourcesGetColorStateListCall.md.html index bc4e59b..67cf787 100644 --- a/docs/checks/ResourcesGetColorStateListCall.md.html +++ b/docs/checks/ResourcesGetColorStateListCall.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/ResourcesGetDrawableCall.md.html b/docs/checks/ResourcesGetDrawableCall.md.html index 97551f1..fa201b7 100644 --- a/docs/checks/ResourcesGetDrawableCall.md.html +++ b/docs/checks/ResourcesGetDrawableCall.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/RestrictCallsTo.md.html b/docs/checks/RestrictCallsTo.md.html index 1e6cdde..3e3e54e 100644 --- a/docs/checks/RestrictCallsTo.md.html +++ b/docs/checks/RestrictCallsTo.md.html @@ -163,6 +163,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/RetrofitUsage.md.html b/docs/checks/RetrofitUsage.md.html index ae5d624..e656b0c 100644 --- a/docs/checks/RetrofitUsage.md.html +++ b/docs/checks/RetrofitUsage.md.html @@ -122,6 +122,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/ReturnFromAwaitPointerEventScope.md.html b/docs/checks/ReturnFromAwaitPointerEventScope.md.html index 5bbfeeb..cb5135a 100644 --- a/docs/checks/ReturnFromAwaitPointerEventScope.md.html +++ b/docs/checks/ReturnFromAwaitPointerEventScope.md.html @@ -52,25 +52,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/RiskyLibrary.md.html b/docs/checks/RiskyLibrary.md.html index e4f47ec..0270e64 100644 --- a/docs/checks/RiskyLibrary.md.html +++ b/docs/checks/RiskyLibrary.md.html @@ -87,6 +87,11 @@ compile 'com.example.ads.third.party:example:7.1.7' // Policy (multiple types), non-blocking compile 'com.example.ads.third.party:example:7.1.8' // Policy (multiple types), blocking compile 'com.example.ads.third.party:example:7.1.9' // Policy (multiple types), no severity + compile 'com.example.ads.third.party:example:7.1.10' // Vulnerability (UNSAFE_HOSTNAME_VERIFIER, non-blocking) + compile 'com.example.ads.third.party:example:7.1.11' // Vulnerability multiple (UNSAFE_SSL_ERROR_HANDLER, ZIP_PATH_TRAVERSAL, UNSAFE_WEBVIEW_OAUTH, blocking) + compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) + compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking + compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking compile 'log4j:log4j:latest.release' // OK compile 'log4j:log4j' // OK diff --git a/docs/checks/RxJava2DefaultScheduler.md.html b/docs/checks/RxJava2DefaultScheduler.md.html index 456bdf3..0f10370 100644 --- a/docs/checks/RxJava2DefaultScheduler.md.html +++ b/docs/checks/RxJava2DefaultScheduler.md.html @@ -94,6 +94,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/RxJava2DisposableAddAllCall.md.html b/docs/checks/RxJava2DisposableAddAllCall.md.html index 33d88a1..f6c7570 100644 --- a/docs/checks/RxJava2DisposableAddAllCall.md.html +++ b/docs/checks/RxJava2DisposableAddAllCall.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/RxJava2DisposableDisposeCall.md.html b/docs/checks/RxJava2DisposableDisposeCall.md.html index 14c70d3..cc4e13b 100644 --- a/docs/checks/RxJava2DisposableDisposeCall.md.html +++ b/docs/checks/RxJava2DisposableDisposeCall.md.html @@ -97,6 +97,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html b/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html index cef67cd..5edb310 100644 --- a/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html +++ b/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html @@ -187,6 +187,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/RxJava2MissingCompositeDisposableClear.md.html b/docs/checks/RxJava2MissingCompositeDisposableClear.md.html index 770dbc2..da26095 100644 --- a/docs/checks/RxJava2MissingCompositeDisposableClear.md.html +++ b/docs/checks/RxJava2MissingCompositeDisposableClear.md.html @@ -92,6 +92,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/RxJava2SchedulersFactoryCall.md.html b/docs/checks/RxJava2SchedulersFactoryCall.md.html index 7f77d7b..98e5105 100644 --- a/docs/checks/RxJava2SchedulersFactoryCall.md.html +++ b/docs/checks/RxJava2SchedulersFactoryCall.md.html @@ -96,6 +96,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/RxJava2SubscribeMissingOnError.md.html b/docs/checks/RxJava2SubscribeMissingOnError.md.html index e31835a..68fd12f 100644 --- a/docs/checks/RxJava2SubscribeMissingOnError.md.html +++ b/docs/checks/RxJava2SubscribeMissingOnError.md.html @@ -94,6 +94,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/ScopedStorage.md.html b/docs/checks/ScopedStorage.md.html index cfb9033..64c6148 100644 --- a/docs/checks/ScopedStorage.md.html +++ b/docs/checks/ScopedStorage.md.html @@ -58,6 +58,9 @@ https://goo.gle/policy-storage-help Allowable use cases: https://goo.gle/policy-storage-usecases. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/SensitiveExternalPath.md.html b/docs/checks/SensitiveExternalPath.md.html index 824e721..cb49450 100644 --- a/docs/checks/SensitiveExternalPath.md.html +++ b/docs/checks/SensitiveExternalPath.md.html @@ -43,6 +43,9 @@ Sensitive information like PII should not be stored outside of the application container or system credential storage facilities. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -95,6 +98,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/SerializableUsage.md.html b/docs/checks/SerializableUsage.md.html index 41331d4..7877252 100644 --- a/docs/checks/SerializableUsage.md.html +++ b/docs/checks/SerializableUsage.md.html @@ -97,6 +97,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/ShouldUseStaticImport.md.html b/docs/checks/ShouldUseStaticImport.md.html index 32fcf92..66bcfca 100644 --- a/docs/checks/ShouldUseStaticImport.md.html +++ b/docs/checks/ShouldUseStaticImport.md.html @@ -90,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/SpanMarkPointMissingMask.md.html b/docs/checks/SpanMarkPointMissingMask.md.html index c594981..878f9f7 100644 --- a/docs/checks/SpanMarkPointMissingMask.md.html +++ b/docs/checks/SpanMarkPointMissingMask.md.html @@ -103,6 +103,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/SpecifyForegroundServiceType.md.html b/docs/checks/SpecifyForegroundServiceType.md.html index 608681f..337f919 100644 --- a/docs/checks/SpecifyForegroundServiceType.md.html +++ b/docs/checks/SpecifyForegroundServiceType.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -88,25 +88,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/SpecifyJobSchedulerIdRange.md.html b/docs/checks/SpecifyJobSchedulerIdRange.md.html index f7ac633..f06b87b 100644 --- a/docs/checks/SpecifyJobSchedulerIdRange.md.html +++ b/docs/checks/SpecifyJobSchedulerIdRange.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -83,25 +83,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/StateFlowValueCalledInComposition.md.html b/docs/checks/StateFlowValueCalledInComposition.md.html index 5a224bc..92b67fb 100644 --- a/docs/checks/StateFlowValueCalledInComposition.md.html +++ b/docs/checks/StateFlowValueCalledInComposition.md.html @@ -194,25 +194,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/StrandhoggVulnerable.md.html b/docs/checks/StrandhoggVulnerable.md.html index 00cdb2d..2774736 100644 --- a/docs/checks/StrandhoggVulnerable.md.html +++ b/docs/checks/StrandhoggVulnerable.md.html @@ -43,6 +43,9 @@ Apps targeting SDK versions earlier than 28 are susceptible to Strandhogg / Task Affinity attacks. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -96,6 +99,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/StringFormatInTimber.md.html b/docs/checks/StringFormatInTimber.md.html index 5b082dc..38a20aa 100644 --- a/docs/checks/StringFormatInTimber.md.html +++ b/docs/checks/StringFormatInTimber.md.html @@ -39,6 +39,9 @@ Since Timber handles String.format automatically, you may not use String#format(). +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -103,6 +106,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/StringNotCapitalized.md.html b/docs/checks/StringNotCapitalized.md.html index 538f0d4..8596a7c 100644 --- a/docs/checks/StringNotCapitalized.md.html +++ b/docs/checks/StringNotCapitalized.md.html @@ -88,6 +88,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/SubscribeOnMain.md.html b/docs/checks/SubscribeOnMain.md.html index 694ff44..d2b3d1f 100644 --- a/docs/checks/SubscribeOnMain.md.html +++ b/docs/checks/SubscribeOnMain.md.html @@ -122,6 +122,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/SuperfluousMarginDeclaration.md.html b/docs/checks/SuperfluousMarginDeclaration.md.html index 8c88e2b..c35031b 100644 --- a/docs/checks/SuperfluousMarginDeclaration.md.html +++ b/docs/checks/SuperfluousMarginDeclaration.md.html @@ -92,6 +92,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/SuperfluousNameSpace.md.html b/docs/checks/SuperfluousNameSpace.md.html index c434738..3badaf9 100644 --- a/docs/checks/SuperfluousNameSpace.md.html +++ b/docs/checks/SuperfluousNameSpace.md.html @@ -90,6 +90,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/SuperfluousPaddingDeclaration.md.html b/docs/checks/SuperfluousPaddingDeclaration.md.html index b282d44..7765a9a 100644 --- a/docs/checks/SuperfluousPaddingDeclaration.md.html +++ b/docs/checks/SuperfluousPaddingDeclaration.md.html @@ -92,6 +92,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/SupportAnnotationUsage.md.html b/docs/checks/SupportAnnotationUsage.md.html index 18e42df..3105827 100644 --- a/docs/checks/SupportAnnotationUsage.md.html +++ b/docs/checks/SupportAnnotationUsage.md.html @@ -34,6 +34,9 @@ error to specify an `@IntRange` where the `from` value is higher than the `to` value. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/SuspiciousCompositionLocalModifierRead.md.html b/docs/checks/SuspiciousCompositionLocalModifierRead.md.html index 340beb9..186d3f3 100644 --- a/docs/checks/SuspiciousCompositionLocalModifierRead.md.html +++ b/docs/checks/SuspiciousCompositionLocalModifierRead.md.html @@ -116,25 +116,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/SuspiciousModifierThen.md.html b/docs/checks/SuspiciousModifierThen.md.html index 109152d..c41e2c5 100644 --- a/docs/checks/SuspiciousModifierThen.md.html +++ b/docs/checks/SuspiciousModifierThen.md.html @@ -106,25 +106,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/SystemPermissionTypo.md.html b/docs/checks/SystemPermissionTypo.md.html index f0af31a..98b5086 100644 --- a/docs/checks/SystemPermissionTypo.md.html +++ b/docs/checks/SystemPermissionTypo.md.html @@ -35,6 +35,9 @@ Please double check the permission value you have supplied. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/TapjackingVulnerable.md.html b/docs/checks/TapjackingVulnerable.md.html index 2a722df..d5bca74 100644 --- a/docs/checks/TapjackingVulnerable.md.html +++ b/docs/checks/TapjackingVulnerable.md.html @@ -44,6 +44,9 @@ `filterTouchesWithObscured` attribute to protect it from tapjacking / overlay attacks. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -96,6 +99,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/TestAppLink.md.html b/docs/checks/TestAppLink.md.html index e046e69..084f7cb 100644 --- a/docs/checks/TestAppLink.md.html +++ b/docs/checks/TestAppLink.md.html @@ -55,7 +55,7 @@ package="test.pkg" > <application> - <activity> + <activity android:name=".MainActivity"> <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> diff --git a/docs/checks/TestLifecycleOwnerInCoroutine.md.html b/docs/checks/TestLifecycleOwnerInCoroutine.md.html index 13ad82c..7ce95f4 100644 --- a/docs/checks/TestLifecycleOwnerInCoroutine.md.html +++ b/docs/checks/TestLifecycleOwnerInCoroutine.md.html @@ -99,25 +99,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.testing) # libs.versions.toml [versions] -lifecycle-runtime-testing = "2.9.0-alpha01" +lifecycle-runtime-testing = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-testing = { module = "androidx.lifecycle:lifecycle-runtime-testing", version.ref = "lifecycle-runtime-testing" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-runtime-testing](androidx_lifecycle_lifecycle-runtime-testing.md.html). diff --git a/docs/checks/TestManifestGradleConfiguration.md.html b/docs/checks/TestManifestGradleConfiguration.md.html index 0375814..946dc86 100644 --- a/docs/checks/TestManifestGradleConfiguration.md.html +++ b/docs/checks/TestManifestGradleConfiguration.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=741505 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -111,25 +111,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-test-manifest:1.7.0-rc01") +implementation("androidx.compose.ui:ui-test-manifest:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-test-manifest:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-test-manifest:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.test.manifest) # libs.versions.toml [versions] -ui-test-manifest = "1.7.0-rc01" +ui-test-manifest = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "ui-test-manifest" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-test-manifest](androidx_compose_ui_ui-test-manifest.md.html). diff --git a/docs/checks/ThrowableNotAtBeginning.md.html b/docs/checks/ThrowableNotAtBeginning.md.html index 99c88d9..65c9856 100644 --- a/docs/checks/ThrowableNotAtBeginning.md.html +++ b/docs/checks/ThrowableNotAtBeginning.md.html @@ -38,6 +38,9 @@ In Timber you have to pass a Throwable at the beginning of the call. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -104,6 +107,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/TimberArgCount.md.html b/docs/checks/TimberArgCount.md.html index 7d2a88c..637d00b 100644 --- a/docs/checks/TimberArgCount.md.html +++ b/docs/checks/TimberArgCount.md.html @@ -103,6 +103,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/TimberArgTypes.md.html b/docs/checks/TimberArgTypes.md.html index b3069e8..c73d955 100644 --- a/docs/checks/TimberArgTypes.md.html +++ b/docs/checks/TimberArgTypes.md.html @@ -105,6 +105,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/TimberExceptionLogging.md.html b/docs/checks/TimberExceptionLogging.md.html index 873f0e5..df14ef4 100644 --- a/docs/checks/TimberExceptionLogging.md.html +++ b/docs/checks/TimberExceptionLogging.md.html @@ -39,6 +39,9 @@ Explicitly including the exception message is redundant when supplying an exception to log. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -105,6 +108,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/TimberTagLength.md.html b/docs/checks/TimberTagLength.md.html index 20c1fb0..3d01304 100644 --- a/docs/checks/TimberTagLength.md.html +++ b/docs/checks/TimberTagLength.md.html @@ -102,6 +102,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/Todo.md.html b/docs/checks/Todo.md.html index 3b9b9be..cd752fe 100644 --- a/docs/checks/Todo.md.html +++ b/docs/checks/Todo.md.html @@ -88,6 +88,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/UnintendedExposedUrl.md.html b/docs/checks/UnintendedExposedUrl.md.html index 4324994..c5b8361 100644 --- a/docs/checks/UnintendedExposedUrl.md.html +++ b/docs/checks/UnintendedExposedUrl.md.html @@ -44,6 +44,9 @@ exposed in the application, allowing attackers to gain access to parts of the application and server that should be kept secure. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -111,6 +114,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/UnintendedPrivateIpAddress.md.html b/docs/checks/UnintendedPrivateIpAddress.md.html index f846172..b32bb3b 100644 --- a/docs/checks/UnintendedPrivateIpAddress.md.html +++ b/docs/checks/UnintendedPrivateIpAddress.md.html @@ -45,6 +45,9 @@ may permit attackers to gain unintended access to the application and its resources. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -112,6 +115,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/UnnecessaryComposedModifier.md.html b/docs/checks/UnnecessaryComposedModifier.md.html index c9ad4b9..4de8eab 100644 --- a/docs/checks/UnnecessaryComposedModifier.md.html +++ b/docs/checks/UnnecessaryComposedModifier.md.html @@ -112,25 +112,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/UnrememberedAnimatable.md.html b/docs/checks/UnrememberedAnimatable.md.html index ed946ed..6f4c7e3 100644 --- a/docs/checks/UnrememberedAnimatable.md.html +++ b/docs/checks/UnrememberedAnimatable.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -249,25 +249,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-rc01" +animation-core-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: animation-core-android = { module = "androidx.compose.animation:animation-core-android", version.ref = "animation-core-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html). diff --git a/docs/checks/UnrememberedGetBackStackEntry.md.html b/docs/checks/UnrememberedGetBackStackEntry.md.html index ab55269..2977227 100644 --- a/docs/checks/UnrememberedGetBackStackEntry.md.html +++ b/docs/checks/UnrememberedGetBackStackEntry.md.html @@ -169,25 +169,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-rc01") +implementation("androidx.navigation:navigation-compose:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' +implementation 'androidx.navigation:navigation-compose:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.8.0-rc01" +navigation-compose = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/UnrememberedMutableInteractionSource.md.html b/docs/checks/UnrememberedMutableInteractionSource.md.html index ac924f1..e724a36 100644 --- a/docs/checks/UnrememberedMutableInteractionSource.md.html +++ b/docs/checks/UnrememberedMutableInteractionSource.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -160,25 +160,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-rc01" +foundation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: foundation-android = { module = "androidx.compose.foundation:foundation-android", version.ref = "foundation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/UnrememberedMutableState.md.html b/docs/checks/UnrememberedMutableState.md.html index 706bf65..6ad95ae 100644 --- a/docs/checks/UnrememberedMutableState.md.html +++ b/docs/checks/UnrememberedMutableState.md.html @@ -270,25 +270,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/UnsafeCryptoAlgorithmUsage.md.html b/docs/checks/UnsafeCryptoAlgorithmUsage.md.html index 7d4dd2d..884b374 100644 --- a/docs/checks/UnsafeCryptoAlgorithmUsage.md.html +++ b/docs/checks/UnsafeCryptoAlgorithmUsage.md.html @@ -44,6 +44,9 @@ is insecure, and makes the code vulnerable to issues like padding oracle attacks. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -104,6 +107,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/UnsafeLifecycleWhenUsage-2.md.html b/docs/checks/UnsafeLifecycleWhenUsage-2.md.html index 95d09ae..8b5ab3b 100644 --- a/docs/checks/UnsafeLifecycleWhenUsage-2.md.html +++ b/docs/checks/UnsafeLifecycleWhenUsage-2.md.html @@ -57,7 +57,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method (this issue) -* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](UnsafeLifecycleWhenUsage.md.html) +* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03](UnsafeLifecycleWhenUsage.md.html) * [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](UnsafeLifecycleWhenUsage-2.md.html) @@ -81,6 +81,10 @@ [versions] lifecycle-runtime-ktx = "2.8.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle-runtime-ktx" diff --git a/docs/checks/UnsafeLifecycleWhenUsage.md.html b/docs/checks/UnsafeLifecycleWhenUsage.md.html index 2bf8432..8e28521 100644 --- a/docs/checks/UnsafeLifecycleWhenUsage.md.html +++ b/docs/checks/UnsafeLifecycleWhenUsage.md.html @@ -57,7 +57,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method (this issue) -* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](UnsafeLifecycleWhenUsage.md.html) +* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03](UnsafeLifecycleWhenUsage.md.html) * [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](UnsafeLifecycleWhenUsage-2.md.html) @@ -69,25 +69,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.9.0-alpha01" +lifecycle-runtime-android = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-android = { module = "androidx.lifecycle:lifecycle-runtime-android", version.ref = "lifecycle-runtime-android" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-runtime-android](androidx_lifecycle_lifecycle-runtime-android.md.html). diff --git a/docs/checks/UnsafeOptInUsageError.md.html b/docs/checks/UnsafeOptInUsageError.md.html index b242687..a17a685 100644 --- a/docs/checks/UnsafeOptInUsageError.md.html +++ b/docs/checks/UnsafeOptInUsageError.md.html @@ -62,6 +62,9 @@ ``` +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Including !!! @@ -82,6 +85,10 @@ [versions] annotation-experimental = "1.5.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: annotation-experimental = { module = "androidx.annotation:annotation-experimental", version.ref = "annotation-experimental" diff --git a/docs/checks/UnsafeOptInUsageWarning.md.html b/docs/checks/UnsafeOptInUsageWarning.md.html index 7b2ed2d..27224ee 100644 --- a/docs/checks/UnsafeOptInUsageWarning.md.html +++ b/docs/checks/UnsafeOptInUsageWarning.md.html @@ -82,6 +82,10 @@ [versions] annotation-experimental = "1.5.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: annotation-experimental = { module = "androidx.annotation:annotation-experimental", version.ref = "annotation-experimental" diff --git a/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html b/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html index a61090b..6bf7005 100644 --- a/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html +++ b/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html @@ -49,25 +49,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/UnspecifiedRegisterReceiverFlag.md.html b/docs/checks/UnspecifiedRegisterReceiverFlag.md.html index f9662e8..ce00ca9 100644 --- a/docs/checks/UnspecifiedRegisterReceiverFlag.md.html +++ b/docs/checks/UnspecifiedRegisterReceiverFlag.md.html @@ -41,6 +41,9 @@ register your receiver with `RECEIVER_NOT_EXPORTED` to protect your receiver on all platform releases. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/UnsupportedLayoutAttribute.md.html b/docs/checks/UnsupportedLayoutAttribute.md.html index a9469a2..7411a6b 100644 --- a/docs/checks/UnsupportedLayoutAttribute.md.html +++ b/docs/checks/UnsupportedLayoutAttribute.md.html @@ -91,6 +91,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/UnusedBoxWithConstraintsScope.md.html b/docs/checks/UnusedBoxWithConstraintsScope.md.html index 02b3e99..93af28d 100644 --- a/docs/checks/UnusedBoxWithConstraintsScope.md.html +++ b/docs/checks/UnusedBoxWithConstraintsScope.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -101,25 +101,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-rc01" +foundation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: foundation-android = { module = "androidx.compose.foundation:foundation-android", version.ref = "foundation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/UnusedContentLambdaTargetStateParameter.md.html b/docs/checks/UnusedContentLambdaTargetStateParameter.md.html index 76ea4a6..600bcf4 100644 --- a/docs/checks/UnusedContentLambdaTargetStateParameter.md.html +++ b/docs/checks/UnusedContentLambdaTargetStateParameter.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -181,25 +181,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.7.0-rc01") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.7.0-rc01' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.7.0-rc01" +animation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: animation-android = { module = "androidx.compose.animation:animation-android", version.ref = "animation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). diff --git a/docs/checks/UnusedCrossfadeTargetStateParameter.md.html b/docs/checks/UnusedCrossfadeTargetStateParameter.md.html index 6fd65c0..aa9dac4 100644 --- a/docs/checks/UnusedCrossfadeTargetStateParameter.md.html +++ b/docs/checks/UnusedCrossfadeTargetStateParameter.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -115,25 +115,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.7.0-rc01") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.7.0-rc01' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.7.0-rc01" +animation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: animation-android = { module = "androidx.compose.animation:animation-android", version.ref = "animation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). diff --git a/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html b/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html index 9f33cd1..2f1742c 100644 --- a/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html +++ b/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html @@ -111,25 +111,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.3.0-rc01") +implementation("androidx.compose.material3:material3-android:1.3.0") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.3.0-rc01' +implementation 'androidx.compose.material3:material3-android:1.3.0' // build.gradle.kts with version catalogs: implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.3.0-rc01" +material3-android = "1.3.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: material3-android = { module = "androidx.compose.material3:material3-android", version.ref = "material3-android" } ``` -1.3.0-rc01 is the version this documentation was generated from; +1.3.0 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.material3:material3-android](androidx_compose_material3_material3-android.md.html). diff --git a/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html b/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html index f3cfe48..13576b2 100644 --- a/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html +++ b/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -111,25 +111,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.7.0-rc01") +implementation("androidx.compose.material:material-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.material:material-android:1.7.0-rc01' +implementation 'androidx.compose.material:material-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.7.0-rc01" +material-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: material-android = { module = "androidx.compose.material:material-android", version.ref = "material-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.material:material-android](androidx_compose_material_material-android.md.html). diff --git a/docs/checks/UnusedMergeAttributes.md.html b/docs/checks/UnusedMergeAttributes.md.html index d8a9fea..578a44f 100644 --- a/docs/checks/UnusedMergeAttributes.md.html +++ b/docs/checks/UnusedMergeAttributes.md.html @@ -92,6 +92,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/UnusedSharedTransitionModifierParameter.md.html b/docs/checks/UnusedSharedTransitionModifierParameter.md.html new file mode 100644 index 0000000..015d43e --- /dev/null +++ b/docs/checks/UnusedSharedTransitionModifierParameter.md.html @@ -0,0 +1,186 @@ + +(#) SharedTransitionScope calls should use the provided Modifier parameter + +!!! ERROR: SharedTransitionScope calls should use the provided Modifier parameter + This is an error. + +Id +: `UnusedSharedTransitionModifierParameter` +Summary +: SharedTransitionScope calls should use the provided Modifier parameter +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Jetpack Compose +Identifier +: androidx.compose.animation +Feedback +: https://issuetracker.google.com/issues/new?component=612128 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) + +Affects +: Kotlin and Java files and test sources +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/main/java/androidx/compose/animation/lint/SharedTransitionScopeDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/test/java/androidx/compose/animation/lint/SharedTransitionScopeDetectorTest.kt) +Copyright Year +: 2024 + +When using `SharedTransitionScope` the provided `Modifier` should always +be used on the top-most child, as the `Modifier` both obtains the root +coordinates and creates an overlay. Otherwise, consider using +`SharedTransitionLayout`. + +!!! Tip + This lint check has an associated quickfix available in the IDE. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/foo/test.kt:10:Error: Supplied Modifier parameter should be used on +the top most Composable. Otherwise, consider using +SharedTransitionLayout. [UnusedSharedTransitionModifierParameter] + SharedTransitionScope { + ^ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/foo/test.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package foo + +import androidx.compose.animation.* +import androidx.compose.runtime.* +import androidx.compose.ui.* + +@Composable +fun Test() { + SharedTransitionScope { + // Do nothing + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/test/java/androidx/compose/animation/lint/SharedTransitionScopeDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `SharedTransitionScopeDetector.unreferencedModifier_implicitParameter`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=612128. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.compose.animation:animation-android:1.8.0-alpha02") + +// build.gradle +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.animation.android) + +# libs.versions.toml +[versions] +animation-android = "1.8.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +animation-android = { + module = "androidx.compose.animation:animation-android", + version.ref = "animation-android" +} +``` + +1.8.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("UnusedSharedTransitionModifierParameter") + fun method() { + SharedTransitionScope(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("UnusedSharedTransitionModifierParameter") + void method() { + SharedTransitionScope(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection UnusedSharedTransitionModifierParameter + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="UnusedSharedTransitionModifierParameter" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'UnusedSharedTransitionModifierParameter' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore UnusedSharedTransitionModifierParameter ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/UnusedTargetStateInContentKeyLambda.md.html b/docs/checks/UnusedTargetStateInContentKeyLambda.md.html new file mode 100644 index 0000000..22ad6c8 --- /dev/null +++ b/docs/checks/UnusedTargetStateInContentKeyLambda.md.html @@ -0,0 +1,273 @@ + +(#) `contentKey` lambda in AnimatedContent should always use the provided `T` parameter + +!!! ERROR: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter + This is an error. + +Id +: `UnusedTargetStateInContentKeyLambda` +Summary +: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Jetpack Compose +Identifier +: androidx.compose.animation +Feedback +: https://issuetracker.google.com/issues/new?component=612128 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) + +Affects +: Kotlin and Java files and test sources +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/main/java/androidx/compose/animation/lint/AnimatedContentDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/test/java/androidx/compose/animation/lint/AnimatedContentDetectorTest.kt) +Copyright Year +: 2023 + +In `AnimatedContent`, the `contentKey` lambda may be used when the +`targetState` is expected to mutate frequently but not all mutations are +desired to be considered a target state change. So `contentKey` is +expected to always use the given `targetState` parameter to calculate +its result. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/foo/test.kt:13:Error: Target state parameter it is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { if (foo) { /**/ } else { /**/ } } + ----------------------------------- +src/foo/test.kt:17:Error: Target state parameter it is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { if (foo) { /**/ } else { /**/ } }, + ----------------------------------- +src/foo/test.kt:22:Error: Target state parameter param is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { param -> if (foo) { /**/ } else { /**/ } } + ----- +src/foo/test.kt:26:Error: Target state parameter param is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { param -> if (foo) { /**/ } else { /**/ } }, + ----- +src/foo/test.kt:31:Error: Target state parameter _ is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { _ -> if (foo) { /**/ } else { /**/ } } + - +src/foo/test.kt:35:Error: Target state parameter _ is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { _ -> if (foo) { /**/ } else { /**/ } }, + - +src/foo/test.kt:39:Error: Target state parameter it is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { if (foo) { /**/ } else { /**/ } } + ----------------------------------- +src/foo/test.kt:42:Error: Target state parameter it is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { if (foo) { /**/ } else { /**/ } }, + ----------------------------------- +src/foo/test.kt:46:Error: Target state parameter param is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { param -> if (foo) { /**/ } else { /**/ } } + ----- +src/foo/test.kt:49:Error: Target state parameter param is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { param -> if (foo) { /**/ } else { /**/ } }, + ----- +src/foo/test.kt:53:Error: Target state parameter _ is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { _ -> if (foo) { /**/ } else { /**/ } } + - +src/foo/test.kt:56:Error: Target state parameter _ is not used +[UnusedTargetStateInContentKeyLambda] + contentKey = { _ -> if (foo) { /**/ } else { /**/ } }, + - +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/foo/test.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package foo + +import androidx.compose.animation.* +import androidx.compose.runtime.* + +val foo = false + +@Composable +fun Test() { + AnimatedContent( + foo, + contentKey = { if (foo) { /**/ } else { /**/ } } + ) { if (foo) { /**/ } else { /**/ } } + AnimatedContent( + foo, + contentKey = { if (foo) { /**/ } else { /**/ } }, + content = { if (foo) { /**/ } else { /**/ } } + ) + AnimatedContent( + foo, + contentKey = { param -> if (foo) { /**/ } else { /**/ } } + ) { param -> if (foo) { /**/ } else { /**/ } } + AnimatedContent( + foo, + contentKey = { param -> if (foo) { /**/ } else { /**/ } }, + content = { param -> if (foo) { /**/ } else { /**/ } } + ) + AnimatedContent( + foo, + contentKey = { _ -> if (foo) { /**/ } else { /**/ } } + ) { _ -> if (foo) { /**/ } else { /**/ } } + AnimatedContent( + foo, + contentKey = { _ -> if (foo) { /**/ } else { /**/ } }, + content = { _ -> if (foo) { /**/ } else { /**/ } } + ) + Transition(foo).AnimatedContent( + contentKey = { if (foo) { /**/ } else { /**/ } } + ) { if (foo) { /**/ } else { /**/ } } + Transition(foo).AnimatedContent( + contentKey = { if (foo) { /**/ } else { /**/ } }, + content = { if (foo) { /**/ } else { /**/ } } + ) + Transition(foo).AnimatedContent( + contentKey = { param -> if (foo) { /**/ } else { /**/ } } + ) { param -> if (foo) { /**/ } else { /**/ } } + Transition(foo).AnimatedContent( + contentKey = { param -> if (foo) { /**/ } else { /**/ } }, + content = { param -> if (foo) { /**/ } else { /**/ } } + ) + Transition(foo).AnimatedContent( + contentKey = { _ -> if (foo) { /**/ } else { /**/ } } + ) { _ -> if (foo) { /**/ } else { /**/ } } + Transition(foo).AnimatedContent( + contentKey = { _ -> if (foo) { /**/ } else { /**/ } }, + content = { _ -> if (foo) { /**/ } else { /**/ } } + ) +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/compose/animation/animation-lint/src/test/java/androidx/compose/animation/lint/AnimatedContentDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `AnimatedContentDetector.unreferencedParameters`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=612128. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.compose.animation:animation-android:1.8.0-alpha02") + +// build.gradle +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.animation.android) + +# libs.versions.toml +[versions] +animation-android = "1.8.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +animation-android = { + module = "androidx.compose.animation:animation-android", + version.ref = "animation-android" +} +``` + +1.8.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("UnusedTargetStateInContentKeyLambda") + fun method() { + AnimatedContent(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("UnusedTargetStateInContentKeyLambda") + void method() { + AnimatedContent(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection UnusedTargetStateInContentKeyLambda + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="UnusedTargetStateInContentKeyLambda" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'UnusedTargetStateInContentKeyLambda' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore UnusedTargetStateInContentKeyLambda ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/UnusedTransitionTargetStateParameter.md.html b/docs/checks/UnusedTransitionTargetStateParameter.md.html index c872862..cc31b12 100644 --- a/docs/checks/UnusedTransitionTargetStateParameter.md.html +++ b/docs/checks/UnusedTransitionTargetStateParameter.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -118,25 +118,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-rc01" +animation-core-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: animation-core-android = { module = "androidx.compose.animation:animation-core-android", version.ref = "animation-core-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html). diff --git a/docs/checks/UseAndroidAlpha.md.html b/docs/checks/UseAndroidAlpha.md.html index 19e976e..8694239 100644 --- a/docs/checks/UseAndroidAlpha.md.html +++ b/docs/checks/UseAndroidAlpha.md.html @@ -63,6 +63,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseAppTint.md.html b/docs/checks/UseAppTint.md.html index ef3d93f..2571d1e 100644 --- a/docs/checks/UseAppTint.md.html +++ b/docs/checks/UseAppTint.md.html @@ -99,6 +99,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseCompatLoadingForColorStateLists.md.html b/docs/checks/UseCompatLoadingForColorStateLists.md.html index 8b7fe49..5caf3bd 100644 --- a/docs/checks/UseCompatLoadingForColorStateLists.md.html +++ b/docs/checks/UseCompatLoadingForColorStateLists.md.html @@ -95,6 +95,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseCompatLoadingForDrawables.md.html b/docs/checks/UseCompatLoadingForDrawables.md.html index 4292aea..9d8537b 100644 --- a/docs/checks/UseCompatLoadingForDrawables.md.html +++ b/docs/checks/UseCompatLoadingForDrawables.md.html @@ -96,6 +96,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseCompatTextViewDrawableApis.md.html b/docs/checks/UseCompatTextViewDrawableApis.md.html index 37a4d32..f984a0c 100644 --- a/docs/checks/UseCompatTextViewDrawableApis.md.html +++ b/docs/checks/UseCompatTextViewDrawableApis.md.html @@ -99,6 +99,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseCompatTextViewDrawableXml.md.html b/docs/checks/UseCompatTextViewDrawableXml.md.html index 6402c12..08c6cd7 100644 --- a/docs/checks/UseCompatTextViewDrawableXml.md.html +++ b/docs/checks/UseCompatTextViewDrawableXml.md.html @@ -98,6 +98,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseGetLayoutInflater.md.html b/docs/checks/UseGetLayoutInflater.md.html index aa20227..c7ec928 100644 --- a/docs/checks/UseGetLayoutInflater.md.html +++ b/docs/checks/UseGetLayoutInflater.md.html @@ -99,25 +99,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/UseOfNonLambdaOffsetOverload.md.html b/docs/checks/UseOfNonLambdaOffsetOverload.md.html index 14b46dc..3f7fe5b 100644 --- a/docs/checks/UseOfNonLambdaOffsetOverload.md.html +++ b/docs/checks/UseOfNonLambdaOffsetOverload.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -50,25 +50,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-rc01" +foundation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: foundation-android = { module = "androidx.compose.foundation:foundation-android", version.ref = "foundation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/UseRequireInsteadOfGet.md.html b/docs/checks/UseRequireInsteadOfGet.md.html index 46fd337..3def396 100644 --- a/docs/checks/UseRequireInsteadOfGet.md.html +++ b/docs/checks/UseRequireInsteadOfGet.md.html @@ -165,25 +165,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.fragment:fragment](androidx_fragment_fragment.md.html). diff --git a/docs/checks/UseRxSetProgress2.md.html b/docs/checks/UseRxSetProgress2.md.html index b25dc59..2b4d2f3 100644 --- a/docs/checks/UseRxSetProgress2.md.html +++ b/docs/checks/UseRxSetProgress2.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -89,25 +89,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/UseSupportActionBar.md.html b/docs/checks/UseSupportActionBar.md.html index add6c70..6e6acb1 100644 --- a/docs/checks/UseSupportActionBar.md.html +++ b/docs/checks/UseSupportActionBar.md.html @@ -96,6 +96,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseSwitchCompatOrMaterialCode.md.html b/docs/checks/UseSwitchCompatOrMaterialCode.md.html index 444faea..aff26b1 100644 --- a/docs/checks/UseSwitchCompatOrMaterialCode.md.html +++ b/docs/checks/UseSwitchCompatOrMaterialCode.md.html @@ -92,6 +92,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseSwitchCompatOrMaterialXml.md.html b/docs/checks/UseSwitchCompatOrMaterialXml.md.html index d97a4d1..8977315 100644 --- a/docs/checks/UseSwitchCompatOrMaterialXml.md.html +++ b/docs/checks/UseSwitchCompatOrMaterialXml.md.html @@ -95,6 +95,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/UseTomlInstead.md.html b/docs/checks/UseTomlInstead.md.html index 22124ec..8741c99 100644 --- a/docs/checks/UseTomlInstead.md.html +++ b/docs/checks/UseTomlInstead.md.html @@ -35,6 +35,9 @@ (and in the IDE, provides a quickfix to performing the operation automatically). +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/UsingMaterialAndMaterial3Libraries.md.html b/docs/checks/UsingMaterialAndMaterial3Libraries.md.html index a7ec2f0..2549760 100644 --- a/docs/checks/UsingMaterialAndMaterial3Libraries.md.html +++ b/docs/checks/UsingMaterialAndMaterial3Libraries.md.html @@ -87,25 +87,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.3.0-rc01") +implementation("androidx.compose.material3:material3-android:1.3.0") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.3.0-rc01' +implementation 'androidx.compose.material3:material3-android:1.3.0' // build.gradle.kts with version catalogs: implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.3.0-rc01" +material3-android = "1.3.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: material3-android = { module = "androidx.compose.material3:material3-android", version.ref = "material3-android" } ``` -1.3.0-rc01 is the version this documentation was generated from; +1.3.0 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.compose.material3:material3-android](androidx_compose_material3_material3-android.md.html). diff --git a/docs/checks/UsingOnClickInXml.md.html b/docs/checks/UsingOnClickInXml.md.html index 4646278..8710fa3 100644 --- a/docs/checks/UsingOnClickInXml.md.html +++ b/docs/checks/UsingOnClickInXml.md.html @@ -61,6 +61,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/VectorDrawableCompat.md.html b/docs/checks/VectorDrawableCompat.md.html index bc39de1..7d46725 100644 --- a/docs/checks/VectorDrawableCompat.md.html +++ b/docs/checks/VectorDrawableCompat.md.html @@ -39,6 +39,9 @@ `build.gradle` file, and second, use `app:srcCompat` instead of `android:src` to refer to vector drawables. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/ViewModelConstructorInComposable.md.html b/docs/checks/ViewModelConstructorInComposable.md.html index ed326e8..c7ccec2 100644 --- a/docs/checks/ViewModelConstructorInComposable.md.html +++ b/docs/checks/ViewModelConstructorInComposable.md.html @@ -48,25 +48,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.viewmodel.compose.android) # libs.versions.toml [versions] -lifecycle-viewmodel-compose-android = "2.9.0-alpha01" +lifecycle-viewmodel-compose-android = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-viewmodel-compose-android = { module = "androidx.lifecycle:lifecycle-viewmodel-compose-android", version.ref = "lifecycle-viewmodel-compose-android" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-viewmodel-compose-android](androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html). diff --git a/docs/checks/VulnerableCryptoAlgorithm.md.html b/docs/checks/VulnerableCryptoAlgorithm.md.html index c79b845..358ebac 100644 --- a/docs/checks/VulnerableCryptoAlgorithm.md.html +++ b/docs/checks/VulnerableCryptoAlgorithm.md.html @@ -44,6 +44,9 @@ to reasonably determine the original input or produce multiple inputs with the same hash value. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: @@ -101,6 +104,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/WeakPrng.md.html b/docs/checks/WeakPrng.md.html index ed05e23..23d8ccf 100644 --- a/docs/checks/WeakPrng.md.html +++ b/docs/checks/WeakPrng.md.html @@ -105,6 +105,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/WithPluginClasspathUsage.md.html b/docs/checks/WithPluginClasspathUsage.md.html new file mode 100644 index 0000000..e15d00d --- /dev/null +++ b/docs/checks/WithPluginClasspathUsage.md.html @@ -0,0 +1,144 @@ + +(#) Flags usage of GradleRunner#withPluginClasspath + +!!! ERROR: Flags usage of GradleRunner#withPluginClasspath + This is an error. + +Id +: `WithPluginClasspathUsage` +Summary +: Flags usage of GradleRunner#withPluginClasspath +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) + +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/main/java/androidx/lint/gradle/WithPluginClasspathUsageDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/test/java/androidx/lint/gradle/WithPluginClasspathUsageDetectorTest.kt) +Copyright Year +: 2024 + +This check flags usage of `GradleRunner#withPluginClasspath` in tests, +as it might lead to potential issues or it is discouraged in certain +contexts. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha02") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("WithPluginClasspathUsage") + fun method() { + withPluginClasspath(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("WithPluginClasspathUsage") + void method() { + withPluginClasspath(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection WithPluginClasspathUsage + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="WithPluginClasspathUsage" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'WithPluginClasspathUsage' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore WithPluginClasspathUsage ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/WithTypeWithoutConfigureEach.md.html b/docs/checks/WithTypeWithoutConfigureEach.md.html new file mode 100644 index 0000000..2ae7e55 --- /dev/null +++ b/docs/checks/WithTypeWithoutConfigureEach.md.html @@ -0,0 +1,143 @@ + +(#) Flags usage of withType with a closure instead of configureEach + +!!! ERROR: Flags usage of withType with a closure instead of configureEach + This is an error. + +Id +: `WithTypeWithoutConfigureEach` +Summary +: Flags usage of withType with a closure instead of configureEach +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) + +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/main/java/androidx/lint/gradle/WithTypeWithoutConfigureEachUsageDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/test/java/androidx/lint/gradle/WithTypeWithoutConfigureEachUsageDetectorTest.kt) +Copyright Year +: 2024 + +Using withType with a closure directly eagerly creates task. +Using configureEach defers the creation of tasks. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha02") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("WithTypeWithoutConfigureEach") + fun method() { + withType(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("WithTypeWithoutConfigureEach") + void method() { + withType(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection WithTypeWithoutConfigureEach + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="WithTypeWithoutConfigureEach" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'WithTypeWithoutConfigureEach' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore WithTypeWithoutConfigureEach ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/WorkerHasAPublicModifier.md.html b/docs/checks/WorkerHasAPublicModifier.md.html index f7a7e52..5db0567 100644 --- a/docs/checks/WorkerHasAPublicModifier.md.html +++ b/docs/checks/WorkerHasAPublicModifier.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -82,25 +82,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.work:work-runtime](androidx_work_work-runtime.md.html). diff --git a/docs/checks/WrongAnnotationOrder.md.html b/docs/checks/WrongAnnotationOrder.md.html index 5408c37..0571a19 100644 --- a/docs/checks/WrongAnnotationOrder.md.html +++ b/docs/checks/WrongAnnotationOrder.md.html @@ -93,6 +93,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/WrongConstant.md.html b/docs/checks/WrongConstant.md.html index 44453b2..517e274 100644 --- a/docs/checks/WrongConstant.md.html +++ b/docs/checks/WrongConstant.md.html @@ -32,6 +32,9 @@ Ensures that when parameter in a method only allows a specific set of constants, calls obey those rules. +!!! Tip + This lint check has an associated quickfix available in the IDE. + (##) Example Here is an example of lint warnings produced by this check: diff --git a/docs/checks/WrongConstraintLayoutUsage.md.html b/docs/checks/WrongConstraintLayoutUsage.md.html index 14cbca6..11ec65d 100644 --- a/docs/checks/WrongConstraintLayoutUsage.md.html +++ b/docs/checks/WrongConstraintLayoutUsage.md.html @@ -92,6 +92,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/WrongDrawableName.md.html b/docs/checks/WrongDrawableName.md.html index 5993318..3836b7d 100644 --- a/docs/checks/WrongDrawableName.md.html +++ b/docs/checks/WrongDrawableName.md.html @@ -88,6 +88,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/WrongGlobalIconColor.md.html b/docs/checks/WrongGlobalIconColor.md.html index fc11cf7..5910c4a 100644 --- a/docs/checks/WrongGlobalIconColor.md.html +++ b/docs/checks/WrongGlobalIconColor.md.html @@ -97,6 +97,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/WrongLayoutName.md.html b/docs/checks/WrongLayoutName.md.html index ac8ba62..d488c5b 100644 --- a/docs/checks/WrongLayoutName.md.html +++ b/docs/checks/WrongLayoutName.md.html @@ -86,6 +86,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/WrongMenuIdFormat.md.html b/docs/checks/WrongMenuIdFormat.md.html index 640d044..8d4a22d 100644 --- a/docs/checks/WrongMenuIdFormat.md.html +++ b/docs/checks/WrongMenuIdFormat.md.html @@ -89,6 +89,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/WrongNavigateRouteType.md.html b/docs/checks/WrongNavigateRouteType.md.html index 736cfcd..75fc859 100644 --- a/docs/checks/WrongNavigateRouteType.md.html +++ b/docs/checks/WrongNavigateRouteType.md.html @@ -152,25 +152,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") +implementation("androidx.navigation:navigation-runtime:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' +implementation 'androidx.navigation:navigation-runtime:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-rc01" +navigation-runtime = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "navigation-runtime" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/WrongRequiresOptIn.md.html b/docs/checks/WrongRequiresOptIn.md.html index c221a56..541b729 100644 --- a/docs/checks/WrongRequiresOptIn.md.html +++ b/docs/checks/WrongRequiresOptIn.md.html @@ -64,6 +64,10 @@ [versions] annotation-experimental = "1.5.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: annotation-experimental = { module = "androidx.annotation:annotation-experimental", version.ref = "annotation-experimental" diff --git a/docs/checks/WrongResourceImportAlias.md.html b/docs/checks/WrongResourceImportAlias.md.html index 715822c..c3f887c 100644 --- a/docs/checks/WrongResourceImportAlias.md.html +++ b/docs/checks/WrongResourceImportAlias.md.html @@ -119,6 +119,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/WrongStartDestinationType-2.md.html b/docs/checks/WrongStartDestinationType-2.md.html index 01a9dce..14841ec 100644 --- a/docs/checks/WrongStartDestinationType-2.md.html +++ b/docs/checks/WrongStartDestinationType-2.md.html @@ -141,8 +141,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class. (this issue) -* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.8.0-rc01](WrongStartDestinationType.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-common:2.8.0-rc01](WrongStartDestinationType-3.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.8.1](WrongStartDestinationType.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-common:2.8.1](WrongStartDestinationType-3.md.html) (##) Including @@ -153,25 +153,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") +implementation("androidx.navigation:navigation-runtime:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' +implementation 'androidx.navigation:navigation-runtime:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-rc01" +navigation-runtime = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "navigation-runtime" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/WrongStartDestinationType-3.md.html b/docs/checks/WrongStartDestinationType-3.md.html index f4426d0..f0ca0b6 100644 --- a/docs/checks/WrongStartDestinationType-3.md.html +++ b/docs/checks/WrongStartDestinationType-3.md.html @@ -141,8 +141,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class. (this issue) -* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.8.0-rc01](WrongStartDestinationType.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.8.0-rc01](WrongStartDestinationType-2.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.8.1](WrongStartDestinationType.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.8.1](WrongStartDestinationType-2.md.html) (##) Including @@ -153,25 +153,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.8.0-rc01") +implementation("androidx.navigation:navigation-common:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-common:2.8.0-rc01' +implementation 'androidx.navigation:navigation-common:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.8.0-rc01" +navigation-common = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-common = { module = "androidx.navigation:navigation-common", version.ref = "navigation-common" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html). diff --git a/docs/checks/WrongStartDestinationType.md.html b/docs/checks/WrongStartDestinationType.md.html index 3d495ba..59d1fb1 100644 --- a/docs/checks/WrongStartDestinationType.md.html +++ b/docs/checks/WrongStartDestinationType.md.html @@ -139,8 +139,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class. (this issue) -* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.8.0-rc01](WrongStartDestinationType-2.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-common:2.8.0-rc01](WrongStartDestinationType-3.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.8.1](WrongStartDestinationType-2.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-common:2.8.1](WrongStartDestinationType-3.md.html) (##) Including @@ -151,25 +151,29 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-rc01") +implementation("androidx.navigation:navigation-compose:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' +implementation 'androidx.navigation:navigation-compose:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.8.0-rc01" +navigation-compose = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/WrongTestMethodName.md.html b/docs/checks/WrongTestMethodName.md.html index 78a84b9..96d4ebc 100644 --- a/docs/checks/WrongTestMethodName.md.html +++ b/docs/checks/WrongTestMethodName.md.html @@ -93,6 +93,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/WrongViewIdFormat.md.html b/docs/checks/WrongViewIdFormat.md.html index 9f2bf18..100192d 100644 --- a/docs/checks/WrongViewIdFormat.md.html +++ b/docs/checks/WrongViewIdFormat.md.html @@ -88,6 +88,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/XmlSpacing.md.html b/docs/checks/XmlSpacing.md.html index b121d51..15a8b05 100644 --- a/docs/checks/XmlSpacing.md.html +++ b/docs/checks/XmlSpacing.md.html @@ -104,6 +104,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/androidx_activity_activity-compose.md.html b/docs/checks/androidx_activity_activity-compose.md.html index 4fec04f..f515106 100644 --- a/docs/checks/androidx_activity_activity-compose.md.html +++ b/docs/checks/androidx_activity_activity-compose.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.activity:activity-compose:1.10.0-alpha01 +: androidx.activity:activity-compose:1.10.0-alpha02 (##) Included Issues @@ -34,25 +34,29 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity-compose:1.10.0-alpha01") +implementation("androidx.activity:activity-compose:1.10.0-alpha02") // build.gradle -implementation 'androidx.activity:activity-compose:1.10.0-alpha01' +implementation 'androidx.activity:activity-compose:1.10.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] -activity-compose = "1.10.0-alpha01" +activity-compose = "1.10.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" } ``` -1.10.0-alpha01 is the version this documentation was generated from; +1.10.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,7 +70,9 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.10.0-alpha02|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha01|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.9.2|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.1|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.0|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.2|2023/12/13| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_activity_activity.md.html b/docs/checks/androidx_activity_activity.md.html index a13c403..ed0dac6 100644 --- a/docs/checks/androidx_activity_activity.md.html +++ b/docs/checks/androidx_activity_activity.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.activity:activity:1.10.0-alpha01 +: androidx.activity:activity:1.10.0-alpha02 (##) Included Issues @@ -35,25 +35,29 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity:1.10.0-alpha01") +implementation("androidx.activity:activity:1.10.0-alpha02") // build.gradle -implementation 'androidx.activity:activity:1.10.0-alpha01' +implementation 'androidx.activity:activity:1.10.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.activity) # libs.versions.toml [versions] -activity = "1.10.0-alpha01" +activity = "1.10.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: activity = { module = "androidx.activity:activity", version.ref = "activity" } ``` -1.10.0-alpha01 is the version this documentation was generated from; +1.10.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -68,7 +72,9 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.10.0-alpha02|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha01|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.9.2|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.1|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.0|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.2|2023/12/13| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_annotation_annotation-experimental.md.html b/docs/checks/androidx_annotation_annotation-experimental.md.html index e955af8..e12b813 100644 --- a/docs/checks/androidx_annotation_annotation-experimental.md.html +++ b/docs/checks/androidx_annotation_annotation-experimental.md.html @@ -51,6 +51,10 @@ [versions] annotation-experimental = "1.5.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: annotation-experimental = { module = "androidx.annotation:annotation-experimental", version.ref = "annotation-experimental" diff --git a/docs/checks/androidx_appcompat_appcompat.md.html b/docs/checks/androidx_appcompat_appcompat.md.html index c85fc12..37e8c35 100644 --- a/docs/checks/androidx_appcompat_appcompat.md.html +++ b/docs/checks/androidx_appcompat_appcompat.md.html @@ -55,6 +55,10 @@ [versions] appcompat = "1.7.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" diff --git a/docs/checks/androidx_compose_animation_animation-android.md.html b/docs/checks/androidx_compose_animation_animation-android.md.html index cedd461..64faacc 100644 --- a/docs/checks/androidx_compose_animation_animation-android.md.html +++ b/docs/checks/androidx_compose_animation_animation-android.md.html @@ -13,18 +13,21 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.animation:animation-android:1.7.0-rc01 +: androidx.compose.animation:animation-android:1.8.0-alpha02 (##) Included Issues -|Issue Id |Issue Description | -|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------| -|[UnusedCrossfadeTargetStateParameter](UnusedCrossfadeTargetStateParameter.md.html) |Crossfade calls should use the provided `T` parameter in the content lambda | -|[UnusedContentLambdaTargetStateParameter](UnusedContentLambdaTargetStateParameter.md.html)|AnimatedContent calls should use the provided `T` parameter in the content lambda| +|Issue Id |Issue Description | +|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------| +|[UnusedCrossfadeTargetStateParameter](UnusedCrossfadeTargetStateParameter.md.html) |Crossfade calls should use the provided `T` parameter in the content lambda | +|[UnusedContentLambdaTargetStateParameter](UnusedContentLambdaTargetStateParameter.md.html)|AnimatedContent calls should use the provided `T` parameter in the content lambda | +|[UnusedTargetStateInContentKeyLambda](UnusedTargetStateInContentKeyLambda.md.html) |`contentKey` lambda in AnimatedContent should always use the provided `T` parameter| +|[UnusedSharedTransitionModifierParameter](UnusedSharedTransitionModifierParameter.md.html)|SharedTransitionScope calls should use the provided Modifier parameter | +|[ConstantContentStateKeyInItemsCall](ConstantContentStateKeyInItemsCall.md.html) |Composables within an LazyList `items` call should have unique content state keys | (##) Including @@ -34,31 +37,38 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.7.0-rc01") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.7.0-rc01' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.7.0-rc01" +animation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: animation-android = { module = "androidx.compose.animation:animation-android", version.ref = "animation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 1.5.0: First version includes UnusedContentLambdaTargetStateParameter, UnusedCrossfadeTargetStateParameter. +* 1.8.0-alpha01: Adds ConstantContentStateKeyInItemsCall, + UnusedSharedTransitionModifierParameter, + UnusedTargetStateInContentKeyLambda. (##) Version Compatibility @@ -66,22 +76,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 5| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 5| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_animation_animation-core-android.md.html b/docs/checks/androidx_compose_animation_animation-core-android.md.html index 5f52f9a..8ebfecd 100644 --- a/docs/checks/androidx_compose_animation_animation-core-android.md.html +++ b/docs/checks/androidx_compose_animation_animation-core-android.md.html @@ -14,11 +14,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.animation:animation-core-android:1.7.0-rc01 +: androidx.compose.animation:animation-core-android:1.8.0-alpha02 (##) Included Issues @@ -36,32 +36,36 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-rc01" +animation-core-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: animation-core-android = { module = "androidx.compose.animation:animation-core-android", version.ref = "animation-core-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 1.5.0: First version includes UnrememberedAnimatable, UnusedTransitionTargetStateParameter. -* 1.7.0-alpha01: Adds ArcAnimationSpecTypeIssue. +* 1.7.0: Adds ArcAnimationSpecTypeIssue. (##) Version Compatibility @@ -69,22 +73,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 3| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 3| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 3| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 3| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_foundation_foundation-android.md.html b/docs/checks/androidx_compose_foundation_foundation-android.md.html index d016f67..47102f8 100644 --- a/docs/checks/androidx_compose_foundation_foundation-android.md.html +++ b/docs/checks/androidx_compose_foundation_foundation-android.md.html @@ -15,11 +15,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.foundation:foundation-android:1.7.0-rc01 +: androidx.compose.foundation:foundation-android:1.8.0-alpha02 (##) Included Issues @@ -38,25 +38,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-rc01" +foundation-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: foundation-android = { module = "androidx.compose.foundation:foundation-android", version.ref = "foundation-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -72,22 +76,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 4| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 4| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 4| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 4| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 4| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 4| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_material3_material3-android.md.html b/docs/checks/androidx_compose_material3_material3-android.md.html index 4599b31..e42e8bc 100644 --- a/docs/checks/androidx_compose_material3_material3-android.md.html +++ b/docs/checks/androidx_compose_material3_material3-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.material3:material3-android:1.3.0-rc01 +: androidx.compose.material3:material3-android:1.3.0 (##) Included Issues @@ -34,25 +34,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.3.0-rc01") +implementation("androidx.compose.material3:material3-android:1.3.0") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.3.0-rc01' +implementation 'androidx.compose.material3:material3-android:1.3.0' // build.gradle.kts with version catalogs: implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.3.0-rc01" +material3-android = "1.3.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: material3-android = { module = "androidx.compose.material3:material3-android", version.ref = "material3-android" } ``` -1.3.0-rc01 is the version this documentation was generated from; +1.3.0 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,18 +70,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.3.0-rc01|2024/08/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-beta05|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-beta04|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-beta03|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-beta02|2024/05/29| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-beta01|2024/05/14| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-alpha06|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-alpha05|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-alpha04|2024/04/03| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-alpha03|2024/03/20| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-alpha02|2024/03/06| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0-alpha01|2024/02/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.3.0|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.2.1|2024/03/06| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.2.0|2024/02/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_material_material-android.md.html b/docs/checks/androidx_compose_material_material-android.md.html index 5fafce2..798db61 100644 --- a/docs/checks/androidx_compose_material_material-android.md.html +++ b/docs/checks/androidx_compose_material_material-android.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.material:material-android:1.7.0-rc01 +: androidx.compose.material:material-android:1.8.0-alpha02 (##) Included Issues @@ -34,25 +34,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.7.0-rc01") +implementation("androidx.compose.material:material-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.material:material-android:1.7.0-rc01' +implementation 'androidx.compose.material:material-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.7.0-rc01" +material-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: material-android = { module = "androidx.compose.material:material-android", version.ref = "material-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,22 +70,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_runtime_runtime-android.md.html b/docs/checks/androidx_compose_runtime_runtime-android.md.html index d5d27f0..7373c2f 100644 --- a/docs/checks/androidx_compose_runtime_runtime-android.md.html +++ b/docs/checks/androidx_compose_runtime_runtime-android.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.runtime:runtime-android:1.7.0-rc01 +: androidx.compose.runtime:runtime-android:1.8.0-alpha02 (##) Included Issues @@ -47,25 +47,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-rc01" +runtime-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "runtime-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -84,22 +88,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 14| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 14| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 14| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 14| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 14| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 14| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 14| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html b/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html index 9911e74..8f7b97e 100644 --- a/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html +++ b/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01 +: androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha02 (##) Included Issues @@ -33,25 +33,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01") +implementation("androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01' +implementation 'androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.runtime.saveable.android) # libs.versions.toml [versions] -runtime-saveable-android = "1.7.0-rc01" +runtime-saveable-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: runtime-saveable-android = { module = "androidx.compose.runtime:runtime-saveable-android", version.ref = "runtime-saveable-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,22 +68,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_ui_ui-android.md.html b/docs/checks/androidx_compose_ui_ui-android.md.html index a766730..b8ecf11 100644 --- a/docs/checks/androidx_compose_ui_ui-android.md.html +++ b/docs/checks/androidx_compose_ui_ui-android.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.ui:ui-android:1.7.0-rc01 +: androidx.compose.ui:ui-android:1.8.0-alpha02 (##) Included Issues @@ -43,25 +43,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-rc01" +ui-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-android = { module = "androidx.compose.ui:ui-android", version.ref = "ui-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -74,7 +78,7 @@ SuspiciousCompositionLocalModifierRead, UnnecessaryComposedModifier. * 1.6.0: Removes ComposableModifierFactory. -* 1.7.0-alpha02: Adds SuspiciousModifierThen. +* 1.7.0: Adds SuspiciousModifierThen. (##) Version Compatibility @@ -82,22 +86,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 10| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 9| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 10| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 10| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 10| No[^1]| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 10| No[^1]| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 10| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 9| Yes| 8.0 and 8.1|8.0 and 8.1| @@ -113,4 +106,8 @@ | 1.5.1|2023/09/06| 10| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.5.0|2023/08/09| 10| Yes| 8.0 and 8.1|8.0 and 8.1| +Compatibility Problems: + +[^1]: org.jetbrains.kotlin.analysis.api.resolution.KaCompoundAccess#getOperationPartiallyAppliedSymbol(): org.jetbrains.kotlin.analysis.api.resolution.KaPartiallyAppliedSymbol is not available + \ No newline at end of file diff --git a/docs/checks/androidx_compose_ui_ui-graphics-android.md.html b/docs/checks/androidx_compose_ui_ui-graphics-android.md.html index 03e2319..ca7359a 100644 --- a/docs/checks/androidx_compose_ui_ui-graphics-android.md.html +++ b/docs/checks/androidx_compose_ui_ui-graphics-android.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=612128 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.ui:ui-graphics-android:1.7.0-rc01 +: androidx.compose.ui:ui-graphics-android:1.8.0-alpha02 (##) Included Issues @@ -34,25 +34,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.7.0-rc01" +ui-graphics-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-graphics-android = { module = "androidx.compose.ui:ui-graphics-android", version.ref = "ui-graphics-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,22 +70,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07| | 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_ui_ui-test-manifest.md.html b/docs/checks/androidx_compose_ui_ui-test-manifest.md.html index e273970..fda3473 100644 --- a/docs/checks/androidx_compose_ui_ui-test-manifest.md.html +++ b/docs/checks/androidx_compose_ui_ui-test-manifest.md.html @@ -15,11 +15,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=741505 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.ui:ui-test-manifest:1.7.0-rc01 +: androidx.compose.ui:ui-test-manifest:1.8.0-alpha02 (##) Included Issues @@ -35,25 +35,29 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-test-manifest:1.7.0-rc01") +implementation("androidx.compose.ui:ui-test-manifest:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-test-manifest:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-test-manifest:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.test.manifest) # libs.versions.toml [versions] -ui-test-manifest = "1.7.0-rc01" +ui-test-manifest = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "ui-test-manifest" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,22 +70,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha05|2024/03/20| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha04|2024/03/06| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha03|2024/02/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha02|2024/02/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha01|2024/01/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.8|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.7|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.6.6|2024/04/17| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_ui_ui-text-android.md.html b/docs/checks/androidx_compose_ui_ui-text-android.md.html index 8c6bf80..1b87260 100644 --- a/docs/checks/androidx_compose_ui_ui-text-android.md.html +++ b/docs/checks/androidx_compose_ui_ui-text-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.ui:ui-text-android:1.7.0-rc01 +: androidx.compose.ui:ui-text-android:1.8.0-alpha02 (##) Included Issues @@ -33,30 +33,34 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-text-android:1.7.0-rc01") +implementation("androidx.compose.ui:ui-text-android:1.8.0-alpha02") // build.gradle -implementation 'androidx.compose.ui:ui-text-android:1.7.0-rc01' +implementation 'androidx.compose.ui:ui-text-android:1.8.0-alpha02' // build.gradle.kts with version catalogs: implementation(libs.ui.text.android) # libs.versions.toml [versions] -ui-text-android = "1.7.0-rc01" +ui-text-android = "1.8.0-alpha02" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: ui-text-android = { module = "androidx.compose.ui:ui-text-android", version.ref = "ui-text-android" } ``` -1.7.0-rc01 is the version this documentation was generated from; +1.8.0-alpha02 is the version this documentation was generated from; there may be newer versions available. (##) Changes -* 1.7.0-alpha06: First version includes InvalidLanguageTagDelimiter. +* 1.7.0: First version includes InvalidLanguageTagDelimiter. (##) Version Compatibility @@ -64,16 +68,10 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.7.0-rc01|2024/08/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta07|2024/08/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta06|2024/07/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta05|2024/07/10| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta04|2024/06/26| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta03|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta02|2024/05/29| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-beta01|2024/05/14| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha08|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha07|2024/04/17| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.7.0-alpha06|2024/04/03| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha02|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.8.0-alpha01|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.2|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.1|2024/09/10| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.0|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| \ No newline at end of file diff --git a/docs/checks/androidx_constraintlayout_constraintlayout-compose.md.html b/docs/checks/androidx_constraintlayout_constraintlayout-compose.md.html index d66cf90..d4a40b1 100644 --- a/docs/checks/androidx_constraintlayout_constraintlayout-compose.md.html +++ b/docs/checks/androidx_constraintlayout_constraintlayout-compose.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14 +: androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01 (##) Included Issues @@ -36,25 +36,29 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-beta01' // build.gradle.kts with version catalogs: implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha14" +constraintlayout-compose = "1.1.0-beta01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayout-compose" } ``` -1.1.0-alpha14 is the version this documentation was generated from; +1.1.0-beta01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -69,6 +73,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.1.0-beta01|2024/09/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.1.0-alpha14|2024/08/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.1.0-alpha13|2023/10/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.1.0-alpha12|2023/08/09| 3| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_fragment_fragment-testing-manifest.md.html b/docs/checks/androidx_fragment_fragment-testing-manifest.md.html index fef3b1a..70b41a7 100644 --- a/docs/checks/androidx_fragment_fragment-testing-manifest.md.html +++ b/docs/checks/androidx_fragment_fragment-testing-manifest.md.html @@ -19,7 +19,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.fragment:fragment-testing-manifest:1.8.2 +: androidx.fragment:fragment-testing-manifest:1.8.3 (##) Included Issues @@ -35,25 +35,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing-manifest:1.8.2") +implementation("androidx.fragment:fragment-testing-manifest:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment-testing-manifest:1.8.2' +implementation 'androidx.fragment:fragment-testing-manifest:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment.testing.manifest) # libs.versions.toml [versions] -fragment-testing-manifest = "1.8.2" +fragment-testing-manifest = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment-testing-manifest = { module = "androidx.fragment:fragment-testing-manifest", version.ref = "fragment-testing-manifest" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +70,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.3|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.2|2024/07/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.1|2024/06/26| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_fragment_fragment-testing.md.html b/docs/checks/androidx_fragment_fragment-testing.md.html index 2dc853f..f7da326 100644 --- a/docs/checks/androidx_fragment_fragment-testing.md.html +++ b/docs/checks/androidx_fragment_fragment-testing.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.fragment:fragment-testing:1.8.2 +: androidx.fragment:fragment-testing:1.8.3 (##) Included Issues @@ -33,25 +33,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing:1.8.2") +implementation("androidx.fragment:fragment-testing:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment-testing:1.8.2' +implementation 'androidx.fragment:fragment-testing:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment.testing) # libs.versions.toml [versions] -fragment-testing = "1.8.2" +fragment-testing = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment-testing = { module = "androidx.fragment:fragment-testing", version.ref = "fragment-testing" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +68,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.3|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.2|2024/07/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.1|2024/06/26| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_fragment_fragment.md.html b/docs/checks/androidx_fragment_fragment.md.html index 71d9519..87ca390 100644 --- a/docs/checks/androidx_fragment_fragment.md.html +++ b/docs/checks/androidx_fragment_fragment.md.html @@ -20,7 +20,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.fragment:fragment:1.8.2 +: androidx.fragment:fragment:1.8.3 (##) Included Issues @@ -44,25 +44,29 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.2") +implementation("androidx.fragment:fragment:1.8.3") // build.gradle -implementation 'androidx.fragment:fragment:1.8.2' +implementation 'androidx.fragment:fragment:1.8.3' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.2" +fragment = "1.8.3" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: fragment = { module = "androidx.fragment:fragment", version.ref = "fragment" } ``` -1.8.2 is the version this documentation was generated from; +1.8.3 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -80,6 +84,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.3|2024/09/04| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.2|2024/07/24| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.1|2024/06/26| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0|2024/06/12| 9| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-livedata-core-ktx.md.html b/docs/checks/androidx_lifecycle_lifecycle-livedata-core-ktx.md.html index 038ef71..9aa85ab 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-livedata-core-ktx.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-livedata-core-ktx.md.html @@ -45,6 +45,10 @@ [versions] lifecycle-livedata-core-ktx = "2.8.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-livedata-core-ktx = { module = "androidx.lifecycle:lifecycle-livedata-core-ktx", version.ref = "lifecycle-livedata-core-ktx" diff --git a/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html b/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html index f467ad8..f7851c8 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01 +: androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03 (##) Included Issues @@ -33,25 +33,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.livedata.core) # libs.versions.toml [versions] -lifecycle-livedata-core = "2.9.0-alpha01" +lifecycle-livedata-core = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-livedata-core = { module = "androidx.lifecycle:lifecycle-livedata-core", version.ref = "lifecycle-livedata-core" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,7 +68,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha03|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.9.0-alpha02|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/08/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.6|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.5|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/07/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/07/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html b/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html index 5c96c1c..46c340a 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01 +: androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03 (##) Included Issues @@ -34,25 +34,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.9.0-alpha01" +lifecycle-runtime-android = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-android = { module = "androidx.lifecycle:lifecycle-runtime-android", version.ref = "lifecycle-runtime-android" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,7 +70,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha03|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.9.0-alpha02|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/08/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.6|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.5|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/07/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-runtime-ktx.md.html b/docs/checks/androidx_lifecycle_lifecycle-runtime-ktx.md.html index 2e1ef6d..56f1d02 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-ktx.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-ktx.md.html @@ -46,6 +46,10 @@ [versions] lifecycle-runtime-ktx = "2.8.0-alpha01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle-runtime-ktx" diff --git a/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html b/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html index d4f14f1..75691c4 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01 +: androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha03 (##) Included Issues @@ -33,25 +33,29 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.testing) # libs.versions.toml [versions] -lifecycle-runtime-testing = "2.9.0-alpha01" +lifecycle-runtime-testing = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-runtime-testing = { module = "androidx.lifecycle:lifecycle-runtime-testing", version.ref = "lifecycle-runtime-testing" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +68,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha03|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.9.0-alpha02|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/08/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/07/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html b/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html index aa7dc29..fb4af9b 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01 +: androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha03 (##) Included Issues @@ -33,26 +33,44 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01") +implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha03") // build.gradle -implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01' +implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.viewmodel.compose.android) # libs.versions.toml [versions] -lifecycle-viewmodel-compose-android = "2.9.0-alpha01" +lifecycle-viewmodel-compose-android = "2.9.0-alpha03" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lifecycle-viewmodel-compose-android = { module = "androidx.lifecycle:lifecycle-viewmodel-compose-android", version.ref = "lifecycle-viewmodel-compose-android" } ``` -2.9.0-alpha01 is the version this documentation was generated from; +2.9.0-alpha03 is the version this documentation was generated from; there may be newer versions available. +(##) Changes + +* 2.9.0-alpha01: First version includes + ViewModelConstructorInComposable. + +(##) Version Compatibility + +There are multiple older versions available of this library: + +| Version | Date | Issues | Compatible | Compiled | Requires | +|-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha03|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.9.0-alpha02|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.9.0-alpha01|2024/08/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| \ No newline at end of file diff --git a/docs/checks/androidx_lint_lint-gradle.md.html b/docs/checks/androidx_lint_lint-gradle.md.html new file mode 100644 index 0000000..15f8e44 --- /dev/null +++ b/docs/checks/androidx_lint_lint-gradle.md.html @@ -0,0 +1,61 @@ +(#) androidx.lint:lint-gradle + +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: androidx.lint:lint-gradle:1.0.0-alpha02 + +(##) Included Issues + +|Issue Id |Issue Description | +|--------------------------------------------------------------------|---------------------------------------------------------------| +|[EagerGradleConfiguration](EagerGradleConfiguration.md.html) |Avoid using eager task APIs | +|[GradleProjectIsolation](GradleProjectIsolation.md.html) |Avoid using APIs that are not project isolation safe | +|[InternalGradleApiUsage](InternalGradleApiUsage.md.html) |Avoid using internal Gradle APIs | +|[InternalAgpApiUsage](InternalAgpApiUsage.md.html) |Avoid using internal Android Gradle Plugin APIs | +|[WithPluginClasspathUsage](WithPluginClasspathUsage.md.html) |Flags usage of GradleRunner#withPluginClasspath | +|[WithTypeWithoutConfigureEach](WithTypeWithoutConfigureEach.md.html)|Flags usage of withType with a closure instead of configureEach| + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha02") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha02" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha02 is the version this documentation was generated from; +there may be newer versions available. + + + \ No newline at end of file diff --git a/docs/checks/androidx_navigation_navigation-common.md.html b/docs/checks/androidx_navigation_navigation-common.md.html index dee1e40..d24da5b 100644 --- a/docs/checks/androidx_navigation_navigation-common.md.html +++ b/docs/checks/androidx_navigation_navigation-common.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.navigation:navigation-common:2.8.0-rc01 +: androidx.navigation:navigation-common:2.8.1 (##) Included Issues @@ -34,31 +34,35 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.8.0-rc01") +implementation("androidx.navigation:navigation-common:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-common:2.8.0-rc01' +implementation 'androidx.navigation:navigation-common:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.8.0-rc01" +navigation-common = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-common = { module = "androidx.navigation:navigation-common", version.ref = "navigation-common" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 2.6.0: First version includes EmptyNavDeepLink. -* 2.8.0-beta04: Adds WrongStartDestinationType. +* 2.8.0: Adds WrongStartDestinationType. (##) Version Compatibility @@ -66,22 +70,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 2.8.0-rc01|2024/08/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta07|2024/08/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta06|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta05|2024/07/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta04|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta03|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta02|2024/05/29| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta01|2024/05/14| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha08|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha07|2024/04/17| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha06|2024/04/03| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha05|2024/03/20| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha04|2024/03/06| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha03|2024/02/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha02|2024/02/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha01|2024/01/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.1|2024/09/18| 2| No[^1]| 8.0 and 8.1|8.0 and 8.1| +| 2.8.0|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.7|2024/02/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.6|2023/12/13| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.5|2023/11/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| @@ -92,4 +82,8 @@ | 2.7.0|2023/08/09| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.6.0|2023/06/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +Compatibility Problems: + +[^1]: com.android.tools.lint.checks.infrastructure.LintDetectorTest#kotlin(java.lang.String): com.android.tools.lint.checks.infrastructure.TestFile is not available + \ No newline at end of file diff --git a/docs/checks/androidx_navigation_navigation-compose.md.html b/docs/checks/androidx_navigation_navigation-compose.md.html index d4149c5..87b1cd0 100644 --- a/docs/checks/androidx_navigation_navigation-compose.md.html +++ b/docs/checks/androidx_navigation_navigation-compose.md.html @@ -15,7 +15,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.navigation:navigation-compose:2.8.0-rc01 +: androidx.navigation:navigation-compose:2.8.1 (##) Included Issues @@ -34,37 +34,36 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-rc01") +implementation("androidx.navigation:navigation-compose:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' +implementation 'androidx.navigation:navigation-compose:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.8.0-rc01" +navigation-compose = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 2.4.0: First version includes ComposableDestinationInComposeScope, ComposableNavGraphInComposeScope, UnrememberedGetBackStackEntry. -* 2.8.0-beta04: Adds EmptyNavDeepLink, WrongStartDestinationType. - Removes ComposableDestinationInComposeScope, - ComposableNavGraphInComposeScope, UnrememberedGetBackStackEntry. -* 2.8.0-beta07: Adds ComposableDestinationInComposeScope, - ComposableNavGraphInComposeScope, UnrememberedGetBackStackEntry. - Removes EmptyNavDeepLink. +* 2.8.0: Adds WrongStartDestinationType. (##) Version Compatibility @@ -72,22 +71,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 2.8.0-rc01|2024/08/21| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta07|2024/08/07| 4| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta06|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta05|2024/07/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta04|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta03|2024/06/12| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta02|2024/05/29| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta01|2024/05/14| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha08|2024/05/01| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha07|2024/04/17| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha06|2024/04/03| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha05|2024/03/20| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha04|2024/03/06| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha03|2024/02/21| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha02|2024/02/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha01|2024/01/24| 3| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.1|2024/09/18| 4| No[^1]| 8.0 and 8.1|8.0 and 8.1| +| 2.8.0|2024/09/04| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.7|2024/02/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.6|2023/12/13| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.5|2023/11/01| 3| Yes| 8.0 and 8.1|8.0 and 8.1| @@ -105,4 +90,8 @@ | 2.4.1|2022/02/09| 3| Yes| 7.1| 7.0| | 2.4.0|2022/01/26| 3| Yes| 7.1| 7.0| +Compatibility Problems: + +[^1]: com.android.tools.lint.checks.infrastructure.LintDetectorTest#kotlin(java.lang.String): com.android.tools.lint.checks.infrastructure.TestFile is not available + \ No newline at end of file diff --git a/docs/checks/androidx_navigation_navigation-runtime.md.html b/docs/checks/androidx_navigation_navigation-runtime.md.html index 8d1f293..f4d97e6 100644 --- a/docs/checks/androidx_navigation_navigation-runtime.md.html +++ b/docs/checks/androidx_navigation_navigation-runtime.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.navigation:navigation-runtime:2.8.0-rc01 +: androidx.navigation:navigation-runtime:2.8.1 (##) Included Issues @@ -35,31 +35,35 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") +implementation("androidx.navigation:navigation-runtime:2.8.1") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' +implementation 'androidx.navigation:navigation-runtime:2.8.1' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-rc01" +navigation-runtime = "2.8.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "navigation-runtime" } ``` -2.8.0-rc01 is the version this documentation was generated from; +2.8.1 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 2.5.0: First version includes DeepLinkInActivityDestination. -* 2.8.0-beta04: Adds WrongNavigateRouteType, WrongStartDestinationType. +* 2.8.0: Adds WrongNavigateRouteType, WrongStartDestinationType. (##) Version Compatibility @@ -67,22 +71,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 2.8.0-rc01|2024/08/21| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta07|2024/08/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta06|2024/07/24| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta05|2024/07/10| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta04|2024/06/26| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta03|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta02|2024/05/29| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-beta01|2024/05/14| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha08|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha07|2024/04/17| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha06|2024/04/03| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha05|2024/03/20| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha04|2024/03/06| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha03|2024/02/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha02|2024/02/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| -| 2.8.0-alpha01|2024/01/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.1|2024/09/18| 3| No[^1]| 8.0 and 8.1|8.0 and 8.1| +| 2.8.0|2024/09/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.7|2024/02/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.6|2023/12/13| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.5|2023/11/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| @@ -97,4 +87,8 @@ | 2.5.1|2022/07/27| 1| Yes| 7.3 and 7.4| 7.0| | 2.5.0|2022/06/29| 1| Yes| 7.3 and 7.4| 7.0| +Compatibility Problems: + +[^1]: com.android.tools.lint.checks.infrastructure.LintDetectorTest#kotlin(java.lang.String): com.android.tools.lint.checks.infrastructure.TestFile is not available + \ No newline at end of file diff --git a/docs/checks/androidx_recyclerview_recyclerview.md.html b/docs/checks/androidx_recyclerview_recyclerview.md.html index 6688a53..f3d8a9d 100644 --- a/docs/checks/androidx_recyclerview_recyclerview.md.html +++ b/docs/checks/androidx_recyclerview_recyclerview.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.recyclerview:recyclerview:1.4.0-beta01 +: androidx.recyclerview:recyclerview:1.4.0-rc01 (##) Included Issues @@ -33,25 +33,29 @@ ``` // build.gradle.kts -implementation("androidx.recyclerview:recyclerview:1.4.0-beta01") +implementation("androidx.recyclerview:recyclerview:1.4.0-rc01") // build.gradle -implementation 'androidx.recyclerview:recyclerview:1.4.0-beta01' +implementation 'androidx.recyclerview:recyclerview:1.4.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.recyclerview) # libs.versions.toml [versions] -recyclerview = "1.4.0-beta01" +recyclerview = "1.4.0-rc01" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerview" } ``` -1.4.0-beta01 is the version this documentation was generated from; +1.4.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +68,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.4.0-rc01|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.4.0-beta01|2024/08/21| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.4.0-alpha02|2024/08/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.4.0-alpha01|2023/10/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_startup_startup-runtime.md.html b/docs/checks/androidx_startup_startup-runtime.md.html index 2d58dd0..08ebf00 100644 --- a/docs/checks/androidx_startup_startup-runtime.md.html +++ b/docs/checks/androidx_startup_startup-runtime.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.startup:startup-runtime:1.2.0-beta01 +: androidx.startup:startup-runtime:1.2.0 (##) Included Issues @@ -34,25 +34,29 @@ ``` // build.gradle.kts -implementation("androidx.startup:startup-runtime:1.2.0-beta01") +implementation("androidx.startup:startup-runtime:1.2.0") // build.gradle -implementation 'androidx.startup:startup-runtime:1.2.0-beta01' +implementation 'androidx.startup:startup-runtime:1.2.0' // build.gradle.kts with version catalogs: implementation(libs.startup.runtime) # libs.versions.toml [versions] -startup-runtime = "1.2.0-beta01" +startup-runtime = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: startup-runtime = { module = "androidx.startup:startup-runtime", version.ref = "startup-runtime" } ``` -1.2.0-beta01 is the version this documentation was generated from; +1.2.0 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,9 +70,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.2.0-beta01|2024/08/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha02|2023/01/11| 2| Yes| 7.3 and 7.4| 7.0| -| 1.2.0-alpha01|2022/02/09| 2| Yes| 7.1| 7.0| +| 1.2.0|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.1.1|2022/02/09| 2| Yes| 7.1| 7.0| | 1.1.0|2021/08/04| 2| Yes| 7.0| 4.1| | 1.0.0|2020/10/28| 2| Yes| 4.1| 3.3| diff --git a/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html b/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html index 211957d..01f72eb 100644 --- a/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html +++ b/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html @@ -47,6 +47,10 @@ [versions] protolayout-expression = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", version.ref = "protolayout-expression" diff --git a/docs/checks/androidx_wear_protolayout_protolayout-material.md.html b/docs/checks/androidx_wear_protolayout_protolayout-material.md.html index d940287..5a4bb0c 100644 --- a/docs/checks/androidx_wear_protolayout_protolayout-material.md.html +++ b/docs/checks/androidx_wear_protolayout_protolayout-material.md.html @@ -47,6 +47,10 @@ [versions] protolayout-material = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", version.ref = "protolayout-material" diff --git a/docs/checks/androidx_wear_protolayout_protolayout.md.html b/docs/checks/androidx_wear_protolayout_protolayout.md.html index 70b9871..bbe413b 100644 --- a/docs/checks/androidx_wear_protolayout_protolayout.md.html +++ b/docs/checks/androidx_wear_protolayout_protolayout.md.html @@ -47,6 +47,10 @@ [versions] protolayout = "1.2.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: protolayout = { module = "androidx.wear.protolayout:protolayout", version.ref = "protolayout" diff --git a/docs/checks/androidx_work_work-runtime.md.html b/docs/checks/androidx_work_work-runtime.md.html index 297c942..dd18fbc 100644 --- a/docs/checks/androidx_work_work-runtime.md.html +++ b/docs/checks/androidx_work_work-runtime.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=409906 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.work:work-runtime:2.10.0-alpha02 +: androidx.work:work-runtime:2.10.0-alpha04 (##) Included Issues @@ -41,25 +41,29 @@ ``` // build.gradle.kts -implementation("androidx.work:work-runtime:2.10.0-alpha02") +implementation("androidx.work:work-runtime:2.10.0-alpha04") // build.gradle -implementation 'androidx.work:work-runtime:2.10.0-alpha02' +implementation 'androidx.work:work-runtime:2.10.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.work.runtime) # libs.versions.toml [versions] -work-runtime = "2.10.0-alpha02" +work-runtime = "2.10.0-alpha04" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: work-runtime = { module = "androidx.work:work-runtime", version.ref = "work-runtime" } ``` -2.10.0-alpha02 is the version this documentation was generated from; +2.10.0-alpha04 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -78,6 +82,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.10.0-alpha04|2024/09/18| 9| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.10.0-alpha03|2024/09/04| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.10.0-alpha02|2024/04/17| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.10.0-alpha01|2024/01/24| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.1|2024/08/07| 9| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/categories.md.html b/docs/checks/categories.md.html index 5323524..84dba15 100644 --- a/docs/checks/categories.md.html +++ b/docs/checks/categories.md.html @@ -3,7 +3,7 @@ Order: [Alphabetical](index.md.html) | By category | [By vendor](vendors.md.html) | [By severity](severity.md.html) | [By year](year.md.html) | [Libraries](libraries.md.html) -* Correctness (514) +* Correctness (524) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) @@ -55,10 +55,12 @@ - [ComposeViewModelInjection: Implicit dependencies of composables should be made explicit](ComposeViewModelInjection.md.html) - [CompositionLocalNaming: CompositionLocal properties should be prefixed with `Local`](CompositionLocalNaming.md.html) - [ConflictingOnColor: Background colors with the same value should have the same 'on' color](ConflictingOnColor.md.html) + - [ConstantContentStateKeyInItemsCall: Composables within an LazyList `items` call should have unique content state keys](ConstantContentStateKeyInItemsCall.md.html) - [ConstraintLayoutToolsEditorAttribute: Flags tools:layout_editor xml properties](ConstraintLayoutToolsEditorAttribute.md.html) - [CoroutineCreationDuringComposition: Calls to `async` or `launch` should happen inside a LaunchedEffect and not composition](CoroutineCreationDuringComposition.md.html) - [CredManMissingDal: Missing Digital Asset Link for Credential Manager](CredManMissingDal.md.html) - [CredentialDependency: `credentials-play-services-auth` is Required](CredentialDependency.md.html) + - [CredentialManagerMisuse: Misuse of Credential Manager API](CredentialManagerMisuse.md.html) - [CredentialManagerSignInWithGoogle: Misuse of Sign in with Google API](CredentialManagerSignInWithGoogle.md.html) - [CustomSplashScreen: Application-defined Launch Screen](CustomSplashScreen.md.html) - [CustomViewStyleable: Mismatched Styleable/Custom View Name](CustomViewStyleable.md.html) @@ -97,6 +99,7 @@ - [DuplicateIncludedIds: Duplicate ids across layouts combined with include tags](DuplicateIncludedIds.md.html) - [DuplicatePlatformClasses: Duplicate Platform Classes](DuplicatePlatformClasses.md.html) - [DuplicateUsesFeature: Feature declared more than once](DuplicateUsesFeature.md.html) + - [EagerGradleConfiguration: Avoid using eager task APIs](EagerGradleConfiguration.md.html) - [EditedTargetSdkVersion: Manually Edited TargetSdkVersion](EditedTargetSdkVersion.md.html) - [EllipsizeMaxLines: Combining Ellipsize and Maxlines](EllipsizeMaxLines.md.html) - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) @@ -141,6 +144,7 @@ - [GradleOverrides: Value overridden by Gradle build script](GradleOverrides.md.html) - [GradlePath: Gradle Path Issues](GradlePath.md.html) - [GradlePluginVersion: Incompatible Android Gradle Plugin](GradlePluginVersion.md.html) + - [GradleProjectIsolation: Avoid using APIs that are not project isolation safe](GradleProjectIsolation.md.html) - [GridLayout: GridLayout validation](GridLayout.md.html) - [GuavaChecksUsed: Use Slack's JavaPreconditions instead of Guava's Preconditions checks](GuavaChecksUsed.md.html) - [GuavaPreconditionsUsedInKotlin: Kotlin precondition checks should use the Kotlin standard library checks](GuavaPreconditionsUsedInKotlin.md.html) @@ -170,6 +174,8 @@ - [Instantiatable: Registered class is not instantiatable](Instantiatable.md.html) - [IntentFilterUniqueDataAttributes: Data tags should only declare unique attributes](IntentFilterUniqueDataAttributes.md.html) - [IntentReset: Suspicious mix of `setType` and `setData`](IntentReset.md.html) + - [InternalAgpApiUsage: Avoid using internal Android Gradle Plugin APIs](InternalAgpApiUsage.md.html) + - [InternalGradleApiUsage: Avoid using internal Gradle APIs](InternalGradleApiUsage.md.html) - [InternalInsetResource: Using internal inset dimension resource](InternalInsetResource.md.html) - [InvalidAccessibility: Marks invalid accessibility usages](InvalidAccessibility.md.html) - [InvalidAnalyticsName: Invalid Analytics Name](InvalidAnalyticsName.md.html) @@ -457,6 +463,8 @@ - [UnusedMaterial3ScaffoldPaddingParameter: Scaffold content should use the padding provided as a lambda parameter](UnusedMaterial3ScaffoldPaddingParameter.md.html) - [UnusedMaterialScaffoldPaddingParameter: Scaffold content should use the padding provided as a lambda parameter](UnusedMaterialScaffoldPaddingParameter.md.html) - [UnusedMergeAttributes: Flags android and app attributes that are used on a attribute for custom Views](UnusedMergeAttributes.md.html) + - [UnusedSharedTransitionModifierParameter: SharedTransitionScope calls should use the provided Modifier parameter](UnusedSharedTransitionModifierParameter.md.html) + - [UnusedTargetStateInContentKeyLambda: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter](UnusedTargetStateInContentKeyLambda.md.html) - [UnusedTransitionTargetStateParameter: Transition.animate* calls should use the provided targetState when defining values](UnusedTransitionTargetStateParameter.md.html) - [UseAlpha2: Using 3-letter Codes](UseAlpha2.md.html) - [UseAndroidAlpha: `android:alpha` attribute missing on `ColorStateList`](UseAndroidAlpha.md.html) @@ -492,6 +500,8 @@ - [WebViewLayout: WebViews in wrap_content parents](WebViewLayout.md.html) - [WifiManagerLeak: WifiManager Leak](WifiManagerLeak.md.html) - [WifiManagerPotentialLeak: WifiManager Potential Leak](WifiManagerPotentialLeak.md.html) + - [WithPluginClasspathUsage: Flags usage of GradleRunner#withPluginClasspath](WithPluginClasspathUsage.md.html) + - [WithTypeWithoutConfigureEach: Flags usage of withType with a closure instead of configureEach](WithTypeWithoutConfigureEach.md.html) - [WorkerHasAPublicModifier: ListenableWorkers constructed using the default WorkerFactories need to be public](WorkerHasAPublicModifier.md.html) - [WrongAnnotationOrder: Checks that Annotations comply with a certain order](WrongAnnotationOrder.md.html) - [WrongCall: Using wrong draw/layout method](WrongCall.md.html) @@ -631,13 +641,14 @@ - [WorldReadableFiles: `openFileOutput()` with `MODE_WORLD_READABLE`](WorldReadableFiles.md.html) - [WorldWriteableFiles: `openFileOutput()` with `MODE_WORLD_WRITEABLE`](WorldWriteableFiles.md.html) -* Compliance (6) +* Compliance (7) - [ExpiredTargetSdkVersion: TargetSdkVersion No Longer Supported](ExpiredTargetSdkVersion.md.html) - [ExpiringTargetSdkVersion: TargetSdkVersion Soon Expiring](ExpiringTargetSdkVersion.md.html) - [OutdatedLibrary: Outdated Library](OutdatedLibrary.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) + - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [QueryAllPackagesPermission: Using the QUERY_ALL_PACKAGES permission](QueryAllPackagesPermission.md.html) * Performance (47) diff --git a/docs/checks/com_android_security_lint_lint.md.html b/docs/checks/com_android_security_lint_lint.md.html index 9098b9d..264ae65 100644 --- a/docs/checks/com_android_security_lint_lint.md.html +++ b/docs/checks/com_android_security_lint_lint.md.html @@ -56,6 +56,10 @@ [versions] com-android-security-lint-lint = "1.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: com-android-security-lint-lint = { module = "com.android.security.lint:lint", version.ref = "com-android-security-lint-lint" diff --git a/docs/checks/com_google_dagger_dagger-lint.md.html b/docs/checks/com_google_dagger_dagger-lint.md.html index 20dc391..da6bf3b 100644 --- a/docs/checks/com_google_dagger_dagger-lint.md.html +++ b/docs/checks/com_google_dagger_dagger-lint.md.html @@ -52,6 +52,10 @@ [versions] dagger-lint = "2.52" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: dagger-lint = { module = "com.google.dagger:dagger-lint", version.ref = "dagger-lint" diff --git a/docs/checks/com_jakewharton_timber_timber.md.html b/docs/checks/com_jakewharton_timber_timber.md.html index 57d46c2..404bc61 100644 --- a/docs/checks/com_jakewharton_timber_timber.md.html +++ b/docs/checks/com_jakewharton_timber_timber.md.html @@ -55,6 +55,10 @@ [versions] timber = "5.0.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" diff --git a/docs/checks/com_slack_lint_compose_compose-lint-checks.md.html b/docs/checks/com_slack_lint_compose_compose-lint-checks.md.html index 6f8dc1f..c2f0ab9 100644 --- a/docs/checks/com_slack_lint_compose_compose-lint-checks.md.html +++ b/docs/checks/com_slack_lint_compose_compose-lint-checks.md.html @@ -66,6 +66,10 @@ [versions] compose-lint-checks = "1.3.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: compose-lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "compose-lint-checks" diff --git a/docs/checks/com_slack_lint_slack-lint-checks.md.html b/docs/checks/com_slack_lint_slack-lint-checks.md.html index 20871c0..9c072c9 100644 --- a/docs/checks/com_slack_lint_slack-lint-checks.md.html +++ b/docs/checks/com_slack_lint_slack-lint-checks.md.html @@ -138,6 +138,10 @@ [versions] slack-lint-checks = "0.7.4" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: slack-lint-checks = { module = "com.slack.lint:slack-lint-checks", version.ref = "slack-lint-checks" diff --git a/docs/checks/com_uber_autodispose2_autodispose-lint.md.html b/docs/checks/com_uber_autodispose2_autodispose-lint.md.html index 4143de0..cf54af8 100644 --- a/docs/checks/com_uber_autodispose2_autodispose-lint.md.html +++ b/docs/checks/com_uber_autodispose2_autodispose-lint.md.html @@ -48,6 +48,10 @@ [versions] autodispose-lint = "2.2.1" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: autodispose-lint = { module = "com.uber.autodispose2:autodispose-lint", version.ref = "autodispose-lint" diff --git a/docs/checks/com_vanniktech_lint-rules-android.md.html b/docs/checks/com_vanniktech_lint-rules-android.md.html index 131e510..da9ad5a 100644 --- a/docs/checks/com_vanniktech_lint-rules-android.md.html +++ b/docs/checks/com_vanniktech_lint-rules-android.md.html @@ -86,6 +86,10 @@ [versions] lint-rules-android = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-android = { module = "com.vanniktech:lint-rules-android", version.ref = "lint-rules-android" diff --git a/docs/checks/com_vanniktech_lint-rules-kotlin.md.html b/docs/checks/com_vanniktech_lint-rules-kotlin.md.html index 67660e8..589fc82 100644 --- a/docs/checks/com_vanniktech_lint-rules-kotlin.md.html +++ b/docs/checks/com_vanniktech_lint-rules-kotlin.md.html @@ -46,6 +46,10 @@ [versions] lint-rules-kotlin = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-kotlin = { module = "com.vanniktech:lint-rules-kotlin", version.ref = "lint-rules-kotlin" diff --git a/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html b/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html index acb2391..7ce22ae 100644 --- a/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html +++ b/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html @@ -52,6 +52,10 @@ [versions] lint-rules-rxjava2 = "0.25.0" [libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: lint-rules-rxjava2 = { module = "com.vanniktech:lint-rules-rxjava2", version.ref = "lint-rules-rxjava2" diff --git a/docs/checks/index.md.html b/docs/checks/index.md.html index 0c47553..023dc8d 100644 --- a/docs/checks/index.md.html +++ b/docs/checks/index.md.html @@ -98,6 +98,7 @@ - [ComposeViewModelInjection: Implicit dependencies of composables should be made explicit](ComposeViewModelInjection.md.html) - [CompositionLocalNaming: CompositionLocal properties should be prefixed with `Local`](CompositionLocalNaming.md.html) - [ConflictingOnColor: Background colors with the same value should have the same 'on' color](ConflictingOnColor.md.html) + - [ConstantContentStateKeyInItemsCall: Composables within an LazyList `items` call should have unique content state keys](ConstantContentStateKeyInItemsCall.md.html) - [ConstantLocale: Constant Locale](ConstantLocale.md.html) - [ConstraintLayoutToolsEditorAttribute: Flags tools:layout_editor xml properties](ConstraintLayoutToolsEditorAttribute.md.html) - [ContentDescription: Image without `contentDescription`](ContentDescription.md.html) @@ -105,6 +106,7 @@ - [CoroutineCreationDuringComposition: Calls to `async` or `launch` should happen inside a LaunchedEffect and not composition](CoroutineCreationDuringComposition.md.html) - [CredManMissingDal: Missing Digital Asset Link for Credential Manager](CredManMissingDal.md.html) - [CredentialDependency: `credentials-play-services-auth` is Required](CredentialDependency.md.html) + - [CredentialManagerMisuse: Misuse of Credential Manager API](CredentialManagerMisuse.md.html) - [CredentialManagerSignInWithGoogle: Misuse of Sign in with Google API](CredentialManagerSignInWithGoogle.md.html) - [CustomPermissionTypo: Permission appears to be a custom permission with a typo](CustomPermissionTypo.md.html) - [CustomSplashScreen: Application-defined Launch Screen](CustomSplashScreen.md.html) @@ -156,6 +158,7 @@ - [DuplicatePlatformClasses: Duplicate Platform Classes](DuplicatePlatformClasses.md.html) - [DuplicateStrings: Duplicate Strings](DuplicateStrings.md.html) - [DuplicateUsesFeature: Feature declared more than once](DuplicateUsesFeature.md.html) + - [EagerGradleConfiguration: Avoid using eager task APIs](EagerGradleConfiguration.md.html) - [EasterEgg: Code contains easter egg](EasterEgg.md.html) - [EditedTargetSdkVersion: Manually Edited TargetSdkVersion](EditedTargetSdkVersion.md.html) - [EllipsizeMaxLines: Combining Ellipsize and Maxlines](EllipsizeMaxLines.md.html) @@ -193,8 +196,8 @@ - [FragmentBackPressedCallback: Use getViewLifecycleOwner() as the LifecycleOwner instead of a Fragment instance](FragmentBackPressedCallback.md.html) - [FragmentConstructorInjection: Fragment dependencies should be injected using constructor injections only](FragmentConstructorInjection.md.html) - [FragmentFieldInjection: Fragment dependencies should be injected using the Fragment's constructor](FragmentFieldInjection.md.html) - - [FragmentGradleConfiguration: Include the fragment-testing library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) (from androidx.fragment:fragment-testing:1.8.2) - - [FragmentGradleConfiguration: Include the fragment-testing-manifest library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) (from androidx.fragment:fragment-testing-manifest:1.8.2) + - [FragmentGradleConfiguration: Include the fragment-testing library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) (from androidx.fragment:fragment-testing:1.8.3) + - [FragmentGradleConfiguration: Include the fragment-testing-manifest library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) (from androidx.fragment:fragment-testing-manifest:1.8.3) - [FragmentLiveDataObserve: Use getViewLifecycleOwner() as the LifecycleOwner instead of a Fragment instance when observing a LiveData object](FragmentLiveDataObserve.md.html) - [FragmentTagUsage: Use FragmentContainerView instead of the tag](FragmentTagUsage.md.html) - [FrequentlyChangedStateReadInComposition: Frequently changing state should not be directly read in composable function](FrequentlyChangedStateReadInComposition.md.html) @@ -215,6 +218,7 @@ - [GradleOverrides: Value overridden by Gradle build script](GradleOverrides.md.html) - [GradlePath: Gradle Path Issues](GradlePath.md.html) - [GradlePluginVersion: Incompatible Android Gradle Plugin](GradlePluginVersion.md.html) + - [GradleProjectIsolation: Avoid using APIs that are not project isolation safe](GradleProjectIsolation.md.html) - [GrantAllUris: Content provider shares everything](GrantAllUris.md.html) - [GridLayout: GridLayout validation](GridLayout.md.html) - [GuavaChecksUsed: Use Slack's JavaPreconditions instead of Guava's Preconditions checks](GuavaChecksUsed.md.html) @@ -270,6 +274,8 @@ - [IntentFilterUniqueDataAttributes: Data tags should only declare unique attributes](IntentFilterUniqueDataAttributes.md.html) - [IntentReset: Suspicious mix of `setType` and `setData`](IntentReset.md.html) - [IntentWithNullActionLaunch: Unsafe intent launched with no action set](IntentWithNullActionLaunch.md.html) + - [InternalAgpApiUsage: Avoid using internal Android Gradle Plugin APIs](InternalAgpApiUsage.md.html) + - [InternalGradleApiUsage: Avoid using internal Gradle APIs](InternalGradleApiUsage.md.html) - [InternalInsetResource: Using internal inset dimension resource](InternalInsetResource.md.html) - [InvalidAccessibility: Marks invalid accessibility usages](InvalidAccessibility.md.html) - [InvalidAnalyticsName: Invalid Analytics Name](InvalidAnalyticsName.md.html) @@ -454,7 +460,7 @@ - [NotificationPermission: Notifications Without Permission](NotificationPermission.md.html) - [NotificationTrampoline: Notification Trampolines](NotificationTrampoline.md.html) - [NotifyDataSetChanged: Invalidating All RecyclerView Data](NotifyDataSetChanged.md.html) - - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) (from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01) + - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) (from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha03) - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) (from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01) - [ObjectAnimatorBinding: Incorrect ObjectAnimator Property](ObjectAnimatorBinding.md.html) - [ObsoleteLayoutParam: Obsolete layout params](ObsoleteLayoutParam.md.html) @@ -479,6 +485,7 @@ - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) + - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [PluralsCandidate: Potential Plurals](PluralsCandidate.md.html) - [PrivateApi: Using Private APIs](PrivateApi.md.html) - [PrivateResource: Using private resources](PrivateResource.md.html) @@ -520,7 +527,7 @@ - [RememberSaveableSaverParameter: `Saver` objects should be passed to the saver parameter, not the vararg `inputs` parameter](RememberSaveableSaverParameter.md.html) - [RemoteViewLayout: Unsupported View in RemoteView](RemoteViewLayout.md.html) - [RemoveWorkManagerInitializer: Remove androidx.work.WorkManagerInitializer from your AndroidManifest.xml when using on-demand initialization](RemoveWorkManagerInitializer.md.html) - - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01) + - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03) - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01) - [ReportShortcutUsage: Report shortcut usage](ReportShortcutUsage.md.html) - [RequiredSize: Missing `layout_width` or `layout_height` attributes](RequiredSize.md.html) @@ -660,7 +667,7 @@ - [UnsafeDynamicallyLoadedCode: `load` used to dynamically load code](UnsafeDynamicallyLoadedCode.md.html) - [UnsafeImplicitIntentLaunch: Implicit intent matches an internal non-exported component](UnsafeImplicitIntentLaunch.md.html) - [UnsafeIntentLaunch: Launched Unsafe Intent](UnsafeIntentLaunch.md.html) - - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01) + - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha03) - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01) - [UnsafeNativeCodeLocation: Native code outside library directory](UnsafeNativeCodeLocation.md.html) - [UnsafeOptInUsageError: Unsafe opt-in usage intended to be error-level severity](UnsafeOptInUsageError.md.html) @@ -686,6 +693,8 @@ - [UnusedNamespace: Unused namespace](UnusedNamespace.md.html) - [UnusedQuantity: Unused quantity translations](UnusedQuantity.md.html) - [UnusedResources: Unused resources](UnusedResources.md.html) + - [UnusedSharedTransitionModifierParameter: SharedTransitionScope calls should use the provided Modifier parameter](UnusedSharedTransitionModifierParameter.md.html) + - [UnusedTargetStateInContentKeyLambda: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter](UnusedTargetStateInContentKeyLambda.md.html) - [UnusedTransitionTargetStateParameter: Transition.animate* calls should use the provided targetState when defining values](UnusedTransitionTargetStateParameter.md.html) - [UnusedTranslation: Unused Translation](UnusedTranslation.md.html) - [UsableSpace: Using getUsableSpace()](UsableSpace.md.html) @@ -750,6 +759,8 @@ - [WeekBasedYear: Week Based Year](WeekBasedYear.md.html) - [WifiManagerLeak: WifiManager Leak](WifiManagerLeak.md.html) - [WifiManagerPotentialLeak: WifiManager Potential Leak](WifiManagerPotentialLeak.md.html) + - [WithPluginClasspathUsage: Flags usage of GradleRunner#withPluginClasspath](WithPluginClasspathUsage.md.html) + - [WithTypeWithoutConfigureEach: Flags usage of withType with a closure instead of configureEach](WithTypeWithoutConfigureEach.md.html) - [WorkerHasAPublicModifier: ListenableWorkers constructed using the default WorkerFactories need to be public](WorkerHasAPublicModifier.md.html) - [WorldReadableFiles: `openFileOutput()` with `MODE_WORLD_READABLE`](WorldReadableFiles.md.html) - [WorldWriteableFiles: `openFileOutput()` with `MODE_WORLD_WRITEABLE`](WorldWriteableFiles.md.html) @@ -769,9 +780,9 @@ - [WrongRegion: Suspicious Language/Region Combination](WrongRegion.md.html) - [WrongRequiresOptIn: Experimental annotations defined in Kotlin must use kotlin.RequiresOptIn](WrongRequiresOptIn.md.html) - [WrongResourceImportAlias: Wrong import alias for this R class](WrongResourceImportAlias.md.html) - - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-compose:2.8.0-rc01) - - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-runtime:2.8.0-rc01) - - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-common:2.8.0-rc01) + - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-compose:2.8.1) + - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-runtime:2.8.1) + - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-common:2.8.1) - [WrongTestMethodName: Flags test methods that start with test](WrongTestMethodName.md.html) - [WrongThread: Wrong Thread](WrongThread.md.html) - [WrongThreadInterprocedural: Wrong Thread (Interprocedural)](WrongThreadInterprocedural.md.html) diff --git a/docs/checks/libraries.md.html b/docs/checks/libraries.md.html index 8c0907d..9b025fa 100644 --- a/docs/checks/libraries.md.html +++ b/docs/checks/libraries.md.html @@ -5,6 +5,7 @@ Lint-specific libraries: +* [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) (6 checks) * [com.android.security.lint:lint](com_android_security_lint_lint.md.html) (15 checks) * [com.uber.autodispose2:autodispose-lint](com_uber_autodispose2_autodispose-lint.md.html) (1 checks) * [com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html) (4 checks) @@ -25,7 +26,7 @@ * [androidx.compose.runtime:runtime-saveable-android](androidx_compose_runtime_runtime-saveable-android.md.html) (1 checks) * [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) (14 checks) * [androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html) (3 checks) -* [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) (2 checks) +* [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) (5 checks) * [androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html) (4 checks) * [androidx.compose.material3:material3-android](androidx_compose_material3_material3-android.md.html) (2 checks) * [androidx.compose.material:material-android](androidx_compose_material_material-android.md.html) (2 checks) diff --git a/docs/checks/severity.md.html b/docs/checks/severity.md.html index b2e27b4..5c9aaad 100644 --- a/docs/checks/severity.md.html +++ b/docs/checks/severity.md.html @@ -60,7 +60,7 @@ - [WrongFolder: Resource file in the wrong `res` folder](WrongFolder.md.html) - [WrongManifestParent: Wrong manifest parent](WrongManifestParent.md.html) -* Error (295) +* Error (305) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) - [AppCompatCustomView: Appcompat Custom Widgets](AppCompatCustomView.md.html) @@ -101,6 +101,7 @@ - [ComposeViewModelForwarding: Don't forward ViewModels through composables](ComposeViewModelForwarding.md.html) - [ComposeViewModelInjection: Implicit dependencies of composables should be made explicit](ComposeViewModelInjection.md.html) - [ConflictingOnColor: Background colors with the same value should have the same 'on' color](ConflictingOnColor.md.html) + - [ConstantContentStateKeyInItemsCall: Composables within an LazyList `items` call should have unique content state keys](ConstantContentStateKeyInItemsCall.md.html) - [CoroutineCreationDuringComposition: Calls to `async` or `launch` should happen inside a LaunchedEffect and not composition](CoroutineCreationDuringComposition.md.html) - [CredManMissingDal: Missing Digital Asset Link for Credential Manager](CredManMissingDal.md.html) - [DalvikOverride: Method considered overridden by Dalvik](DalvikOverride.md.html) @@ -120,6 +121,7 @@ - [DoNotMockRecordClass: record classes represent pure data classes, so mocking them should not be necessary](DoNotMockRecordClass.md.html) - [DoNotMockSealedClass: sealed classes have a restricted type hierarchy, use a subtype instead](DoNotMockSealedClass.md.html) - [DuplicateDefinition: Duplicate definitions of resources](DuplicateDefinition.md.html) + - [EagerGradleConfiguration: Avoid using eager task APIs](EagerGradleConfiguration.md.html) - [EditedTargetSdkVersion: Manually Edited TargetSdkVersion](EditedTargetSdkVersion.md.html) - [EllipsizeMaxLines: Combining Ellipsize and Maxlines](EllipsizeMaxLines.md.html) - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) @@ -145,6 +147,7 @@ - [GradleGetter: Gradle Implicit Getter Call](GradleGetter.md.html) - [GradleIdeError: Gradle IDE Support Issues](GradleIdeError.md.html) - [GradlePluginVersion: Incompatible Android Gradle Plugin](GradlePluginVersion.md.html) + - [GradleProjectIsolation: Avoid using APIs that are not project isolation safe](GradleProjectIsolation.md.html) - [GuavaChecksUsed: Use Slack's JavaPreconditions instead of Guava's Preconditions checks](GuavaChecksUsed.md.html) - [GuavaPreconditionsUsedInKotlin: Kotlin precondition checks should use the Kotlin standard library checks](GuavaPreconditionsUsedInKotlin.md.html) - [HalfFloat: Incorrect Half Float](HalfFloat.md.html) @@ -156,6 +159,8 @@ - [InclusiveNaming: Use inclusive naming](InclusiveNaming.md.html) - [IncorrectReferencesDeclaration: `createRefsFor(vararg ids: Any)` should have at least one argument and match assigned variables](IncorrectReferencesDeclaration.md.html) - [InjectInJava: Only Kotlin classes should be injected in order for Anvil to work](InjectInJava.md.html) + - [InternalAgpApiUsage: Avoid using internal Android Gradle Plugin APIs](InternalAgpApiUsage.md.html) + - [InternalGradleApiUsage: Avoid using internal Gradle APIs](InternalGradleApiUsage.md.html) - [InvalidAnalyticsName: Invalid Analytics Name](InvalidAnalyticsName.md.html) - [InvalidImeActionId: Invalid imeActionId declaration](InvalidImeActionId.md.html) - [InvalidLanguageTagDelimiter: Underscore (`_`) is an unsupported delimiter for subtags](InvalidLanguageTagDelimiter.md.html) @@ -257,6 +262,7 @@ - [PermissionImpliesUnsupportedChromeOsHardware: Permission Implies Unsupported Chrome OS Hardware](PermissionImpliesUnsupportedChromeOsHardware.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) + - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [ProduceStateDoesNotAssignValue: produceState calls should assign `value` inside the producer lambda](ProduceStateDoesNotAssignValue.md.html) - [PropertyEscape: Incorrect property escapes](PropertyEscape.md.html) - [ProtectedPermissions: Using system app permission](ProtectedPermissions.md.html) @@ -327,6 +333,8 @@ - [UnusedCrossfadeTargetStateParameter: Crossfade calls should use the provided `T` parameter in the content lambda](UnusedCrossfadeTargetStateParameter.md.html) - [UnusedMaterial3ScaffoldPaddingParameter: Scaffold content should use the padding provided as a lambda parameter](UnusedMaterial3ScaffoldPaddingParameter.md.html) - [UnusedMaterialScaffoldPaddingParameter: Scaffold content should use the padding provided as a lambda parameter](UnusedMaterialScaffoldPaddingParameter.md.html) + - [UnusedSharedTransitionModifierParameter: SharedTransitionScope calls should use the provided Modifier parameter](UnusedSharedTransitionModifierParameter.md.html) + - [UnusedTargetStateInContentKeyLambda: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter](UnusedTargetStateInContentKeyLambda.md.html) - [UnusedTransitionTargetStateParameter: Transition.animate* calls should use the provided targetState when defining values](UnusedTransitionTargetStateParameter.md.html) - [UseAndroidAlpha: `android:alpha` attribute missing on `ColorStateList`](UseAndroidAlpha.md.html) - [UseAppTint: `app:tint` attribute should be used on `ImageView` and `ImageButton`](UseAppTint.md.html) @@ -344,6 +352,8 @@ - [WebViewLayout: WebViews in wrap_content parents](WebViewLayout.md.html) - [WebpUnsupported: WebP Unsupported](WebpUnsupported.md.html) - [WifiManagerLeak: WifiManager Leak](WifiManagerLeak.md.html) + - [WithPluginClasspathUsage: Flags usage of GradleRunner#withPluginClasspath](WithPluginClasspathUsage.md.html) + - [WithTypeWithoutConfigureEach: Flags usage of withType with a closure instead of configureEach](WithTypeWithoutConfigureEach.md.html) - [WrongCall: Using wrong draw/layout method](WrongCall.md.html) - [WrongConstant: Incorrect constant](WrongConstant.md.html) - [WrongConstraintLayoutUsage: Marks a wrong usage of the Constraint Layout](WrongConstraintLayoutUsage.md.html) @@ -358,7 +368,7 @@ - [WrongViewCast: Mismatched view type](WrongViewCast.md.html) - [XmlEscapeNeeded: Missing XML Escape](XmlEscapeNeeded.md.html) -* Warning (418) +* Warning (419) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) - [AccessibilityFocus: Forcing accessibility focus](AccessibilityFocus.md.html) @@ -416,6 +426,7 @@ - [ContentDescription: Image without `contentDescription`](ContentDescription.md.html) - [ConvertToWebp: Convert to WebP](ConvertToWebp.md.html) - [CredentialDependency: `credentials-play-services-auth` is Required](CredentialDependency.md.html) + - [CredentialManagerMisuse: Misuse of Credential Manager API](CredentialManagerMisuse.md.html) - [CredentialManagerSignInWithGoogle: Misuse of Sign in with Google API](CredentialManagerSignInWithGoogle.md.html) - [CustomPermissionTypo: Permission appears to be a custom permission with a typo](CustomPermissionTypo.md.html) - [CustomSplashScreen: Application-defined Launch Screen](CustomSplashScreen.md.html) diff --git a/docs/checks/vendors.md.html b/docs/checks/vendors.md.html index 0ad7836..8172969 100644 --- a/docs/checks/vendors.md.html +++ b/docs/checks/vendors.md.html @@ -3,7 +3,7 @@ Order: [Alphabetical](index.md.html) | [By category](categories.md.html) | By vendor | [By severity](severity.md.html) | [By year](year.md.html) | [Libraries](libraries.md.html) -* Built In (475) +* Built In (477) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) @@ -60,6 +60,7 @@ - [ConvertToWebp: Convert to WebP](ConvertToWebp.md.html) - [CredManMissingDal: Missing Digital Asset Link for Credential Manager](CredManMissingDal.md.html) - [CredentialDependency: `credentials-play-services-auth` is Required](CredentialDependency.md.html) + - [CredentialManagerMisuse: Misuse of Credential Manager API](CredentialManagerMisuse.md.html) - [CredentialManagerSignInWithGoogle: Misuse of Sign in with Google API](CredentialManagerSignInWithGoogle.md.html) - [CustomPermissionTypo: Permission appears to be a custom permission with a typo](CustomPermissionTypo.md.html) - [CustomSplashScreen: Application-defined Launch Screen](CustomSplashScreen.md.html) @@ -294,6 +295,7 @@ - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) + - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [PluralsCandidate: Potential Plurals](PluralsCandidate.md.html) - [PrivateApi: Using Private APIs](PrivateApi.md.html) - [PrivateResource: Using private resources](PrivateResource.md.html) @@ -547,6 +549,15 @@ - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.md.html) +* Android Open Source Project (androidx.lint:lint-gradle) (6) + + - [EagerGradleConfiguration: Avoid using eager task APIs](EagerGradleConfiguration.md.html) + - [GradleProjectIsolation: Avoid using APIs that are not project isolation safe](GradleProjectIsolation.md.html) + - [InternalAgpApiUsage: Avoid using internal Android Gradle Plugin APIs](InternalAgpApiUsage.md.html) + - [InternalGradleApiUsage: Avoid using internal Gradle APIs](InternalGradleApiUsage.md.html) + - [WithPluginClasspathUsage: Flags usage of GradleRunner#withPluginClasspath](WithPluginClasspathUsage.md.html) + - [WithTypeWithoutConfigureEach: Flags usage of withType with a closure instead of configureEach](WithTypeWithoutConfigureEach.md.html) + * Android Open Source Project (androidx.navigation.common) (2) - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) @@ -632,10 +643,13 @@ - [LaunchDuringComposition: Calls to `launch` should happen inside of a SideEffect and not during composition](LaunchDuringComposition.md.html) - [NoCollectCallFound: You must call collect on the given progress flow when using PredictiveBackHandler](NoCollectCallFound.md.html) -* Jetpack Compose (androidx.compose.animation) (2) +* Jetpack Compose (androidx.compose.animation) (5) + - [ConstantContentStateKeyInItemsCall: Composables within an LazyList `items` call should have unique content state keys](ConstantContentStateKeyInItemsCall.md.html) - [UnusedContentLambdaTargetStateParameter: AnimatedContent calls should use the provided `T` parameter in the content lambda](UnusedContentLambdaTargetStateParameter.md.html) - [UnusedCrossfadeTargetStateParameter: Crossfade calls should use the provided `T` parameter in the content lambda](UnusedCrossfadeTargetStateParameter.md.html) + - [UnusedSharedTransitionModifierParameter: SharedTransitionScope calls should use the provided Modifier parameter](UnusedSharedTransitionModifierParameter.md.html) + - [UnusedTargetStateInContentKeyLambda: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter](UnusedTargetStateInContentKeyLambda.md.html) * Jetpack Compose (androidx.compose.animation.core) (3) diff --git a/docs/checks/year.md.html b/docs/checks/year.md.html index fb114b1..18b94ad 100644 --- a/docs/checks/year.md.html +++ b/docs/checks/year.md.html @@ -3,18 +3,24 @@ Order: [Alphabetical](index.md.html) | [By category](categories.md.html) | [By vendor](vendors.md.html) | [By severity](severity.md.html) | By year | [Libraries](libraries.md.html) -* 2024 (28) +* 2024 (37) - [AccessibilityFocus: Forcing accessibility focus](AccessibilityFocus.md.html) - [AccessibilityScrollActions: Incomplete Scroll Action support](AccessibilityScrollActions.md.html) - [AccessibilityWindowStateChangedEvent: Use of accessibility window state change events](AccessibilityWindowStateChangedEvent.md.html) - [BuildListAdds: Missing `add` call in `buildList`](BuildListAdds.md.html) + - [ConstantContentStateKeyInItemsCall: Composables within an LazyList `items` call should have unique content state keys](ConstantContentStateKeyInItemsCall.md.html) - [CredManMissingDal: Missing Digital Asset Link for Credential Manager](CredManMissingDal.md.html) - [CredentialDependency: `credentials-play-services-auth` is Required](CredentialDependency.md.html) + - [CredentialManagerMisuse: Misuse of Credential Manager API](CredentialManagerMisuse.md.html) - [CredentialManagerSignInWithGoogle: Misuse of Sign in with Google API](CredentialManagerSignInWithGoogle.md.html) - [DisabledAllSafeBrowsing: Application has disabled safe browsing for all WebView objects](DisabledAllSafeBrowsing.md.html) + - [EagerGradleConfiguration: Avoid using eager task APIs](EagerGradleConfiguration.md.html) + - [GradleProjectIsolation: Avoid using APIs that are not project isolation safe](GradleProjectIsolation.md.html) - [InsecureDnsSdkLevel: Application vulnerable to DNS spoofing attacks](InsecureDnsSdkLevel.md.html) - [InsecurePermissionProtectionLevel: Custom permission created with a normal `protectionLevel`](InsecurePermissionProtectionLevel.md.html) + - [InternalAgpApiUsage: Avoid using internal Android Gradle Plugin APIs](InternalAgpApiUsage.md.html) + - [InternalGradleApiUsage: Avoid using internal Gradle APIs](InternalGradleApiUsage.md.html) - [InvalidLanguageTagDelimiter: Underscore (`_`) is an unsupported delimiter for subtags](InvalidLanguageTagDelimiter.md.html) - [InvalidUseOfOnBackPressed: Do not call onBackPressed() within OnBackPressedDisptacher](InvalidUseOfOnBackPressed.md.html) - [MissingAutoVerifyAttribute: Application has custom scheme intent filters with missing `autoVerify` attributes](MissingAutoVerifyAttribute.md.html) @@ -28,13 +34,16 @@ - [UnclosedTrace: Incorrect trace section usage](UnclosedTrace.md.html) - [UnnecessaryRequiredFeature: Potentially unnecessary required feature](UnnecessaryRequiredFeature.md.html) - [UnsanitizedFilenameFromContentProvider: Trusting ContentProvider filenames without any sanitization](UnsanitizedFilenameFromContentProvider.md.html) + - [UnusedSharedTransitionModifierParameter: SharedTransitionScope calls should use the provided Modifier parameter](UnusedSharedTransitionModifierParameter.md.html) - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.md.html) + - [WithPluginClasspathUsage: Flags usage of GradleRunner#withPluginClasspath](WithPluginClasspathUsage.md.html) + - [WithTypeWithoutConfigureEach: Flags usage of withType with a closure instead of configureEach](WithTypeWithoutConfigureEach.md.html) - [WrongNavigateRouteType: Navigation route should be an object literal or a destination class instance with arguments](WrongNavigateRouteType.md.html) - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) -* 2023 (61) +* 2023 (62) - [ArcAnimationSpecTypeIssue: ArcAnimationSpec is designed for 2D values. Particularly, for positional values such as Offset.](ArcAnimationSpecTypeIssue.md.html) - [AutoboxingStateCreation: `State` will autobox values assigned to this state. Use a specialized state type instead.](AutoboxingStateCreation.md.html) @@ -88,6 +97,7 @@ - [UnsafeCryptoAlgorithmUsage: Application uses unsafe cipher modes or paddings with cryptographic algorithms](UnsafeCryptoAlgorithmUsage.md.html) - [UnusedBoxWithConstraintsScope: BoxWithConstraints content should use the constraints provided via BoxWithConstraintsScope](UnusedBoxWithConstraintsScope.md.html) - [UnusedContentLambdaTargetStateParameter: AnimatedContent calls should use the provided `T` parameter in the content lambda](UnusedContentLambdaTargetStateParameter.md.html) + - [UnusedTargetStateInContentKeyLambda: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter](UnusedTargetStateInContentKeyLambda.md.html) - [UsingMaterialAndMaterial3Libraries: material and material3 are separate, incompatible design system libraries](UsingMaterialAndMaterial3Libraries.md.html) - [VulnerableCryptoAlgorithm: Application uses vulnerable cryptography algorithms](VulnerableCryptoAlgorithm.md.html) - [WeakPrng: Application uses non-cryptographically secure pseudorandom number generators](WeakPrng.md.html) @@ -506,7 +516,7 @@ - [VectorRaster: Vector Image Generation](VectorRaster.md.html) - [VulnerableCordovaVersion: Vulnerable Cordova Version](VulnerableCordovaVersion.md.html) -* 2014 (72) +* 2014 (73) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) @@ -561,6 +571,7 @@ - [OverrideAbstract: Not overriding abstract methods on older platforms](OverrideAbstract.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) + - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [PropertyEscape: Incorrect property escapes](PropertyEscape.md.html) - [ProxyPassword: Proxy Password in Cleartext](ProxyPassword.md.html) - [RelativeOverlap: Overlapping items in RelativeLayout](RelativeOverlap.md.html)