From cc0ce1274c904f68792a8863b6f0c5a2c45a11ac Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Fri, 30 Aug 2024 14:45:59 -0700 Subject: [PATCH] Update lint documentation snapshot In addition to picking up later versions, this corrects the TOML version catalog names, and includes the android-security-lints libraries as distributed on maven now. --- docs/checks/AccessibilityFocus.md.html | 2 +- .../checks/AccessibilityScrollActions.md.html | 2 +- ...cessibilityWindowStateChangedEvent.md.html | 2 +- docs/checks/AlertDialogUsage.md.html | 2 +- docs/checks/ArcAnimationSpecTypeIssue.md.html | 10 +- .../ArgInFormattedQuantityStringRes.md.html | 2 +- docs/checks/AssertjImport.md.html | 2 +- docs/checks/AutoDispose.md.html | 2 +- docs/checks/AutoboxingStateCreation.md.html | 10 +- .../AutoboxingStateValueProperty.md.html | 10 +- docs/checks/BadConfigurationProvider.md.html | 2 +- .../BadPeriodicWorkRequestEnqueue.md.html | 2 +- docs/checks/BindingReceiverParameter.md.html | 2 +- docs/checks/BindingReturnType.md.html | 2 +- docs/checks/BindsMustBeAbstract.md.html | 2 +- docs/checks/BindsTypeMismatch.md.html | 2 +- docs/checks/BindsWrongParameterCount.md.html | 2 +- .../CastingViewContextToActivity.md.html | 2 +- docs/checks/ChildInNonViewGroup.md.html | 115 ++++++++ docs/checks/ColorCasing.md.html | 2 +- ...omposableDestinationInComposeScope.md.html | 178 ++++++++++++ .../ComposableLambdaParameterNaming.md.html | 10 +- .../ComposableLambdaParameterPosition.md.html | 10 +- docs/checks/ComposableNaming.md.html | 10 +- ... ComposableNavGraphInComposeScope.md.html} | 115 ++++---- docs/checks/ComposeComposableModifier.md.html | 2 +- .../ComposeCompositionLocalGetter.md.html | 2 +- .../ComposeCompositionLocalUsage.md.html | 2 +- ...mposeContentEmitterReturningValues.md.html | 2 +- docs/checks/ComposeM2Api.md.html | 2 +- docs/checks/ComposeModifierComposed.md.html | 2 +- docs/checks/ComposeModifierMissing.md.html | 2 +- docs/checks/ComposeModifierReused.md.html | 2 +- .../ComposeModifierWithoutDefault.md.html | 2 +- .../ComposeMultipleContentEmitters.md.html | 2 +- docs/checks/ComposeMutableParameters.md.html | 2 +- docs/checks/ComposeNamingLowercase.md.html | 2 +- docs/checks/ComposeNamingUppercase.md.html | 2 +- docs/checks/ComposeParameterOrder.md.html | 2 +- docs/checks/ComposePreviewNaming.md.html | 2 +- docs/checks/ComposePreviewPublic.md.html | 2 +- docs/checks/ComposeRememberMissing.md.html | 2 +- .../checks/ComposeUnstableCollections.md.html | 2 +- docs/checks/ComposeUnstableReceiver.md.html | 2 +- .../checks/ComposeViewModelForwarding.md.html | 2 +- docs/checks/ComposeViewModelInjection.md.html | 2 +- docs/checks/CompositionLocalNaming.md.html | 10 +- docs/checks/ConflictingOnColor.md.html | 10 +- ...nstraintLayoutToolsEditorAttribute.md.html | 2 +- ...CoroutineCreationDuringComposition.md.html | 10 +- .../CredentialManagerSignInWithGoogle.md.html | 121 ++++++++ .../DeepLinkInActivityDestination.md.html | 10 +- docs/checks/DefaultCleartextTraffic.md.html | 30 +- docs/checks/DefaultLayoutAttribute.md.html | 2 +- docs/checks/DefaultTrustedUserCerts.md.html | 30 +- docs/checks/DenyListedApi.md.html | 2 +- docs/checks/DenyListedBlockingApi.md.html | 2 +- docs/checks/DeprecatedCall.md.html | 2 +- docs/checks/DeprecatedSqlUsage.md.html | 2 +- .../DetachAndAttachSameFragment.md.html | 8 +- .../DialogFragmentCallbacksDetector.md.html | 8 +- docs/checks/DisabledAllSafeBrowsing.md.html | 30 +- docs/checks/DoNotCallProviders.md.html | 2 +- ...DoNotExposeEitherNetInRepositories.md.html | 2 +- docs/checks/DoNotMock.md.html | 2 +- docs/checks/DoNotMockAnything.md.html | 2 +- docs/checks/DoNotMockAutoValue.md.html | 2 +- docs/checks/DoNotMockDataClass.md.html | 2 +- docs/checks/DoNotMockObjectClass.md.html | 2 +- docs/checks/DoNotMockPlatformTypes.md.html | 2 +- docs/checks/DoNotMockRecordClass.md.html | 2 +- docs/checks/DoNotMockSealedClass.md.html | 2 +- docs/checks/EmptyNavDeepLink.md.html | 30 +- docs/checks/EnsureInitializerMetadata.md.html | 14 +- .../EnsureInitializerNoArgConstr.md.html | 14 +- docs/checks/ErroneousLayoutAttribute.md.html | 2 +- docs/checks/ErrorProneDoNotMockUsage.md.html | 2 +- docs/checks/ExceptionMessage.md.html | 2 +- .../ExperimentalAnnotationRetention.md.html | 12 +- docs/checks/ExposedRootPath.md.html | 30 +- ...eldSiteTargetOnQualifierAnnotation.md.html | 10 +- .../FlowOperatorInvokedInComposition.md.html | 10 +- docs/checks/FormalGerman.md.html | 2 +- docs/checks/FragmentAddMenuProvider.md.html | 8 +- .../FragmentBackPressedCallback.md.html | 8 +- .../FragmentConstructorInjection.md.html | 2 +- docs/checks/FragmentFieldInjection.md.html | 2 +- .../FragmentGradleConfiguration-2.md.html | 10 +- .../FragmentGradleConfiguration.md.html | 10 +- docs/checks/FragmentLiveDataObserve.md.html | 8 +- docs/checks/FragmentTagUsage.md.html | 8 +- ...entlyChangedStateReadInComposition.md.html | 10 +- docs/checks/FullyQualifiedResource.md.html | 2 +- docs/checks/GradleCompatible.md.html | 37 ++- docs/checks/GuavaChecksUsed.md.html | 2 +- .../GuavaPreconditionsUsedInKotlin.md.html | 2 +- .../IdleBatteryChargingConstraints.md.html | 2 +- docs/checks/ImplicitStringPlaceholder.md.html | 2 +- docs/checks/InclusiveNaming.md.html | 2 +- .../checks/IncorrectChainMarginsUsage.md.html | 10 +- docs/checks/IncorrectMatchParentUsage.md.html | 10 +- .../IncorrectReferencesDeclaration.md.html | 10 +- docs/checks/InjectInJava.md.html | 2 +- docs/checks/InsecureDnsSdkLevel.md.html | 30 +- .../InsecurePermissionProtectionLevel.md.html | 30 +- docs/checks/InvalidAccessibility.md.html | 2 +- docs/checks/InvalidColorHexValue.md.html | 10 +- docs/checks/InvalidImport.md.html | 2 +- .../InvalidLanguageTagDelimiter.md.html | 10 +- ...InvalidPeriodicWorkRequestInterval.md.html | 2 +- docs/checks/InvalidSetHasFixedSize.md.html | 10 +- docs/checks/InvalidSingleLineComment.md.html | 2 +- docs/checks/InvalidString.md.html | 2 +- docs/checks/JCenter.md.html | 2 +- docs/checks/JavaOnlyDetector.md.html | 2 +- .../JvmStaticProvidesInObjectDetector.md.html | 10 +- docs/checks/KotlinPairNotCreated.md.html | 2 +- .../KotlinRequireNotNullUseMessage.md.html | 2 +- docs/checks/LaunchDuringComposition.md.html | 2 +- .../checks/LayoutFileNameMatchesClass.md.html | 2 +- docs/checks/MainScopeUsage.md.html | 2 +- docs/checks/MatchingMenuId.md.html | 2 +- docs/checks/MatchingViewId.md.html | 2 +- .../checks/MissingAutoVerifyAttribute.md.html | 30 +- docs/checks/MissingClass.md.html | 5 +- docs/checks/MissingColorAlphaChannel.md.html | 10 +- .../checks/MissingResourceImportAlias.md.html | 2 +- docs/checks/MissingScrollbars.md.html | 2 +- docs/checks/MissingXmlHeader.md.html | 2 +- .../ModifierFactoryExtensionFunction.md.html | 10 +- docs/checks/ModifierFactoryReturnType.md.html | 10 +- ...odifierFactoryUnreferencedReceiver.md.html | 10 +- .../ModifierNodeInspectableProperties.md.html | 10 +- docs/checks/ModifierParameter.md.html | 10 +- docs/checks/ModuleCompanionObjects.md.html | 10 +- ...eCompanionObjectsNotInModuleParent.md.html | 10 +- ...MoshiUsageAdaptedByRequiresAdapter.md.html | 2 +- .../MoshiUsageAdaptedByRequiresKeep.md.html | 2 +- docs/checks/MoshiUsageArray.md.html | 2 +- docs/checks/MoshiUsageBlankGenerator.md.html | 2 +- docs/checks/MoshiUsageBlankJsonName.md.html | 2 +- docs/checks/MoshiUsageBlankTypeLabel.md.html | 2 +- docs/checks/MoshiUsageClassVisibility.md.html | 2 +- .../MoshiUsageDoubleClassAnnotation.md.html | 2 +- docs/checks/MoshiUsageDoubleTypeLabel.md.html | 2 +- .../MoshiUsageDuplicateJsonName.md.html | 2 +- .../MoshiUsageEnumAnnotatedUnknown.md.html | 2 +- docs/checks/MoshiUsageEnumCasing.md.html | 2 +- .../MoshiUsageEnumJsonClassGenerated.md.html | 2 +- .../MoshiUsageEnumMissingJsonClass.md.html | 2 +- .../MoshiUsageEnumMissingUnknown.md.html | 2 +- ...MoshiUsageEnumPropertyCouldBeMoshi.md.html | 2 +- ...shiUsageEnumPropertyDefaultUnknown.md.html | 2 +- ...hiUsageGenerateAdapterShouldBeTrue.md.html | 2 +- .../MoshiUsageGenericSealedSubtype.md.html | 2 +- .../MoshiUsageInappropriateTypeLabel.md.html | 2 +- docs/checks/MoshiUsageMissingPrimary.md.html | 2 +- .../checks/MoshiUsageMissingTypeLabel.md.html | 2 +- .../MoshiUsageMutableCollections.md.html | 2 +- .../MoshiUsageNonMoshiClassCollection.md.html | 2 +- .../MoshiUsageNonMoshiClassExternal.md.html | 2 +- .../MoshiUsageNonMoshiClassInternal.md.html | 2 +- .../checks/MoshiUsageNonMoshiClassMap.md.html | 2 +- .../MoshiUsageNonMoshiClassPlatform.md.html | 2 +- docs/checks/MoshiUsageObject.md.html | 2 +- docs/checks/MoshiUsageParamNeedsInit.md.html | 2 +- .../MoshiUsagePrivateConstructor.md.html | 2 +- ...shiUsagePrivateConstructorProperty.md.html | 2 +- .../MoshiUsageQualifierRetention.md.html | 2 +- docs/checks/MoshiUsageQualifierTarget.md.html | 2 +- .../MoshiUsageRedundantJsonName.md.html | 2 +- .../MoshiUsageRedundantSiteTarget.md.html | 2 +- .../MoshiUsageSealedMustBeSealed.md.html | 2 +- docs/checks/MoshiUsageSerializedName.md.html | 2 +- docs/checks/MoshiUsageSnakeCase.md.html | 2 +- .../MoshiUsageTransientNeedsInit.md.html | 2 +- docs/checks/MoshiUsageUnsupportedType.md.html | 2 +- docs/checks/MoshiUsageUseData.md.html | 2 +- docs/checks/MoshiUsageVarProperty.md.html | 2 +- .../MultipleAwaitPointerEventScopes.md.html | 10 +- docs/checks/MustBeInModule.md.html | 2 +- docs/checks/MustUseNamedParams.md.html | 2 +- .../MutableCollectionMutableState.md.html | 10 +- docs/checks/NamingPattern.md.html | 2 +- docs/checks/NoCollectCallFound.md.html | 2 +- docs/checks/NonResizeableActivity.md.html | 6 +- docs/checks/NullSafeMutableLiveData-2.md.html | 4 +- docs/checks/NullSafeMutableLiveData.md.html | 14 +- docs/checks/OpaqueUnitKey.md.html | 10 +- docs/checks/ParcelizeFunctionProperty.md.html | 2 +- .../ProduceStateDoesNotAssignValue.md.html | 10 +- ...ayoutEdgeContentLayoutResponsive-2.md.html | 16 +- ...ayoutEdgeContentLayoutResponsive-3.md.html | 14 +- ...oLayoutEdgeContentLayoutResponsive.md.html | 16 +- docs/checks/ProtoLayoutMinSchema-2.md.html | 16 +- docs/checks/ProtoLayoutMinSchema-3.md.html | 14 +- docs/checks/ProtoLayoutMinSchema.md.html | 16 +- ...otoLayoutPrimaryLayoutResponsive-2.md.html | 16 +- ...otoLayoutPrimaryLayoutResponsive-3.md.html | 14 +- ...ProtoLayoutPrimaryLayoutResponsive.md.html | 16 +- docs/checks/ProvidesMustNotBeAbstract.md.html | 2 +- docs/checks/RawColor.md.html | 2 +- docs/checks/RawDimen.md.html | 2 +- docs/checks/RawDispatchersUse.md.html | 2 +- docs/checks/RedactedInJavaUsage.md.html | 2 +- docs/checks/RedundantBinds.md.html | 2 +- docs/checks/RememberReturnType.md.html | 10 +- .../RememberSaveableSaverParameter.md.html | 10 +- .../RemoveWorkManagerInitializer.md.html | 2 +- .../RepeatOnLifecycleWrongUsage-2.md.html | 4 +- .../RepeatOnLifecycleWrongUsage.md.html | 14 +- docs/checks/ResAuto.md.html | 44 ++- docs/checks/ResourcesGetColorCall.md.html | 2 +- .../ResourcesGetColorStateListCall.md.html | 2 +- docs/checks/ResourcesGetDrawableCall.md.html | 2 +- docs/checks/RestrictCallsTo.md.html | 2 +- docs/checks/RetrofitUsage.md.html | 2 +- .../ReturnFromAwaitPointerEventScope.md.html | 10 +- docs/checks/RxJava2DefaultScheduler.md.html | 2 +- .../RxJava2DisposableAddAllCall.md.html | 2 +- .../RxJava2DisposableDisposeCall.md.html | 2 +- ...Java2MethodMissingCheckReturnValue.md.html | 2 +- ...va2MissingCompositeDisposableClear.md.html | 2 +- .../RxJava2SchedulersFactoryCall.md.html | 2 +- .../RxJava2SubscribeMissingOnError.md.html | 2 +- docs/checks/SensitiveExternalPath.md.html | 30 +- docs/checks/SerializableUsage.md.html | 2 +- docs/checks/ShouldUseStaticImport.md.html | 2 +- docs/checks/SpanMarkPointMissingMask.md.html | 2 +- .../SpecifyForegroundServiceType.md.html | 2 +- .../checks/SpecifyJobSchedulerIdRange.md.html | 2 +- .../StateFlowValueCalledInComposition.md.html | 10 +- docs/checks/StrandhoggVulnerable.md.html | 30 +- docs/checks/StringNotCapitalized.md.html | 2 +- docs/checks/SubscribeOnMain.md.html | 2 +- .../SuperfluousMarginDeclaration.md.html | 2 +- docs/checks/SuperfluousNameSpace.md.html | 2 +- .../SuperfluousPaddingDeclaration.md.html | 2 +- ...iciousCompositionLocalModifierRead.md.html | 10 +- docs/checks/SuspiciousModifierThen.md.html | 10 +- docs/checks/TapjackingVulnerable.md.html | 30 +- .../TestLifecycleOwnerInCoroutine.md.html | 12 +- .../TestManifestGradleConfiguration.md.html | 10 +- docs/checks/Todo.md.html | 2 +- docs/checks/UnintendedExposedUrl.md.html | 30 +- .../checks/UnintendedPrivateIpAddress.md.html | 30 +- .../UnnecessaryComposedModifier.md.html | 10 +- .../checks/UnnecessaryRequiredFeature.md.html | 205 ++++++++++++++ docs/checks/UnrememberedAnimatable.md.html | 10 +- .../UnrememberedGetBackStackEntry.md.html | 259 ++++++++++++++++++ ...rememberedMutableInteractionSource.md.html | 10 +- docs/checks/UnrememberedMutableState.md.html | 10 +- .../checks/UnsafeCryptoAlgorithmUsage.md.html | 30 +- .../checks/UnsafeLifecycleWhenUsage-2.md.html | 4 +- docs/checks/UnsafeLifecycleWhenUsage.md.html | 14 +- docs/checks/UnsafeOptInUsageError.md.html | 12 +- docs/checks/UnsafeOptInUsageWarning.md.html | 12 +- .../UnsafeRepeatOnLifecycleDetector.md.html | 8 +- ...nitizedFilenameFromContentProvider.md.html | 160 +++++++++++ .../checks/UnsupportedLayoutAttribute.md.html | 2 +- .../UnusedBoxWithConstraintsScope.md.html | 10 +- ...dContentLambdaTargetStateParameter.md.html | 10 +- ...nusedCrossfadeTargetStateParameter.md.html | 10 +- ...dMaterial3ScaffoldPaddingParameter.md.html | 10 +- ...edMaterialScaffoldPaddingParameter.md.html | 10 +- docs/checks/UnusedMergeAttributes.md.html | 2 +- ...usedTransitionTargetStateParameter.md.html | 10 +- docs/checks/UseGetLayoutInflater.md.html | 8 +- .../UseOfNonLambdaOffsetOverload.md.html | 10 +- docs/checks/UseRequireInsteadOfGet.md.html | 8 +- docs/checks/UseRxSetProgress2.md.html | 2 +- docs/checks/UseSdkSuppress.md.html | 2 +- ...UsingMaterialAndMaterial3Libraries.md.html | 10 +- .../ViewModelConstructorInComposable.md.html | 138 ++++++++++ docs/checks/VulnerableCryptoAlgorithm.md.html | 30 +- docs/checks/WeakPrng.md.html | 30 +- docs/checks/WorkerHasAPublicModifier.md.html | 2 +- docs/checks/WrongAnnotationOrder.md.html | 2 +- .../checks/WrongConstraintLayoutUsage.md.html | 2 +- docs/checks/WrongDrawableName.md.html | 2 +- docs/checks/WrongGlobalIconColor.md.html | 2 +- docs/checks/WrongLayoutName.md.html | 2 +- docs/checks/WrongMenuIdFormat.md.html | 2 +- docs/checks/WrongNavigateRouteType.md.html | 10 +- docs/checks/WrongRequiresOptIn.md.html | 12 +- docs/checks/WrongResourceImportAlias.md.html | 2 +- .../WrongStartDestinationType-2.md.html | 14 +- .../WrongStartDestinationType-3.md.html | 22 +- docs/checks/WrongStartDestinationType.md.html | 36 ++- docs/checks/WrongTestMethodName.md.html | 2 +- docs/checks/WrongViewIdFormat.md.html | 2 +- docs/checks/XmlSpacing.md.html | 2 +- ...androidx_activity_activity-compose.md.html | 3 +- .../checks/androidx_activity_activity.md.html | 1 + ...annotation_annotation-experimental.md.html | 17 +- ...ompose_animation_animation-android.md.html | 15 +- ...e_animation_animation-core-android.md.html | 15 +- ...pose_foundation_foundation-android.md.html | 15 +- ...ompose_material3_material3-android.md.html | 14 +- ..._compose_material_material-android.md.html | 15 +- ...dx_compose_runtime_runtime-android.md.html | 15 +- ...e_runtime_runtime-saveable-android.md.html | 15 +- .../androidx_compose_ui_ui-android.md.html | 15 +- ...idx_compose_ui_ui-graphics-android.md.html | 15 +- ...droidx_compose_ui_ui-test-manifest.md.html | 15 +- ...ndroidx_compose_ui_ui-text-android.md.html | 15 +- ...intlayout_constraintlayout-compose.md.html | 15 +- ...fragment_fragment-testing-manifest.md.html | 13 +- ...androidx_fragment_fragment-testing.md.html | 13 +- .../checks/androidx_fragment_fragment.md.html | 13 +- ...ecycle_lifecycle-livedata-core-ktx.md.html | 2 +- ..._lifecycle_lifecycle-livedata-core.md.html | 16 +- ...ifecycle_lifecycle-runtime-android.md.html | 16 +- ...dx_lifecycle_lifecycle-runtime-ktx.md.html | 2 +- ...ifecycle_lifecycle-runtime-testing.md.html | 15 +- ...ifecycle-viewmodel-compose-android.md.html | 58 ++++ ...roidx_navigation_navigation-common.md.html | 17 +- ...oidx_navigation_navigation-compose.md.html | 34 ++- ...oidx_navigation_navigation-runtime.md.html | 15 +- ...androidx_recyclerview_recyclerview.md.html | 14 +- .../androidx_startup_startup-runtime.md.html | 19 +- ...protolayout_protolayout-expression.md.html | 21 +- ...r_protolayout_protolayout-material.md.html | 29 +- ...roidx_wear_protolayout_protolayout.md.html | 19 +- .../checks/androidx_work_work-runtime.md.html | 3 +- docs/checks/categories.md.html | 17 +- ...=> com_android_security_lint_lint.md.html} | 47 +++- .../com_google_dagger_dagger-lint.md.html | 13 +- ...k_lint_compose_compose-lint-checks.md.html | 4 +- .../com_slack_lint_slack-lint-checks.md.html | 2 +- ...uber_autodispose2_autodispose-lint.md.html | 2 +- .../com_vanniktech_lint-rules-android.md.html | 6 +- .../com_vanniktech_lint-rules-kotlin.md.html | 2 +- .../com_vanniktech_lint-rules-rxjava2.md.html | 4 +- docs/checks/index.md.html | 47 ++-- docs/checks/libraries.md.html | 7 +- docs/checks/severity.md.html | 15 +- docs/checks/vendors.md.html | 22 +- docs/checks/year.md.html | 19 +- 339 files changed, 2739 insertions(+), 1166 deletions(-) create mode 100644 docs/checks/ChildInNonViewGroup.md.html create mode 100644 docs/checks/ComposableDestinationInComposeScope.md.html rename docs/checks/{EmptyNavDeepLink-2.md.html => ComposableNavGraphInComposeScope.md.html} (50%) create mode 100644 docs/checks/CredentialManagerSignInWithGoogle.md.html create mode 100644 docs/checks/UnnecessaryRequiredFeature.md.html create mode 100644 docs/checks/UnrememberedGetBackStackEntry.md.html create mode 100644 docs/checks/UnsanitizedFilenameFromContentProvider.md.html create mode 100644 docs/checks/ViewModelConstructorInComposable.md.html create mode 100644 docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html rename docs/checks/{google_android-security-lints_android-security-lints.md.html => com_android_security_lint_lint.md.html} (72%) diff --git a/docs/checks/AccessibilityFocus.md.html b/docs/checks/AccessibilityFocus.md.html index 73e309c..b81f3ee 100644 --- a/docs/checks/AccessibilityFocus.md.html +++ b/docs/checks/AccessibilityFocus.md.html @@ -13,7 +13,7 @@ Category : Accessibility Platform -: Any +: Android Vendor : Android Open Source Project Feedback diff --git a/docs/checks/AccessibilityScrollActions.md.html b/docs/checks/AccessibilityScrollActions.md.html index 71afb02..3d534c3 100644 --- a/docs/checks/AccessibilityScrollActions.md.html +++ b/docs/checks/AccessibilityScrollActions.md.html @@ -13,7 +13,7 @@ Category : Accessibility Platform -: Any +: Android Vendor : Android Open Source Project Feedback diff --git a/docs/checks/AccessibilityWindowStateChangedEvent.md.html b/docs/checks/AccessibilityWindowStateChangedEvent.md.html index 8967468..3b7d72a 100644 --- a/docs/checks/AccessibilityWindowStateChangedEvent.md.html +++ b/docs/checks/AccessibilityWindowStateChangedEvent.md.html @@ -13,7 +13,7 @@ Category : Accessibility Platform -: Any +: Android Vendor : Android Open Source Project Feedback diff --git a/docs/checks/AlertDialogUsage.md.html b/docs/checks/AlertDialogUsage.md.html index 359ce86..cc5ff5f 100644 --- a/docs/checks/AlertDialogUsage.md.html +++ b/docs/checks/AlertDialogUsage.md.html @@ -83,7 +83,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/ArcAnimationSpecTypeIssue.md.html b/docs/checks/ArcAnimationSpecTypeIssue.md.html index 34cf1c6..74cc928 100644 --- a/docs/checks/ArcAnimationSpecTypeIssue.md.html +++ b/docs/checks/ArcAnimationSpecTypeIssue.md.html @@ -99,17 +99,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-beta05") +implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-beta05' +implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.animation-core-android) +implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-beta05" +animation-core-android = "1.7.0-rc01" [libraries] animation-core-android = { module = "androidx.compose.animation:animation-core-android", @@ -117,7 +117,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 2f37cd1..bb45821 100644 --- a/docs/checks/ArgInFormattedQuantityStringRes.md.html +++ b/docs/checks/ArgInFormattedQuantityStringRes.md.html @@ -97,7 +97,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/AssertjImport.md.html b/docs/checks/AssertjImport.md.html index 0c20757..46296df 100644 --- a/docs/checks/AssertjImport.md.html +++ b/docs/checks/AssertjImport.md.html @@ -57,7 +57,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/AutoDispose.md.html b/docs/checks/AutoDispose.md.html index 647b117..7aca395 100644 --- a/docs/checks/AutoDispose.md.html +++ b/docs/checks/AutoDispose.md.html @@ -101,7 +101,7 @@ lintChecks 'com.uber.autodispose2:autodispose-lint:2.2.1' // build.gradle.kts with version catalogs: -lintChecks(libs.autodispose-lint) +lintChecks(libs.autodispose.lint) # libs.versions.toml [versions] diff --git a/docs/checks/AutoboxingStateCreation.md.html b/docs/checks/AutoboxingStateCreation.md.html index cd6b813..cb30bb5 100644 --- a/docs/checks/AutoboxingStateCreation.md.html +++ b/docs/checks/AutoboxingStateCreation.md.html @@ -94,17 +94,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -112,7 +112,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 d158f40..0f70c78 100644 --- a/docs/checks/AutoboxingStateValueProperty.md.html +++ b/docs/checks/AutoboxingStateValueProperty.md.html @@ -89,17 +89,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -107,7 +107,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 5be8b65..3894e48 100644 --- a/docs/checks/BadConfigurationProvider.md.html +++ b/docs/checks/BadConfigurationProvider.md.html @@ -102,7 +102,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/BadPeriodicWorkRequestEnqueue.md.html b/docs/checks/BadPeriodicWorkRequestEnqueue.md.html index a3a55a7..bc5aa8c 100644 --- a/docs/checks/BadPeriodicWorkRequestEnqueue.md.html +++ b/docs/checks/BadPeriodicWorkRequestEnqueue.md.html @@ -58,7 +58,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/BindingReceiverParameter.md.html b/docs/checks/BindingReceiverParameter.md.html index 5f37757..517c2c6 100644 --- a/docs/checks/BindingReceiverParameter.md.html +++ b/docs/checks/BindingReceiverParameter.md.html @@ -150,7 +150,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/BindingReturnType.md.html b/docs/checks/BindingReturnType.md.html index 19c4c8a..02bdac6 100644 --- a/docs/checks/BindingReturnType.md.html +++ b/docs/checks/BindingReturnType.md.html @@ -107,7 +107,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/BindsMustBeAbstract.md.html b/docs/checks/BindsMustBeAbstract.md.html index ec16d7c..334c6d3 100644 --- a/docs/checks/BindsMustBeAbstract.md.html +++ b/docs/checks/BindsMustBeAbstract.md.html @@ -106,7 +106,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/BindsTypeMismatch.md.html b/docs/checks/BindsTypeMismatch.md.html index 6a7e3d2..20f9551 100644 --- a/docs/checks/BindsTypeMismatch.md.html +++ b/docs/checks/BindsTypeMismatch.md.html @@ -115,7 +115,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/BindsWrongParameterCount.md.html b/docs/checks/BindsWrongParameterCount.md.html index 68f8c47..a291bec 100644 --- a/docs/checks/BindsWrongParameterCount.md.html +++ b/docs/checks/BindsWrongParameterCount.md.html @@ -96,7 +96,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/CastingViewContextToActivity.md.html b/docs/checks/CastingViewContextToActivity.md.html index e7aab05..f6e6a0d 100644 --- a/docs/checks/CastingViewContextToActivity.md.html +++ b/docs/checks/CastingViewContextToActivity.md.html @@ -60,7 +60,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ChildInNonViewGroup.md.html b/docs/checks/ChildInNonViewGroup.md.html new file mode 100644 index 0000000..518cab8 --- /dev/null +++ b/docs/checks/ChildInNonViewGroup.md.html @@ -0,0 +1,115 @@ + +(#) Only view groups can have children + +!!! ERROR: Only view groups can have children + This is an error. + +Id +: `ChildInNonViewGroup` +Summary +: Only view groups can have children +Severity +: Error +Category +: Correctness +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Affects +: Resource files +Editing +: This check runs on the fly in the IDE editor +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/ChildInNonViewGroupDetector.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/ChildInNonViewGroupDetectorTest.kt) +Copyright Year +: 2011 + +Only classes inheriting from `ViewGroup` can have children. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +res/layout/wrong.xml:9:Error: A ImageView should have no children +declared in XML [ChildInNonViewGroup] + <TextView /> + -------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`res/layout/wrong.xml`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~xml linenumbers +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <TextView /> + </ImageView> + +</LinearLayout> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +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/ChildInNonViewGroupDetectorTest.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, `ChildInNonViewGroupDetector.test wrong nesting of TextView within ImageView`. +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: + +* Adding the suppression attribute + `tools:ignore="ChildInNonViewGroup"` on the problematic XML element + (or one of its enclosing elements). You may also need to add the + following namespace declaration on the root element in the XML file + if it's not already there: + `xmlns:tools="http://schemas.android.com/tools"`. + +* 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="ChildInNonViewGroup" 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 'ChildInNonViewGroup' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore ChildInNonViewGroup ...` + ``` + +* 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/ColorCasing.md.html b/docs/checks/ColorCasing.md.html index fe7a90c..bbd56ab 100644 --- a/docs/checks/ColorCasing.md.html +++ b/docs/checks/ColorCasing.md.html @@ -82,7 +82,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/ComposableDestinationInComposeScope.md.html b/docs/checks/ComposableDestinationInComposeScope.md.html new file mode 100644 index 0000000..6143c4d --- /dev/null +++ b/docs/checks/ComposableDestinationInComposeScope.md.html @@ -0,0 +1,178 @@ + +(#) Building composable destination in compose scope + +!!! ERROR: Building composable destination in compose scope + This is an error. + +Id +: `ComposableDestinationInComposeScope` +Summary +: Building composable destination in compose scope +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Jetpack Navigation Compose +Identifier +: androidx.navigation.compose +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.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:/navigation/navigation-compose-lint/src/main/java/androidx/navigation/compose/lint/ComposableDestinationInComposeScopeDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-compose-lint/src/test/java/androidx/navigation/compose/lint/ComposableDestinationInComposeScopeDetectorTest.kt) +Copyright Year +: 2021 + +Composable destinations should only be constructed directly within a +NavGraphBuilder scope. Composable destinations cannot be nested, and you +should use the `navigation` function to create a nested graph instead. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/com/example/test.kt:13:Error: Using composable inside of a compose +scope [ComposableDestinationInComposeScope] + composable("wrong") { } + ---------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/com/example/test.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package com.example + +import androidx.compose.runtime.* +import androidx.navigation.compose.composable +import androidx.navigation.compose.NavHost +import androidx.navigation.NavGraphBuilder + +@Composable +fun Test() { + NavHost("host") { + composable("right") { + composable("wrong") { } + } + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-compose-lint/src/test/java/androidx/navigation/compose/lint/ComposableDestinationInComposeScopeDetectorTest.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, `ComposableDestinationInComposeScopeDetector.nestedComposableBuilders`. +To report a problem with this extracted sample, contact +Jetpack Navigation Compose. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.navigation:navigation-compose:2.8.0-rc01") + +// build.gradle +implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' + +// build.gradle.kts with version catalogs: +implementation(libs.navigation.compose) + +# libs.versions.toml +[versions] +navigation-compose = "2.8.0-rc01" +[libraries] +navigation-compose = { + module = "androidx.navigation:navigation-compose", + version.ref = "navigation-compose" +} +``` + +2.8.0-rc01 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). +(##) 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("ComposableDestinationInComposeScope") + fun method() { + composable(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("ComposableDestinationInComposeScope") + void method() { + composable(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection ComposableDestinationInComposeScope + 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="ComposableDestinationInComposeScope" 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 'ComposableDestinationInComposeScope' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore ComposableDestinationInComposeScope ...` + ``` + +* 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/ComposableLambdaParameterNaming.md.html b/docs/checks/ComposableLambdaParameterNaming.md.html index 95c1698..b31eadf 100644 --- a/docs/checks/ComposableLambdaParameterNaming.md.html +++ b/docs/checks/ComposableLambdaParameterNaming.md.html @@ -84,17 +84,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -102,7 +102,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 70f4526..aa905c6 100644 --- a/docs/checks/ComposableLambdaParameterPosition.md.html +++ b/docs/checks/ComposableLambdaParameterPosition.md.html @@ -86,17 +86,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -104,7 +104,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 bee510d..b22d03b 100644 --- a/docs/checks/ComposableNaming.md.html +++ b/docs/checks/ComposableNaming.md.html @@ -86,17 +86,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -104,7 +104,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/EmptyNavDeepLink-2.md.html b/docs/checks/ComposableNavGraphInComposeScope.md.html similarity index 50% rename from docs/checks/EmptyNavDeepLink-2.md.html rename to docs/checks/ComposableNavGraphInComposeScope.md.html index 0a26bd6..22fb608 100644 --- a/docs/checks/EmptyNavDeepLink-2.md.html +++ b/docs/checks/ComposableNavGraphInComposeScope.md.html @@ -1,13 +1,13 @@ -(#) NavDeepLink must define an uri, action, and/or mimetype to be valid +(#) Building navigation graph in compose scope -!!! ERROR: NavDeepLink must define an uri, action, and/or mimetype to be valid +!!! ERROR: Building navigation graph in compose scope This is an error. Id -: `EmptyNavDeepLink` +: `ComposableNavGraphInComposeScope` Summary -: NavDeepLink must define an uri, action, and/or mimetype to be valid +: Building navigation graph in compose scope Severity : Error Category @@ -15,81 +15,70 @@ Platform : Any Vendor -: Android Open Source Project +: Jetpack Navigation Compose Identifier -: androidx.navigation.common -Feedback -: https://issuetracker.google.com/issues/new?component=409828 +: androidx.navigation.compose Min : Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: [androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html) +: [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) Affects -: Kotlin and Java files +: 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:/navigation/navigation-common-lint/src/main/java/androidx/navigation/common/lint/EmptyNavDeepLinkDetector.kt) +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-compose-lint/src/main/java/androidx/navigation/compose/lint/ComposableDestinationInComposeScopeDetector.kt) Tests -: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-common-lint/src/test/java/androidx/navigation/common/lint/EmptyNavDeepLinkDetectorTest.kt) +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-compose-lint/src/test/java/androidx/navigation/compose/lint/ComposableDestinationInComposeScopeDetectorTest.kt) Copyright Year -: 2022 +: 2021 -Attempting to create an empty NavDeepLink will result in an -IllegalStateException at runtime. You may set these arguments within the -lambda of the call to navDeepLink. +Composable destinations should only be constructed directly within a +NavGraphBuilder scope. (##) Example Here is an example of lint warnings produced by this check: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text -src/com/example/test.kt:6:Error: Creation of empty NavDeepLink -[EmptyNavDeepLink] - navDeepLink { } - ----------- +src/com/example/test.kt:14:Error: Using navigation inside of a compose +scope [ComposableNavGraphInComposeScope] + navigation("wrong") { } + ---------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Here are the relevant source files: +Here is the source file referenced above: `src/com/example/test.kt`: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers package com.example -import androidx.navigation.navDeepLink - -fun createDeepLink() { - navDeepLink { } +import androidx.compose.runtime.* +import androidx.navigation.compose.composable +import androidx.navigation.compose.navigation +import androidx.navigation.compose.NavHost +import androidx.navigation.NavGraphBuilder + +@Composable +fun Test() { + NavHost("host") { + composable("right") { + navigation("wrong") { } + } + } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -`src/androidx/navigation/test.kt`: -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers -package androidx.navigation - -public fun navDeepLink(deepLinkBuilder: NavDeepLinkDslBuilder.() -> Unit): NavDeepLink {} -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - You can also visit the -[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-common-lint/src/test/java/androidx/navigation/common/lint/EmptyNavDeepLinkDetectorTest.kt) +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-compose-lint/src/test/java/androidx/navigation/compose/lint/ComposableDestinationInComposeScopeDetectorTest.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, `EmptyNavDeepLinkDetector.testErrors`. -To report a problem with this extracted sample, visit -https://issuetracker.google.com/issues/new?component=409828. - -(##) Repackaged - -This lint check appears to have been packaged in other artifacts as -well. Issue id's must be unique, so you cannot combine these libraries. -Also defined in: -* EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid (this issue) -* [EmptyNavDeepLink from androidx.navigation:navigation-compose:2.8.0-beta05](EmptyNavDeepLink.md.html) -* [EmptyNavDeepLink from androidx.navigation:navigation-common:2.8.0-beta05](EmptyNavDeepLink-2.md.html) - +found for this lint check, `ComposableDestinationInComposeScopeDetector.navigationBuilderInsideComposable`. +To report a problem with this extracted sample, contact +Jetpack Navigation Compose. (##) Including @@ -99,28 +88,28 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.8.0-beta05") +implementation("androidx.navigation:navigation-compose:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-common:2.8.0-beta05' +implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-common) +implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-common = "2.8.0-beta05" +navigation-compose = "2.8.0-rc01" [libraries] -navigation-common = { - module = "androidx.navigation:navigation-common", - version.ref = "navigation-common" +navigation-compose = { + module = "androidx.navigation:navigation-compose", + version.ref = "navigation-compose" } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 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). +[Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: @@ -130,9 +119,9 @@ ```kt // Kotlin - @Suppress("EmptyNavDeepLink") + @Suppress("ComposableNavGraphInComposeScope") fun method() { - navDeepLink(...) + composable(...) } ``` @@ -140,16 +129,16 @@ ```java // Java - @SuppressWarnings("EmptyNavDeepLink") + @SuppressWarnings("ComposableNavGraphInComposeScope") void method() { - navDeepLink(...); + composable(...); } ``` * Using a suppression comment like this on the line above: ```kt - //noinspection EmptyNavDeepLink + //noinspection ComposableNavGraphInComposeScope problematicStatement() ``` @@ -159,7 +148,7 @@ ```xml <?xml version="1.0" encoding="UTF-8"?> <lint> - <issue id="EmptyNavDeepLink" severity="ignore" /> + <issue id="ComposableNavGraphInComposeScope" severity="ignore" /> </lint> ``` Instead of `ignore` you can also change the severity here, for @@ -172,7 +161,7 @@ example, you can use something like ```gradle lintOptions { - disable 'EmptyNavDeepLink' + disable 'ComposableNavGraphInComposeScope' } ``` In Android projects this should be nested inside an `android { }` @@ -180,7 +169,7 @@ * For manual invocations of `lint`, using the `--ignore` flag: ``` - $ lint --ignore EmptyNavDeepLink ...` + $ lint --ignore ComposableNavGraphInComposeScope ...` ``` * Last, but not least, using baselines, as discussed diff --git a/docs/checks/ComposeComposableModifier.md.html b/docs/checks/ComposeComposableModifier.md.html index 1ea2c3e..f10ae73 100644 --- a/docs/checks/ComposeComposableModifier.md.html +++ b/docs/checks/ComposeComposableModifier.md.html @@ -104,7 +104,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeCompositionLocalGetter.md.html b/docs/checks/ComposeCompositionLocalGetter.md.html index ed0188f..0555caf 100644 --- a/docs/checks/ComposeCompositionLocalGetter.md.html +++ b/docs/checks/ComposeCompositionLocalGetter.md.html @@ -111,7 +111,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeCompositionLocalUsage.md.html b/docs/checks/ComposeCompositionLocalUsage.md.html index b8a7de8..d6db260 100644 --- a/docs/checks/ComposeCompositionLocalUsage.md.html +++ b/docs/checks/ComposeCompositionLocalUsage.md.html @@ -127,7 +127,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeContentEmitterReturningValues.md.html b/docs/checks/ComposeContentEmitterReturningValues.md.html index 501f5cf..8db10d3 100644 --- a/docs/checks/ComposeContentEmitterReturningValues.md.html +++ b/docs/checks/ComposeContentEmitterReturningValues.md.html @@ -132,7 +132,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeM2Api.md.html b/docs/checks/ComposeM2Api.md.html index e005072..5a088d2 100644 --- a/docs/checks/ComposeM2Api.md.html +++ b/docs/checks/ComposeM2Api.md.html @@ -168,7 +168,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeModifierComposed.md.html b/docs/checks/ComposeModifierComposed.md.html index 5f0b61f..20d1933 100644 --- a/docs/checks/ComposeModifierComposed.md.html +++ b/docs/checks/ComposeModifierComposed.md.html @@ -122,7 +122,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeModifierMissing.md.html b/docs/checks/ComposeModifierMissing.md.html index 70c9856..6a711b2 100644 --- a/docs/checks/ComposeModifierMissing.md.html +++ b/docs/checks/ComposeModifierMissing.md.html @@ -160,7 +160,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeModifierReused.md.html b/docs/checks/ComposeModifierReused.md.html index 05f1208..2d36c31 100644 --- a/docs/checks/ComposeModifierReused.md.html +++ b/docs/checks/ComposeModifierReused.md.html @@ -244,7 +244,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeModifierWithoutDefault.md.html b/docs/checks/ComposeModifierWithoutDefault.md.html index 8200f20..0a8905f 100644 --- a/docs/checks/ComposeModifierWithoutDefault.md.html +++ b/docs/checks/ComposeModifierWithoutDefault.md.html @@ -101,7 +101,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeMultipleContentEmitters.md.html b/docs/checks/ComposeMultipleContentEmitters.md.html index ac7b07d..927b093 100644 --- a/docs/checks/ComposeMultipleContentEmitters.md.html +++ b/docs/checks/ComposeMultipleContentEmitters.md.html @@ -127,7 +127,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeMutableParameters.md.html b/docs/checks/ComposeMutableParameters.md.html index 125f3d2..d608308 100644 --- a/docs/checks/ComposeMutableParameters.md.html +++ b/docs/checks/ComposeMutableParameters.md.html @@ -128,7 +128,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeNamingLowercase.md.html b/docs/checks/ComposeNamingLowercase.md.html index 0b66958..77e3530 100644 --- a/docs/checks/ComposeNamingLowercase.md.html +++ b/docs/checks/ComposeNamingLowercase.md.html @@ -109,7 +109,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeNamingUppercase.md.html b/docs/checks/ComposeNamingUppercase.md.html index dd4a299..d521469 100644 --- a/docs/checks/ComposeNamingUppercase.md.html +++ b/docs/checks/ComposeNamingUppercase.md.html @@ -119,7 +119,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeParameterOrder.md.html b/docs/checks/ComposeParameterOrder.md.html index 4017a3c..db53bcc 100644 --- a/docs/checks/ComposeParameterOrder.md.html +++ b/docs/checks/ComposeParameterOrder.md.html @@ -157,7 +157,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposePreviewNaming.md.html b/docs/checks/ComposePreviewNaming.md.html index c0a3d09..9394500 100644 --- a/docs/checks/ComposePreviewNaming.md.html +++ b/docs/checks/ComposePreviewNaming.md.html @@ -105,7 +105,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposePreviewPublic.md.html b/docs/checks/ComposePreviewPublic.md.html index 30298c6..34c60b4 100644 --- a/docs/checks/ComposePreviewPublic.md.html +++ b/docs/checks/ComposePreviewPublic.md.html @@ -110,7 +110,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeRememberMissing.md.html b/docs/checks/ComposeRememberMissing.md.html index 8ec6514..5488b89 100644 --- a/docs/checks/ComposeRememberMissing.md.html +++ b/docs/checks/ComposeRememberMissing.md.html @@ -105,7 +105,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeUnstableCollections.md.html b/docs/checks/ComposeUnstableCollections.md.html index 4551c6e..625e4cc 100644 --- a/docs/checks/ComposeUnstableCollections.md.html +++ b/docs/checks/ComposeUnstableCollections.md.html @@ -130,7 +130,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeUnstableReceiver.md.html b/docs/checks/ComposeUnstableReceiver.md.html index 18e3257..6beac5d 100644 --- a/docs/checks/ComposeUnstableReceiver.md.html +++ b/docs/checks/ComposeUnstableReceiver.md.html @@ -146,7 +146,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeViewModelForwarding.md.html b/docs/checks/ComposeViewModelForwarding.md.html index 9d18adc..9f6e5b3 100644 --- a/docs/checks/ComposeViewModelForwarding.md.html +++ b/docs/checks/ComposeViewModelForwarding.md.html @@ -94,7 +94,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ComposeViewModelInjection.md.html b/docs/checks/ComposeViewModelInjection.md.html index 0f33776..cd48e79 100644 --- a/docs/checks/ComposeViewModelInjection.md.html +++ b/docs/checks/ComposeViewModelInjection.md.html @@ -137,7 +137,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/CompositionLocalNaming.md.html b/docs/checks/CompositionLocalNaming.md.html index 5d4c84d..71e0eb1 100644 --- a/docs/checks/CompositionLocalNaming.md.html +++ b/docs/checks/CompositionLocalNaming.md.html @@ -103,17 +103,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -121,7 +121,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 7085db2..94b3b0b 100644 --- a/docs/checks/ConflictingOnColor.md.html +++ b/docs/checks/ConflictingOnColor.md.html @@ -180,17 +180,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.7.0-beta05") +implementation("androidx.compose.material:material-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.material:material-android:1.7.0-beta05' +implementation 'androidx.compose.material:material-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.material-android) +implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.7.0-beta05" +material-android = "1.7.0-rc01" [libraries] material-android = { module = "androidx.compose.material:material-android", @@ -198,7 +198,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/ConstraintLayoutToolsEditorAttribute.md.html b/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html index c18dbb5..5d23115 100644 --- a/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html +++ b/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html @@ -84,7 +84,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/CoroutineCreationDuringComposition.md.html b/docs/checks/CoroutineCreationDuringComposition.md.html index 182efa1..b69dbf8 100644 --- a/docs/checks/CoroutineCreationDuringComposition.md.html +++ b/docs/checks/CoroutineCreationDuringComposition.md.html @@ -236,17 +236,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -254,7 +254,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/CredentialManagerSignInWithGoogle.md.html b/docs/checks/CredentialManagerSignInWithGoogle.md.html new file mode 100644 index 0000000..563e412 --- /dev/null +++ b/docs/checks/CredentialManagerSignInWithGoogle.md.html @@ -0,0 +1,121 @@ + +(#) Misuse of Sign in with Google API + +!!! WARNING: Misuse of Sign in with Google API + This is a warning. + +Id +: `CredentialManagerSignInWithGoogle` +Summary +: Misuse of Sign in with Google 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-siwg#create-sign +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/CredentialManagerSignInWithGoogleDetector.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/CredentialManagerSignInWithGoogleDetectorTest.kt) +Copyright Year +: 2024 + +When using `:googleid` classes like `GetGoogleIdOption` and +`GetSignInWithGoogleOption`, you typically must handle the response +using `GoogleIdTokenCredential.TYPE_GOOGLE_ID_TOKEN_CREDENTIAL` or +`GoogleIdTokenCredential.TYPE_GOOGLE_ID_TOKEN_SIWG_CREDENTIAL`. + +This check reports all uses of these `:googleid` classes if there are no +references to `GoogleIdTokenCredential`. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/com/example/app/Foo.kt:9:Warning: Use of :googleid classes without +use of GoogleIdTokenCredential [CredentialManagerSignInWithGoogle] + val googleIdOption = GetGoogleIdOption.Builder().build() + ----------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/com/example/app/Foo.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package com.example.app + +import androidx.credentials.GetCredentialResponse +import androidx.credentials.PublicKeyCredential +import com.google.android.libraries.identity.googleid.GetGoogleIdOption + +class Foo { + fun foo() { + val googleIdOption = GetGoogleIdOption.Builder().build() + } + + fun handleSignIn(result: GetCredentialResponse) { + when (val credential = result.credential) { + is PublicKeyCredential -> { + bar() + } + else -> {} + } + } + + fun bar() { 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/CredentialManagerSignInWithGoogleDetectorTest.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="CredentialManagerSignInWithGoogle" 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 'CredentialManagerSignInWithGoogle' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore CredentialManagerSignInWithGoogle ...` + ``` + +* 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/DeepLinkInActivityDestination.md.html b/docs/checks/DeepLinkInActivityDestination.md.html index af0edf2..1028d34 100644 --- a/docs/checks/DeepLinkInActivityDestination.md.html +++ b/docs/checks/DeepLinkInActivityDestination.md.html @@ -101,17 +101,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-beta05") +implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-beta05' +implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-runtime) +implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-beta05" +navigation-runtime = "2.8.0-rc01" [libraries] navigation-runtime = { module = "androidx.navigation:navigation-runtime", @@ -119,7 +119,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 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 225292f..614cbd7 100644 --- a/docs/checks/DefaultCleartextTraffic.md.html +++ b/docs/checks/DefaultCleartextTraffic.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Manifest files @@ -83,14 +83,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/DefaultLayoutAttribute.md.html b/docs/checks/DefaultLayoutAttribute.md.html index 0f7ce98..42a68db 100644 --- a/docs/checks/DefaultLayoutAttribute.md.html +++ b/docs/checks/DefaultLayoutAttribute.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/DefaultTrustedUserCerts.md.html b/docs/checks/DefaultTrustedUserCerts.md.html index 6a16707..644e023 100644 --- a/docs/checks/DefaultTrustedUserCerts.md.html +++ b/docs/checks/DefaultTrustedUserCerts.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Manifest files @@ -85,14 +85,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/DenyListedApi.md.html b/docs/checks/DenyListedApi.md.html index ecb03a6..16e1b7f 100644 --- a/docs/checks/DenyListedApi.md.html +++ b/docs/checks/DenyListedApi.md.html @@ -94,7 +94,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DenyListedBlockingApi.md.html b/docs/checks/DenyListedBlockingApi.md.html index 0744396..833e620 100644 --- a/docs/checks/DenyListedBlockingApi.md.html +++ b/docs/checks/DenyListedBlockingApi.md.html @@ -93,7 +93,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DeprecatedCall.md.html b/docs/checks/DeprecatedCall.md.html index c20fde7..24155b5 100644 --- a/docs/checks/DeprecatedCall.md.html +++ b/docs/checks/DeprecatedCall.md.html @@ -103,7 +103,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DeprecatedSqlUsage.md.html b/docs/checks/DeprecatedSqlUsage.md.html index 9e470e6..0c39e01 100644 --- a/docs/checks/DeprecatedSqlUsage.md.html +++ b/docs/checks/DeprecatedSqlUsage.md.html @@ -91,7 +91,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DetachAndAttachSameFragment.md.html b/docs/checks/DetachAndAttachSameFragment.md.html index 4f75764..6cef801 100644 --- a/docs/checks/DetachAndAttachSameFragment.md.html +++ b/docs/checks/DetachAndAttachSameFragment.md.html @@ -55,17 +55,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -73,7 +73,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 1b274b7..36f9e1f 100644 --- a/docs/checks/DialogFragmentCallbacksDetector.md.html +++ b/docs/checks/DialogFragmentCallbacksDetector.md.html @@ -93,17 +93,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -111,7 +111,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 fc73fcb..565e793 100644 --- a/docs/checks/DisabledAllSafeBrowsing.md.html +++ b/docs/checks/DisabledAllSafeBrowsing.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Manifest files @@ -84,14 +84,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/DoNotCallProviders.md.html b/docs/checks/DoNotCallProviders.md.html index 458ab18..496f01c 100644 --- a/docs/checks/DoNotCallProviders.md.html +++ b/docs/checks/DoNotCallProviders.md.html @@ -138,7 +138,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotExposeEitherNetInRepositories.md.html b/docs/checks/DoNotExposeEitherNetInRepositories.md.html index 9df8053..1e8ef93 100644 --- a/docs/checks/DoNotExposeEitherNetInRepositories.md.html +++ b/docs/checks/DoNotExposeEitherNetInRepositories.md.html @@ -127,7 +127,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMock.md.html b/docs/checks/DoNotMock.md.html index 8f27f93..85760e5 100644 --- a/docs/checks/DoNotMock.md.html +++ b/docs/checks/DoNotMock.md.html @@ -187,7 +187,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMockAnything.md.html b/docs/checks/DoNotMockAnything.md.html index f095924..c8bc8d7 100644 --- a/docs/checks/DoNotMockAnything.md.html +++ b/docs/checks/DoNotMockAnything.md.html @@ -117,7 +117,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMockAutoValue.md.html b/docs/checks/DoNotMockAutoValue.md.html index 108c39b..e49beed 100644 --- a/docs/checks/DoNotMockAutoValue.md.html +++ b/docs/checks/DoNotMockAutoValue.md.html @@ -113,7 +113,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMockDataClass.md.html b/docs/checks/DoNotMockDataClass.md.html index 102123c..8bb665f 100644 --- a/docs/checks/DoNotMockDataClass.md.html +++ b/docs/checks/DoNotMockDataClass.md.html @@ -113,7 +113,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMockObjectClass.md.html b/docs/checks/DoNotMockObjectClass.md.html index 8cef152..7fe6abb 100644 --- a/docs/checks/DoNotMockObjectClass.md.html +++ b/docs/checks/DoNotMockObjectClass.md.html @@ -113,7 +113,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMockPlatformTypes.md.html b/docs/checks/DoNotMockPlatformTypes.md.html index 31d3d84..468ba64 100644 --- a/docs/checks/DoNotMockPlatformTypes.md.html +++ b/docs/checks/DoNotMockPlatformTypes.md.html @@ -117,7 +117,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMockRecordClass.md.html b/docs/checks/DoNotMockRecordClass.md.html index 7881a56..72aa208 100644 --- a/docs/checks/DoNotMockRecordClass.md.html +++ b/docs/checks/DoNotMockRecordClass.md.html @@ -113,7 +113,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/DoNotMockSealedClass.md.html b/docs/checks/DoNotMockSealedClass.md.html index 46a9f16..7543bf8 100644 --- a/docs/checks/DoNotMockSealedClass.md.html +++ b/docs/checks/DoNotMockSealedClass.md.html @@ -114,7 +114,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/EmptyNavDeepLink.md.html b/docs/checks/EmptyNavDeepLink.md.html index e70ebd3..0c4c575 100644 --- a/docs/checks/EmptyNavDeepLink.md.html +++ b/docs/checks/EmptyNavDeepLink.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) +: [androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html) Affects : Kotlin and Java files @@ -81,16 +81,6 @@ To report a problem with this extracted sample, visit https://issuetracker.google.com/issues/new?component=409828. -(##) Repackaged - -This lint check appears to have been packaged in other artifacts as -well. Issue id's must be unique, so you cannot combine these libraries. -Also defined in: -* EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid (this issue) -* [EmptyNavDeepLink from androidx.navigation:navigation-compose:2.8.0-beta05](EmptyNavDeepLink.md.html) -* [EmptyNavDeepLink from androidx.navigation:navigation-common:2.8.0-beta05](EmptyNavDeepLink-2.md.html) - - (##) Including !!! @@ -99,28 +89,28 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-beta05") +implementation("androidx.navigation:navigation-common:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-beta05' +implementation 'androidx.navigation:navigation-common:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-compose) +implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-compose = "2.8.0-beta05" +navigation-common = "2.8.0-rc01" [libraries] -navigation-compose = { - module = "androidx.navigation:navigation-compose", - version.ref = "navigation-compose" +navigation-common = { + module = "androidx.navigation:navigation-common", + version.ref = "navigation-common" } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 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). +[Additional details about androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/EnsureInitializerMetadata.md.html b/docs/checks/EnsureInitializerMetadata.md.html index 4f279a1..4635dea 100644 --- a/docs/checks/EnsureInitializerMetadata.md.html +++ b/docs/checks/EnsureInitializerMetadata.md.html @@ -23,9 +23,9 @@ Feedback : https://issuetracker.google.com/issues/new?component=823348 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled -: Lint 7.3 and 7.4 +: Lint 8.0 and 8.1 Artifact : [androidx.startup:startup-runtime](androidx_startup_startup-runtime.md.html) @@ -51,17 +51,17 @@ ``` // build.gradle.kts -implementation("androidx.startup:startup-runtime:1.2.0-alpha02") +implementation("androidx.startup:startup-runtime:1.2.0-beta01") // build.gradle -implementation 'androidx.startup:startup-runtime:1.2.0-alpha02' +implementation 'androidx.startup:startup-runtime:1.2.0-beta01' // build.gradle.kts with version catalogs: -implementation(libs.startup-runtime) +implementation(libs.startup.runtime) # libs.versions.toml [versions] -startup-runtime = "1.2.0-alpha02" +startup-runtime = "1.2.0-beta01" [libraries] startup-runtime = { module = "androidx.startup:startup-runtime", @@ -69,7 +69,7 @@ } ``` -1.2.0-alpha02 is the version this documentation was generated from; +1.2.0-beta01 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 a382b1d..c8b1675 100644 --- a/docs/checks/EnsureInitializerNoArgConstr.md.html +++ b/docs/checks/EnsureInitializerNoArgConstr.md.html @@ -23,9 +23,9 @@ Feedback : https://issuetracker.google.com/issues/new?component=823348 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled -: Lint 7.3 and 7.4 +: Lint 8.0 and 8.1 Artifact : [androidx.startup:startup-runtime](androidx_startup_startup-runtime.md.html) @@ -82,17 +82,17 @@ ``` // build.gradle.kts -implementation("androidx.startup:startup-runtime:1.2.0-alpha02") +implementation("androidx.startup:startup-runtime:1.2.0-beta01") // build.gradle -implementation 'androidx.startup:startup-runtime:1.2.0-alpha02' +implementation 'androidx.startup:startup-runtime:1.2.0-beta01' // build.gradle.kts with version catalogs: -implementation(libs.startup-runtime) +implementation(libs.startup.runtime) # libs.versions.toml [versions] -startup-runtime = "1.2.0-alpha02" +startup-runtime = "1.2.0-beta01" [libraries] startup-runtime = { module = "androidx.startup:startup-runtime", @@ -100,7 +100,7 @@ } ``` -1.2.0-alpha02 is the version this documentation was generated from; +1.2.0-beta01 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 4daa83b..2c197e2 100644 --- a/docs/checks/ErroneousLayoutAttribute.md.html +++ b/docs/checks/ErroneousLayoutAttribute.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/ErrorProneDoNotMockUsage.md.html b/docs/checks/ErrorProneDoNotMockUsage.md.html index 856bf42..bab7171 100644 --- a/docs/checks/ErrorProneDoNotMockUsage.md.html +++ b/docs/checks/ErrorProneDoNotMockUsage.md.html @@ -114,7 +114,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ExceptionMessage.md.html b/docs/checks/ExceptionMessage.md.html index 480195c..c5adbc4 100644 --- a/docs/checks/ExceptionMessage.md.html +++ b/docs/checks/ExceptionMessage.md.html @@ -95,7 +95,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ExperimentalAnnotationRetention.md.html b/docs/checks/ExperimentalAnnotationRetention.md.html index c26b1a2..4ca3bfa 100644 --- a/docs/checks/ExperimentalAnnotationRetention.md.html +++ b/docs/checks/ExperimentalAnnotationRetention.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=459778 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -50,17 +50,17 @@ ``` // build.gradle.kts -implementation("androidx.annotation:annotation-experimental:1.4.1") +implementation("androidx.annotation:annotation-experimental:1.5.0-alpha01") // build.gradle -implementation 'androidx.annotation:annotation-experimental:1.4.1' +implementation 'androidx.annotation:annotation-experimental:1.5.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.annotation-experimental) +implementation(libs.annotation.experimental) # libs.versions.toml [versions] -annotation-experimental = "1.4.1" +annotation-experimental = "1.5.0-alpha01" [libraries] annotation-experimental = { module = "androidx.annotation:annotation-experimental", @@ -68,7 +68,7 @@ } ``` -1.4.1 is the version this documentation was generated from; +1.5.0-alpha01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html). diff --git a/docs/checks/ExposedRootPath.md.html b/docs/checks/ExposedRootPath.md.html index b84e381..f273932 100644 --- a/docs/checks/ExposedRootPath.md.html +++ b/docs/checks/ExposedRootPath.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Resource files @@ -82,14 +82,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html b/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html index 8743099..37dfaf4 100644 --- a/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html +++ b/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html @@ -184,17 +184,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.51.1") +implementation("com.google.dagger:dagger-lint:2.52") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.51.1' +implementation 'com.google.dagger:dagger-lint:2.52' // build.gradle.kts with version catalogs: -implementation(libs.dagger-lint) +implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.51.1" +dagger-lint = "2.52" [libraries] dagger-lint = { module = "com.google.dagger:dagger-lint", @@ -202,7 +202,7 @@ } ``` -2.51.1 is the version this documentation was generated from; +2.52 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/FlowOperatorInvokedInComposition.md.html b/docs/checks/FlowOperatorInvokedInComposition.md.html index 3c4ae4e..884273f 100644 --- a/docs/checks/FlowOperatorInvokedInComposition.md.html +++ b/docs/checks/FlowOperatorInvokedInComposition.md.html @@ -238,17 +238,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -256,7 +256,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 a5eb627..46a3a86 100644 --- a/docs/checks/FormalGerman.md.html +++ b/docs/checks/FormalGerman.md.html @@ -99,7 +99,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/FragmentAddMenuProvider.md.html b/docs/checks/FragmentAddMenuProvider.md.html index 1c6a107..50c6a0a 100644 --- a/docs/checks/FragmentAddMenuProvider.md.html +++ b/docs/checks/FragmentAddMenuProvider.md.html @@ -55,17 +55,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -73,7 +73,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 2eab73c..a1290d6 100644 --- a/docs/checks/FragmentBackPressedCallback.md.html +++ b/docs/checks/FragmentBackPressedCallback.md.html @@ -55,17 +55,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -73,7 +73,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 616bbb9..5a6bfdd 100644 --- a/docs/checks/FragmentConstructorInjection.md.html +++ b/docs/checks/FragmentConstructorInjection.md.html @@ -135,7 +135,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/FragmentFieldInjection.md.html b/docs/checks/FragmentFieldInjection.md.html index 8daaaca..b903b22 100644 --- a/docs/checks/FragmentFieldInjection.md.html +++ b/docs/checks/FragmentFieldInjection.md.html @@ -112,7 +112,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/FragmentGradleConfiguration-2.md.html b/docs/checks/FragmentGradleConfiguration-2.md.html index 9e72b4d..a356d25 100644 --- a/docs/checks/FragmentGradleConfiguration-2.md.html +++ b/docs/checks/FragmentGradleConfiguration-2.md.html @@ -81,17 +81,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing-manifest:1.8.1") +implementation("androidx.fragment:fragment-testing-manifest:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment-testing-manifest:1.8.1' +implementation 'androidx.fragment:fragment-testing-manifest:1.8.2' // build.gradle.kts with version catalogs: -implementation(libs.fragment-testing-manifest) +implementation(libs.fragment.testing.manifest) # libs.versions.toml [versions] -fragment-testing-manifest = "1.8.1" +fragment-testing-manifest = "1.8.2" [libraries] fragment-testing-manifest = { module = "androidx.fragment:fragment-testing-manifest", @@ -99,7 +99,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 4fb3a65..d90b8a1 100644 --- a/docs/checks/FragmentGradleConfiguration.md.html +++ b/docs/checks/FragmentGradleConfiguration.md.html @@ -82,17 +82,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing:1.8.1") +implementation("androidx.fragment:fragment-testing:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment-testing:1.8.1' +implementation 'androidx.fragment:fragment-testing:1.8.2' // build.gradle.kts with version catalogs: -implementation(libs.fragment-testing) +implementation(libs.fragment.testing) # libs.versions.toml [versions] -fragment-testing = "1.8.1" +fragment-testing = "1.8.2" [libraries] fragment-testing = { module = "androidx.fragment:fragment-testing", @@ -100,7 +100,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 23c779b..653de1f 100644 --- a/docs/checks/FragmentLiveDataObserve.md.html +++ b/docs/checks/FragmentLiveDataObserve.md.html @@ -55,17 +55,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -73,7 +73,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 174d587..30b5354 100644 --- a/docs/checks/FragmentTagUsage.md.html +++ b/docs/checks/FragmentTagUsage.md.html @@ -89,17 +89,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -107,7 +107,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 b6d9367..41e29fe 100644 --- a/docs/checks/FrequentlyChangedStateReadInComposition.md.html +++ b/docs/checks/FrequentlyChangedStateReadInComposition.md.html @@ -126,17 +126,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-beta05") +implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-beta05' +implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.foundation-android) +implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-beta05" +foundation-android = "1.7.0-rc01" [libraries] foundation-android = { module = "androidx.compose.foundation:foundation-android", @@ -144,7 +144,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 3911c04..b06ec87 100644 --- a/docs/checks/FullyQualifiedResource.md.html +++ b/docs/checks/FullyQualifiedResource.md.html @@ -118,7 +118,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/GradleCompatible.md.html b/docs/checks/GradleCompatible.md.html index 327e461..072a8fd 100644 --- a/docs/checks/GradleCompatible.md.html +++ b/docs/checks/GradleCompatible.md.html @@ -44,11 +44,12 @@ Here is an example of lint warnings produced by this check: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text -build.gradle:5:Error: Version 5.2.08 should not be used; the app can not -be published with this version. Use version 11.1.71 instead. +build.gradle:26:Error: Project depends on +com.google.android.support:wearable:1.2.0, so it must also depend (as a +provided dependency) on com.google.android.wearable:wearable:1.2.0 [GradleCompatible] - compile 'com.google.android.gms:play-services:5.2.08' - --------------------------------------------- + compile 'com.google.android.support:wearable:1.2.0' + ----------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here is the source file referenced above: @@ -57,9 +58,33 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~groovy linenumbers apply plugin: 'android' +android { + compileSdkVersion 34 + buildToolsVersion "19.0.0" + + defaultConfig { + minSdkVersion 7 + targetSdkVersion 17 + versionCode 1 + versionName "1.0" + } + + productFlavors { + free { + } + pro { + } + } +} + dependencies { + compile 'com.android.support:appcompat-v7:+' + freeCompile 'com.google.guava:guava:11.0.2' + compile 'com.android.support:appcompat-v7:13.0.0' + compile 'com.google.android.support:wearable:1.2.0' + compile 'com.android.support:multidex:1.0.0' - compile 'com.google.android.gms:play-services:5.2.08' + androidTestCompile 'com.android.support.test:runner:0.3' } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -68,7 +93,7 @@ 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.testBadPlayServicesVersion`. +found for this lint check, `GradleDetector.testBasic`. To report a problem with this extracted sample, visit https://issuetracker.google.com/issues/new?component=192708. diff --git a/docs/checks/GuavaChecksUsed.md.html b/docs/checks/GuavaChecksUsed.md.html index 44e2279..b0e5699 100644 --- a/docs/checks/GuavaChecksUsed.md.html +++ b/docs/checks/GuavaChecksUsed.md.html @@ -114,7 +114,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/GuavaPreconditionsUsedInKotlin.md.html b/docs/checks/GuavaPreconditionsUsedInKotlin.md.html index 5808ba7..ccf56c0 100644 --- a/docs/checks/GuavaPreconditionsUsedInKotlin.md.html +++ b/docs/checks/GuavaPreconditionsUsedInKotlin.md.html @@ -115,7 +115,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/IdleBatteryChargingConstraints.md.html b/docs/checks/IdleBatteryChargingConstraints.md.html index 21e4c27..575d775 100644 --- a/docs/checks/IdleBatteryChargingConstraints.md.html +++ b/docs/checks/IdleBatteryChargingConstraints.md.html @@ -91,7 +91,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/ImplicitStringPlaceholder.md.html b/docs/checks/ImplicitStringPlaceholder.md.html index b082917..bad338a 100644 --- a/docs/checks/ImplicitStringPlaceholder.md.html +++ b/docs/checks/ImplicitStringPlaceholder.md.html @@ -82,7 +82,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/InclusiveNaming.md.html b/docs/checks/InclusiveNaming.md.html index 8ed088f..7c538f3 100644 --- a/docs/checks/InclusiveNaming.md.html +++ b/docs/checks/InclusiveNaming.md.html @@ -87,7 +87,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/IncorrectChainMarginsUsage.md.html b/docs/checks/IncorrectChainMarginsUsage.md.html index cbecbce..8ee2f5c 100644 --- a/docs/checks/IncorrectChainMarginsUsage.md.html +++ b/docs/checks/IncorrectChainMarginsUsage.md.html @@ -52,17 +52,17 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' // build.gradle.kts with version catalogs: -implementation(libs.constraintlayout-compose) +implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha13" +constraintlayout-compose = "1.1.0-alpha14" [libraries] constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", @@ -70,7 +70,7 @@ } ``` -1.1.0-alpha13 is the version this documentation was generated from; +1.1.0-alpha14 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 d771979..7802ab9 100644 --- a/docs/checks/IncorrectMatchParentUsage.md.html +++ b/docs/checks/IncorrectMatchParentUsage.md.html @@ -51,17 +51,17 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' // build.gradle.kts with version catalogs: -implementation(libs.constraintlayout-compose) +implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha13" +constraintlayout-compose = "1.1.0-alpha14" [libraries] constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", @@ -69,7 +69,7 @@ } ``` -1.1.0-alpha13 is the version this documentation was generated from; +1.1.0-alpha14 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 102071a..e73521a 100644 --- a/docs/checks/IncorrectReferencesDeclaration.md.html +++ b/docs/checks/IncorrectReferencesDeclaration.md.html @@ -114,17 +114,17 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' // build.gradle.kts with version catalogs: -implementation(libs.constraintlayout-compose) +implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha13" +constraintlayout-compose = "1.1.0-alpha14" [libraries] constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", @@ -132,7 +132,7 @@ } ``` -1.1.0-alpha13 is the version this documentation was generated from; +1.1.0-alpha14 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 5687fc5..00b2344 100644 --- a/docs/checks/InjectInJava.md.html +++ b/docs/checks/InjectInJava.md.html @@ -139,7 +139,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/InsecureDnsSdkLevel.md.html b/docs/checks/InsecureDnsSdkLevel.md.html index 5e03046..aa73588 100644 --- a/docs/checks/InsecureDnsSdkLevel.md.html +++ b/docs/checks/InsecureDnsSdkLevel.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Manifest files @@ -82,14 +82,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/InsecurePermissionProtectionLevel.md.html b/docs/checks/InsecurePermissionProtectionLevel.md.html index 9a01745..c0523c9 100644 --- a/docs/checks/InsecurePermissionProtectionLevel.md.html +++ b/docs/checks/InsecurePermissionProtectionLevel.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Manifest files @@ -85,14 +85,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/InvalidAccessibility.md.html b/docs/checks/InvalidAccessibility.md.html index 0b72c1a..9e78258 100644 --- a/docs/checks/InvalidAccessibility.md.html +++ b/docs/checks/InvalidAccessibility.md.html @@ -84,7 +84,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/InvalidColorHexValue.md.html b/docs/checks/InvalidColorHexValue.md.html index d4489dd..d79e282 100644 --- a/docs/checks/InvalidColorHexValue.md.html +++ b/docs/checks/InvalidColorHexValue.md.html @@ -90,17 +90,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-graphics-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-graphics-android) +implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.7.0-beta05" +ui-graphics-android = "1.7.0-rc01" [libraries] ui-graphics-android = { module = "androidx.compose.ui:ui-graphics-android", @@ -108,7 +108,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/InvalidImport.md.html b/docs/checks/InvalidImport.md.html index 944239b..87fff30 100644 --- a/docs/checks/InvalidImport.md.html +++ b/docs/checks/InvalidImport.md.html @@ -83,7 +83,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/InvalidLanguageTagDelimiter.md.html b/docs/checks/InvalidLanguageTagDelimiter.md.html index 08f6339..3196725 100644 --- a/docs/checks/InvalidLanguageTagDelimiter.md.html +++ b/docs/checks/InvalidLanguageTagDelimiter.md.html @@ -83,17 +83,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-text-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-text-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-text-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-text-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-text-android) +implementation(libs.ui.text.android) # libs.versions.toml [versions] -ui-text-android = "1.7.0-beta05" +ui-text-android = "1.7.0-rc01" [libraries] ui-text-android = { module = "androidx.compose.ui:ui-text-android", @@ -101,7 +101,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 fbe39f3..9c50e93 100644 --- a/docs/checks/InvalidPeriodicWorkRequestInterval.md.html +++ b/docs/checks/InvalidPeriodicWorkRequestInterval.md.html @@ -103,7 +103,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/InvalidSetHasFixedSize.md.html b/docs/checks/InvalidSetHasFixedSize.md.html index 6501465..08d45cd 100644 --- a/docs/checks/InvalidSetHasFixedSize.md.html +++ b/docs/checks/InvalidSetHasFixedSize.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=460887 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -110,17 +110,17 @@ ``` // build.gradle.kts -implementation("androidx.recyclerview:recyclerview:1.4.0-alpha01") +implementation("androidx.recyclerview:recyclerview:1.4.0-beta01") // build.gradle -implementation 'androidx.recyclerview:recyclerview:1.4.0-alpha01' +implementation 'androidx.recyclerview:recyclerview:1.4.0-beta01' // build.gradle.kts with version catalogs: implementation(libs.recyclerview) # libs.versions.toml [versions] -recyclerview = "1.4.0-alpha01" +recyclerview = "1.4.0-beta01" [libraries] recyclerview = { module = "androidx.recyclerview:recyclerview", @@ -128,7 +128,7 @@ } ``` -1.4.0-alpha01 is the version this documentation was generated from; +1.4.0-beta01 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 ad4731e..301e7a2 100644 --- a/docs/checks/InvalidSingleLineComment.md.html +++ b/docs/checks/InvalidSingleLineComment.md.html @@ -87,7 +87,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/InvalidString.md.html b/docs/checks/InvalidString.md.html index 3d0baa6..817581c 100644 --- a/docs/checks/InvalidString.md.html +++ b/docs/checks/InvalidString.md.html @@ -84,7 +84,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/JCenter.md.html b/docs/checks/JCenter.md.html index bc99966..313cc6e 100644 --- a/docs/checks/JCenter.md.html +++ b/docs/checks/JCenter.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/JavaOnlyDetector.md.html b/docs/checks/JavaOnlyDetector.md.html index e0a85f3..8a2525e 100644 --- a/docs/checks/JavaOnlyDetector.md.html +++ b/docs/checks/JavaOnlyDetector.md.html @@ -101,7 +101,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/JvmStaticProvidesInObjectDetector.md.html b/docs/checks/JvmStaticProvidesInObjectDetector.md.html index c9e37b1..4bfee81 100644 --- a/docs/checks/JvmStaticProvidesInObjectDetector.md.html +++ b/docs/checks/JvmStaticProvidesInObjectDetector.md.html @@ -193,17 +193,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.51.1") +implementation("com.google.dagger:dagger-lint:2.52") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.51.1' +implementation 'com.google.dagger:dagger-lint:2.52' // build.gradle.kts with version catalogs: -implementation(libs.dagger-lint) +implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.51.1" +dagger-lint = "2.52" [libraries] dagger-lint = { module = "com.google.dagger:dagger-lint", @@ -211,7 +211,7 @@ } ``` -2.51.1 is the version this documentation was generated from; +2.52 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/KotlinPairNotCreated.md.html b/docs/checks/KotlinPairNotCreated.md.html index a242a2a..8ed6be2 100644 --- a/docs/checks/KotlinPairNotCreated.md.html +++ b/docs/checks/KotlinPairNotCreated.md.html @@ -99,7 +99,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/KotlinRequireNotNullUseMessage.md.html b/docs/checks/KotlinRequireNotNullUseMessage.md.html index bcdaff9..f29212c 100644 --- a/docs/checks/KotlinRequireNotNullUseMessage.md.html +++ b/docs/checks/KotlinRequireNotNullUseMessage.md.html @@ -80,7 +80,7 @@ lintChecks 'com.vanniktech:lint-rules-kotlin:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-kotlin) +lintChecks(libs.lint.rules.kotlin) # libs.versions.toml [versions] diff --git a/docs/checks/LaunchDuringComposition.md.html b/docs/checks/LaunchDuringComposition.md.html index 07ffe49..987c660 100644 --- a/docs/checks/LaunchDuringComposition.md.html +++ b/docs/checks/LaunchDuringComposition.md.html @@ -153,7 +153,7 @@ implementation 'androidx.activity:activity-compose:1.10.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.activity-compose) +implementation(libs.activity.compose) # libs.versions.toml [versions] diff --git a/docs/checks/LayoutFileNameMatchesClass.md.html b/docs/checks/LayoutFileNameMatchesClass.md.html index cbf2ca5..b2389ad 100644 --- a/docs/checks/LayoutFileNameMatchesClass.md.html +++ b/docs/checks/LayoutFileNameMatchesClass.md.html @@ -101,7 +101,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/MainScopeUsage.md.html b/docs/checks/MainScopeUsage.md.html index 95cba58..6c93cf2 100644 --- a/docs/checks/MainScopeUsage.md.html +++ b/docs/checks/MainScopeUsage.md.html @@ -93,7 +93,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MatchingMenuId.md.html b/docs/checks/MatchingMenuId.md.html index bf70165..ffeed50 100644 --- a/docs/checks/MatchingMenuId.md.html +++ b/docs/checks/MatchingMenuId.md.html @@ -84,7 +84,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/MatchingViewId.md.html b/docs/checks/MatchingViewId.md.html index 3c7106b..cd954a8 100644 --- a/docs/checks/MatchingViewId.md.html +++ b/docs/checks/MatchingViewId.md.html @@ -82,7 +82,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/MissingAutoVerifyAttribute.md.html b/docs/checks/MissingAutoVerifyAttribute.md.html index 5f158db..d164d77 100644 --- a/docs/checks/MissingAutoVerifyAttribute.md.html +++ b/docs/checks/MissingAutoVerifyAttribute.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Manifest files @@ -88,14 +88,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/MissingClass.md.html b/docs/checks/MissingClass.md.html index f840334..08e8664 100644 --- a/docs/checks/MissingClass.md.html +++ b/docs/checks/MissingClass.md.html @@ -67,7 +67,10 @@ `src/test/pkg/MyView.kt`: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers package test.pkg -abstract class MyView : androic.view.View(null) + +abstract class MyView : I, androic.view.View(null) + +interface I ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `src/test/pkg/NotView.kt`: diff --git a/docs/checks/MissingColorAlphaChannel.md.html b/docs/checks/MissingColorAlphaChannel.md.html index 7e67499..cb7ee3c 100644 --- a/docs/checks/MissingColorAlphaChannel.md.html +++ b/docs/checks/MissingColorAlphaChannel.md.html @@ -106,17 +106,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-graphics-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-graphics-android) +implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.7.0-beta05" +ui-graphics-android = "1.7.0-rc01" [libraries] ui-graphics-android = { module = "androidx.compose.ui:ui-graphics-android", @@ -124,7 +124,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 62ffa0c..44707be 100644 --- a/docs/checks/MissingResourceImportAlias.md.html +++ b/docs/checks/MissingResourceImportAlias.md.html @@ -112,7 +112,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MissingScrollbars.md.html b/docs/checks/MissingScrollbars.md.html index 663a114..549d9ed 100644 --- a/docs/checks/MissingScrollbars.md.html +++ b/docs/checks/MissingScrollbars.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/MissingXmlHeader.md.html b/docs/checks/MissingXmlHeader.md.html index a02ac6f..d7dbef3 100644 --- a/docs/checks/MissingXmlHeader.md.html +++ b/docs/checks/MissingXmlHeader.md.html @@ -81,7 +81,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/ModifierFactoryExtensionFunction.md.html b/docs/checks/ModifierFactoryExtensionFunction.md.html index 505699d..55de527 100644 --- a/docs/checks/ModifierFactoryExtensionFunction.md.html +++ b/docs/checks/ModifierFactoryExtensionFunction.md.html @@ -107,17 +107,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -125,7 +125,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 22d064c..cf9962e 100644 --- a/docs/checks/ModifierFactoryReturnType.md.html +++ b/docs/checks/ModifierFactoryReturnType.md.html @@ -84,17 +84,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -102,7 +102,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 f884be4..444a583 100644 --- a/docs/checks/ModifierFactoryUnreferencedReceiver.md.html +++ b/docs/checks/ModifierFactoryUnreferencedReceiver.md.html @@ -91,17 +91,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -109,7 +109,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 8188c8c..a5ca393 100644 --- a/docs/checks/ModifierNodeInspectableProperties.md.html +++ b/docs/checks/ModifierNodeInspectableProperties.md.html @@ -91,17 +91,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -109,7 +109,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 f3551a4..e74ecff 100644 --- a/docs/checks/ModifierParameter.md.html +++ b/docs/checks/ModifierParameter.md.html @@ -93,17 +93,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -111,7 +111,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 9ea6537..2cc3fe8 100644 --- a/docs/checks/ModuleCompanionObjects.md.html +++ b/docs/checks/ModuleCompanionObjects.md.html @@ -193,17 +193,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.51.1") +implementation("com.google.dagger:dagger-lint:2.52") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.51.1' +implementation 'com.google.dagger:dagger-lint:2.52' // build.gradle.kts with version catalogs: -implementation(libs.dagger-lint) +implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.51.1" +dagger-lint = "2.52" [libraries] dagger-lint = { module = "com.google.dagger:dagger-lint", @@ -211,7 +211,7 @@ } ``` -2.51.1 is the version this documentation was generated from; +2.52 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html b/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html index 6a752a2..3db8935 100644 --- a/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html +++ b/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html @@ -56,17 +56,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.51.1") +implementation("com.google.dagger:dagger-lint:2.52") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.51.1' +implementation 'com.google.dagger:dagger-lint:2.52' // build.gradle.kts with version catalogs: -implementation(libs.dagger-lint) +implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.51.1" +dagger-lint = "2.52" [libraries] dagger-lint = { module = "com.google.dagger:dagger-lint", @@ -74,7 +74,7 @@ } ``` -2.51.1 is the version this documentation was generated from; +2.52 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html b/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html index c2c5789..719b4e4 100644 --- a/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html +++ b/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html @@ -120,7 +120,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html b/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html index 030b108..df6722e 100644 --- a/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html +++ b/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html @@ -114,7 +114,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageArray.md.html b/docs/checks/MoshiUsageArray.md.html index 90c7db1..3446df6 100644 --- a/docs/checks/MoshiUsageArray.md.html +++ b/docs/checks/MoshiUsageArray.md.html @@ -179,7 +179,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageBlankGenerator.md.html b/docs/checks/MoshiUsageBlankGenerator.md.html index e230752..3b50f32 100644 --- a/docs/checks/MoshiUsageBlankGenerator.md.html +++ b/docs/checks/MoshiUsageBlankGenerator.md.html @@ -89,7 +89,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageBlankJsonName.md.html b/docs/checks/MoshiUsageBlankJsonName.md.html index b3f9061..db4d030 100644 --- a/docs/checks/MoshiUsageBlankJsonName.md.html +++ b/docs/checks/MoshiUsageBlankJsonName.md.html @@ -91,7 +91,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageBlankTypeLabel.md.html b/docs/checks/MoshiUsageBlankTypeLabel.md.html index 307de44..e839035 100644 --- a/docs/checks/MoshiUsageBlankTypeLabel.md.html +++ b/docs/checks/MoshiUsageBlankTypeLabel.md.html @@ -89,7 +89,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageClassVisibility.md.html b/docs/checks/MoshiUsageClassVisibility.md.html index d84bfa9..745cd3b 100644 --- a/docs/checks/MoshiUsageClassVisibility.md.html +++ b/docs/checks/MoshiUsageClassVisibility.md.html @@ -100,7 +100,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageDoubleClassAnnotation.md.html b/docs/checks/MoshiUsageDoubleClassAnnotation.md.html index 962f345..458fd06 100644 --- a/docs/checks/MoshiUsageDoubleClassAnnotation.md.html +++ b/docs/checks/MoshiUsageDoubleClassAnnotation.md.html @@ -100,7 +100,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageDoubleTypeLabel.md.html b/docs/checks/MoshiUsageDoubleTypeLabel.md.html index 06c860a..1651f87 100644 --- a/docs/checks/MoshiUsageDoubleTypeLabel.md.html +++ b/docs/checks/MoshiUsageDoubleTypeLabel.md.html @@ -99,7 +99,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageDuplicateJsonName.md.html b/docs/checks/MoshiUsageDuplicateJsonName.md.html index a167154..5113c87 100644 --- a/docs/checks/MoshiUsageDuplicateJsonName.md.html +++ b/docs/checks/MoshiUsageDuplicateJsonName.md.html @@ -107,7 +107,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html b/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html index fc0b177..6f2c4d0 100644 --- a/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html +++ b/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html @@ -59,7 +59,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageEnumCasing.md.html b/docs/checks/MoshiUsageEnumCasing.md.html index 091114e..873c4ea 100644 --- a/docs/checks/MoshiUsageEnumCasing.md.html +++ b/docs/checks/MoshiUsageEnumCasing.md.html @@ -59,7 +59,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html b/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html index b997e09..f0a0db5 100644 --- a/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html +++ b/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html @@ -58,7 +58,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageEnumMissingJsonClass.md.html b/docs/checks/MoshiUsageEnumMissingJsonClass.md.html index a6cab58..5b712c8 100644 --- a/docs/checks/MoshiUsageEnumMissingJsonClass.md.html +++ b/docs/checks/MoshiUsageEnumMissingJsonClass.md.html @@ -59,7 +59,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageEnumMissingUnknown.md.html b/docs/checks/MoshiUsageEnumMissingUnknown.md.html index 85a5a8e..678f10f 100644 --- a/docs/checks/MoshiUsageEnumMissingUnknown.md.html +++ b/docs/checks/MoshiUsageEnumMissingUnknown.md.html @@ -59,7 +59,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html b/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html index 2184f0d..299a485 100644 --- a/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html +++ b/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html @@ -95,7 +95,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html b/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html index dcf3593..46afbb6 100644 --- a/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html +++ b/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html @@ -111,7 +111,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html b/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html index 7709cd1..8e79fa8 100644 --- a/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html +++ b/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html @@ -90,7 +90,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageGenericSealedSubtype.md.html b/docs/checks/MoshiUsageGenericSealedSubtype.md.html index 01e9c48..afd2b18 100644 --- a/docs/checks/MoshiUsageGenericSealedSubtype.md.html +++ b/docs/checks/MoshiUsageGenericSealedSubtype.md.html @@ -100,7 +100,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageInappropriateTypeLabel.md.html b/docs/checks/MoshiUsageInappropriateTypeLabel.md.html index d20c7f2..35b6b18 100644 --- a/docs/checks/MoshiUsageInappropriateTypeLabel.md.html +++ b/docs/checks/MoshiUsageInappropriateTypeLabel.md.html @@ -107,7 +107,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageMissingPrimary.md.html b/docs/checks/MoshiUsageMissingPrimary.md.html index 0b19a92..62bca3f 100644 --- a/docs/checks/MoshiUsageMissingPrimary.md.html +++ b/docs/checks/MoshiUsageMissingPrimary.md.html @@ -91,7 +91,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageMissingTypeLabel.md.html b/docs/checks/MoshiUsageMissingTypeLabel.md.html index 25c989f..5796b07 100644 --- a/docs/checks/MoshiUsageMissingTypeLabel.md.html +++ b/docs/checks/MoshiUsageMissingTypeLabel.md.html @@ -100,7 +100,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageMutableCollections.md.html b/docs/checks/MoshiUsageMutableCollections.md.html index feb2e52..44fe879 100644 --- a/docs/checks/MoshiUsageMutableCollections.md.html +++ b/docs/checks/MoshiUsageMutableCollections.md.html @@ -176,7 +176,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageNonMoshiClassCollection.md.html b/docs/checks/MoshiUsageNonMoshiClassCollection.md.html index 09f1b6a..6f3efff 100644 --- a/docs/checks/MoshiUsageNonMoshiClassCollection.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassCollection.md.html @@ -172,7 +172,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageNonMoshiClassExternal.md.html b/docs/checks/MoshiUsageNonMoshiClassExternal.md.html index 2b2910c..54f4a34 100644 --- a/docs/checks/MoshiUsageNonMoshiClassExternal.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassExternal.md.html @@ -180,7 +180,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageNonMoshiClassInternal.md.html b/docs/checks/MoshiUsageNonMoshiClassInternal.md.html index 4919239..8ba9b35 100644 --- a/docs/checks/MoshiUsageNonMoshiClassInternal.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassInternal.md.html @@ -166,7 +166,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageNonMoshiClassMap.md.html b/docs/checks/MoshiUsageNonMoshiClassMap.md.html index 4fef577..85f139a 100644 --- a/docs/checks/MoshiUsageNonMoshiClassMap.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassMap.md.html @@ -165,7 +165,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html b/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html index cb7d1d5..d650a94 100644 --- a/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html @@ -167,7 +167,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageObject.md.html b/docs/checks/MoshiUsageObject.md.html index 46ccd58..26296d0 100644 --- a/docs/checks/MoshiUsageObject.md.html +++ b/docs/checks/MoshiUsageObject.md.html @@ -91,7 +91,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageParamNeedsInit.md.html b/docs/checks/MoshiUsageParamNeedsInit.md.html index 0df4fea..e0f0858 100644 --- a/docs/checks/MoshiUsageParamNeedsInit.md.html +++ b/docs/checks/MoshiUsageParamNeedsInit.md.html @@ -91,7 +91,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsagePrivateConstructor.md.html b/docs/checks/MoshiUsagePrivateConstructor.md.html index e82c2cc..c561135 100644 --- a/docs/checks/MoshiUsagePrivateConstructor.md.html +++ b/docs/checks/MoshiUsagePrivateConstructor.md.html @@ -96,7 +96,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsagePrivateConstructorProperty.md.html b/docs/checks/MoshiUsagePrivateConstructorProperty.md.html index 070d6fc..8475354 100644 --- a/docs/checks/MoshiUsagePrivateConstructorProperty.md.html +++ b/docs/checks/MoshiUsagePrivateConstructorProperty.md.html @@ -89,7 +89,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageQualifierRetention.md.html b/docs/checks/MoshiUsageQualifierRetention.md.html index da4ff46..f0c6099 100644 --- a/docs/checks/MoshiUsageQualifierRetention.md.html +++ b/docs/checks/MoshiUsageQualifierRetention.md.html @@ -124,7 +124,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageQualifierTarget.md.html b/docs/checks/MoshiUsageQualifierTarget.md.html index 41f19d4..e1626bd 100644 --- a/docs/checks/MoshiUsageQualifierTarget.md.html +++ b/docs/checks/MoshiUsageQualifierTarget.md.html @@ -123,7 +123,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageRedundantJsonName.md.html b/docs/checks/MoshiUsageRedundantJsonName.md.html index 7667575..13069f5 100644 --- a/docs/checks/MoshiUsageRedundantJsonName.md.html +++ b/docs/checks/MoshiUsageRedundantJsonName.md.html @@ -92,7 +92,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageRedundantSiteTarget.md.html b/docs/checks/MoshiUsageRedundantSiteTarget.md.html index 5250fd9..6121f11 100644 --- a/docs/checks/MoshiUsageRedundantSiteTarget.md.html +++ b/docs/checks/MoshiUsageRedundantSiteTarget.md.html @@ -92,7 +92,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageSealedMustBeSealed.md.html b/docs/checks/MoshiUsageSealedMustBeSealed.md.html index 9bc240c..b1c143c 100644 --- a/docs/checks/MoshiUsageSealedMustBeSealed.md.html +++ b/docs/checks/MoshiUsageSealedMustBeSealed.md.html @@ -88,7 +88,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageSerializedName.md.html b/docs/checks/MoshiUsageSerializedName.md.html index 5fb0b24..fc4f51c 100644 --- a/docs/checks/MoshiUsageSerializedName.md.html +++ b/docs/checks/MoshiUsageSerializedName.md.html @@ -116,7 +116,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageSnakeCase.md.html b/docs/checks/MoshiUsageSnakeCase.md.html index 5a38cf5..19f0a33 100644 --- a/docs/checks/MoshiUsageSnakeCase.md.html +++ b/docs/checks/MoshiUsageSnakeCase.md.html @@ -94,7 +94,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageTransientNeedsInit.md.html b/docs/checks/MoshiUsageTransientNeedsInit.md.html index 7f0f9f7..384cf07 100644 --- a/docs/checks/MoshiUsageTransientNeedsInit.md.html +++ b/docs/checks/MoshiUsageTransientNeedsInit.md.html @@ -91,7 +91,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageUnsupportedType.md.html b/docs/checks/MoshiUsageUnsupportedType.md.html index abeef00..dacecd7 100644 --- a/docs/checks/MoshiUsageUnsupportedType.md.html +++ b/docs/checks/MoshiUsageUnsupportedType.md.html @@ -113,7 +113,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageUseData.md.html b/docs/checks/MoshiUsageUseData.md.html index 7c3174e..77e98f4 100644 --- a/docs/checks/MoshiUsageUseData.md.html +++ b/docs/checks/MoshiUsageUseData.md.html @@ -93,7 +93,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MoshiUsageVarProperty.md.html b/docs/checks/MoshiUsageVarProperty.md.html index 9939370..3154db3 100644 --- a/docs/checks/MoshiUsageVarProperty.md.html +++ b/docs/checks/MoshiUsageVarProperty.md.html @@ -90,7 +90,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MultipleAwaitPointerEventScopes.md.html b/docs/checks/MultipleAwaitPointerEventScopes.md.html index 11c810b..14c4e68 100644 --- a/docs/checks/MultipleAwaitPointerEventScopes.md.html +++ b/docs/checks/MultipleAwaitPointerEventScopes.md.html @@ -52,17 +52,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -70,7 +70,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 b734264..7187925 100644 --- a/docs/checks/MustBeInModule.md.html +++ b/docs/checks/MustBeInModule.md.html @@ -132,7 +132,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MustUseNamedParams.md.html b/docs/checks/MustUseNamedParams.md.html index a84d198..ebd29c0 100644 --- a/docs/checks/MustUseNamedParams.md.html +++ b/docs/checks/MustUseNamedParams.md.html @@ -105,7 +105,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/MutableCollectionMutableState.md.html b/docs/checks/MutableCollectionMutableState.md.html index d698dfb..9419831 100644 --- a/docs/checks/MutableCollectionMutableState.md.html +++ b/docs/checks/MutableCollectionMutableState.md.html @@ -146,17 +146,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -164,7 +164,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 24eee09..d3d1fc3 100644 --- a/docs/checks/NamingPattern.md.html +++ b/docs/checks/NamingPattern.md.html @@ -86,7 +86,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/NoCollectCallFound.md.html b/docs/checks/NoCollectCallFound.md.html index 846cb5a..4fedac0 100644 --- a/docs/checks/NoCollectCallFound.md.html +++ b/docs/checks/NoCollectCallFound.md.html @@ -147,7 +147,7 @@ implementation 'androidx.activity:activity-compose:1.10.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.activity-compose) +implementation(libs.activity.compose) # libs.versions.toml [versions] diff --git a/docs/checks/NonResizeableActivity.md.html b/docs/checks/NonResizeableActivity.md.html index 61442ad..e2aab79 100644 --- a/docs/checks/NonResizeableActivity.md.html +++ b/docs/checks/NonResizeableActivity.md.html @@ -1,13 +1,13 @@ -(#) Activity is set to be non resizeable +(#) Activity is set to be non-resizeable -!!! WARNING: Activity is set to be non resizeable +!!! WARNING: Activity is set to be non-resizeable This is a warning. Id : `NonResizeableActivity` Summary -: Activity is set to be non resizeable +: Activity is set to be non-resizeable Severity : Warning Category diff --git a/docs/checks/NullSafeMutableLiveData-2.md.html b/docs/checks/NullSafeMutableLiveData-2.md.html index 42903c6..0392341 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.8.3](NullSafeMutableLiveData.md.html) +* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01](NullSafeMutableLiveData.md.html) * [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01](NullSafeMutableLiveData-2.md.html) @@ -78,7 +78,7 @@ implementation 'androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-livedata-core-ktx) +implementation(libs.lifecycle.livedata.core.ktx) # libs.versions.toml [versions] diff --git a/docs/checks/NullSafeMutableLiveData.md.html b/docs/checks/NullSafeMutableLiveData.md.html index 77eeda8..c782d2a 100644 --- a/docs/checks/NullSafeMutableLiveData.md.html +++ b/docs/checks/NullSafeMutableLiveData.md.html @@ -23,7 +23,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=413132 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -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.8.3](NullSafeMutableLiveData.md.html) +* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01](NullSafeMutableLiveData.md.html) * [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01](NullSafeMutableLiveData-2.md.html) @@ -72,17 +72,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-livedata-core:2.8.3") +implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01") // build.gradle -implementation 'androidx.lifecycle:lifecycle-livedata-core:2.8.3' +implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-livedata-core) +implementation(libs.lifecycle.livedata.core) # libs.versions.toml [versions] -lifecycle-livedata-core = "2.8.3" +lifecycle-livedata-core = "2.9.0-alpha01" [libraries] lifecycle-livedata-core = { module = "androidx.lifecycle:lifecycle-livedata-core", @@ -90,7 +90,7 @@ } ``` -2.8.3 is the version this documentation was generated from; +2.9.0-alpha01 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 ead1b8d..cf97af2 100644 --- a/docs/checks/OpaqueUnitKey.md.html +++ b/docs/checks/OpaqueUnitKey.md.html @@ -98,17 +98,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -116,7 +116,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/ParcelizeFunctionProperty.md.html b/docs/checks/ParcelizeFunctionProperty.md.html index 2229e22..bc560e1 100644 --- a/docs/checks/ParcelizeFunctionProperty.md.html +++ b/docs/checks/ParcelizeFunctionProperty.md.html @@ -144,7 +144,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ProduceStateDoesNotAssignValue.md.html b/docs/checks/ProduceStateDoesNotAssignValue.md.html index fdcb397..0b64ac5 100644 --- a/docs/checks/ProduceStateDoesNotAssignValue.md.html +++ b/docs/checks/ProduceStateDoesNotAssignValue.md.html @@ -121,17 +121,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -139,7 +139,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 0d115b1..7f25d15 100644 --- a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-2.md.html +++ b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-2.md.html @@ -54,9 +54,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales (this issue) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive.md.html) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive-2.md.html) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive-3.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutEdgeContentLayoutResponsive.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutEdgeContentLayoutResponsive-2.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutEdgeContentLayoutResponsive-3.md.html) (##) Including @@ -67,17 +67,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-material:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-material:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-material:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-material:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-material) +implementation(libs.protolayout.material) # libs.versions.toml [versions] -protolayout-material = "1.2.0-beta01" +protolayout-material = "1.2.0" [libraries] protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", @@ -85,7 +85,7 @@ } ``` -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.wear.protolayout:protolayout-material](androidx_wear_protolayout_protolayout-material.md.html). diff --git a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html index 70f369a..f725b06 100644 --- a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html +++ b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive-3.md.html @@ -54,9 +54,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales (this issue) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive.md.html) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive-2.md.html) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive-3.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutEdgeContentLayoutResponsive.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutEdgeContentLayoutResponsive-2.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutEdgeContentLayoutResponsive-3.md.html) (##) Including @@ -67,17 +67,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout:1.2.0' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.2.0-beta01" +protolayout = "1.2.0" [libraries] protolayout = { module = "androidx.wear.protolayout:protolayout", @@ -85,7 +85,7 @@ } ``` -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.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html). diff --git a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html index ef8013a..69daeed 100644 --- a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html +++ b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html @@ -54,9 +54,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales (this issue) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive.md.html) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive-2.md.html) -* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutEdgeContentLayoutResponsive-3.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutEdgeContentLayoutResponsive.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutEdgeContentLayoutResponsive-2.md.html) +* [ProtoLayoutEdgeContentLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutEdgeContentLayoutResponsive-3.md.html) (##) Including @@ -67,17 +67,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-expression:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-expression:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-expression) +implementation(libs.protolayout.expression) # libs.versions.toml [versions] -protolayout-expression = "1.2.0-beta01" +protolayout-expression = "1.2.0" [libraries] protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", @@ -85,7 +85,7 @@ } ``` -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.wear.protolayout:protolayout-expression](androidx_wear_protolayout_protolayout-expression.md.html). diff --git a/docs/checks/ProtoLayoutMinSchema-2.md.html b/docs/checks/ProtoLayoutMinSchema-2.md.html index de868d2..3323d19 100644 --- a/docs/checks/ProtoLayoutMinSchema-2.md.html +++ b/docs/checks/ProtoLayoutMinSchema-2.md.html @@ -136,9 +136,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API (this issue) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutMinSchema.md.html) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutMinSchema-2.md.html) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutMinSchema-3.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutMinSchema.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutMinSchema-2.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutMinSchema-3.md.html) (##) Including @@ -149,17 +149,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-material:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-material:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-material:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-material:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-material) +implementation(libs.protolayout.material) # libs.versions.toml [versions] -protolayout-material = "1.2.0-beta01" +protolayout-material = "1.2.0" [libraries] protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", @@ -167,7 +167,7 @@ } ``` -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.wear.protolayout:protolayout-material](androidx_wear_protolayout_protolayout-material.md.html). diff --git a/docs/checks/ProtoLayoutMinSchema-3.md.html b/docs/checks/ProtoLayoutMinSchema-3.md.html index f962e98..ab34e6f 100644 --- a/docs/checks/ProtoLayoutMinSchema-3.md.html +++ b/docs/checks/ProtoLayoutMinSchema-3.md.html @@ -136,9 +136,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API (this issue) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutMinSchema.md.html) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutMinSchema-2.md.html) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutMinSchema-3.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutMinSchema.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutMinSchema-2.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutMinSchema-3.md.html) (##) Including @@ -149,17 +149,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout:1.2.0' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.2.0-beta01" +protolayout = "1.2.0" [libraries] protolayout = { module = "androidx.wear.protolayout:protolayout", @@ -167,7 +167,7 @@ } ``` -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.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html). diff --git a/docs/checks/ProtoLayoutMinSchema.md.html b/docs/checks/ProtoLayoutMinSchema.md.html index 381cd3c..5329bfa 100644 --- a/docs/checks/ProtoLayoutMinSchema.md.html +++ b/docs/checks/ProtoLayoutMinSchema.md.html @@ -136,9 +136,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API (this issue) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutMinSchema.md.html) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutMinSchema-2.md.html) -* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutMinSchema-3.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutMinSchema.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutMinSchema-2.md.html) +* [ProtoLayoutMinSchema from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutMinSchema-3.md.html) (##) Including @@ -149,17 +149,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-expression:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-expression:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-expression) +implementation(libs.protolayout.expression) # libs.versions.toml [versions] -protolayout-expression = "1.2.0-beta01" +protolayout-expression = "1.2.0" [libraries] protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", @@ -167,7 +167,7 @@ } ``` -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.wear.protolayout:protolayout-expression](androidx_wear_protolayout_protolayout-expression.md.html). diff --git a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html index bc37ebf..5a4c320 100644 --- a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html +++ b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-2.md.html @@ -155,9 +155,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales (this issue) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive.md.html) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive-2.md.html) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive-3.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutPrimaryLayoutResponsive.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutPrimaryLayoutResponsive-2.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutPrimaryLayoutResponsive-3.md.html) (##) Including @@ -168,17 +168,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-material:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-material:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-material:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-material:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-material) +implementation(libs.protolayout.material) # libs.versions.toml [versions] -protolayout-material = "1.2.0-beta01" +protolayout-material = "1.2.0" [libraries] protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", @@ -186,7 +186,7 @@ } ``` -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.wear.protolayout:protolayout-material](androidx_wear_protolayout_protolayout-material.md.html). diff --git a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html index c2a5594..5111f13 100644 --- a/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html +++ b/docs/checks/ProtoLayoutPrimaryLayoutResponsive-3.md.html @@ -155,9 +155,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales (this issue) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive.md.html) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive-2.md.html) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive-3.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutPrimaryLayoutResponsive.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutPrimaryLayoutResponsive-2.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutPrimaryLayoutResponsive-3.md.html) (##) Including @@ -168,17 +168,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout:1.2.0' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.2.0-beta01" +protolayout = "1.2.0" [libraries] protolayout = { module = "androidx.wear.protolayout:protolayout", @@ -186,7 +186,7 @@ } ``` -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.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html). diff --git a/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html b/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html index 32ac4c0..5425bf6 100644 --- a/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html +++ b/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html @@ -155,9 +155,9 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales (this issue) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive.md.html) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive-2.md.html) -* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0-beta01](ProtoLayoutPrimaryLayoutResponsive-3.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-expression:1.2.0](ProtoLayoutPrimaryLayoutResponsive.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout-material:1.2.0](ProtoLayoutPrimaryLayoutResponsive-2.md.html) +* [ProtoLayoutPrimaryLayoutResponsive from androidx.wear.protolayout:protolayout:1.2.0](ProtoLayoutPrimaryLayoutResponsive-3.md.html) (##) Including @@ -168,17 +168,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-expression:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-expression:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-expression) +implementation(libs.protolayout.expression) # libs.versions.toml [versions] -protolayout-expression = "1.2.0-beta01" +protolayout-expression = "1.2.0" [libraries] protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", @@ -186,7 +186,7 @@ } ``` -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.wear.protolayout:protolayout-expression](androidx_wear_protolayout_protolayout-expression.md.html). diff --git a/docs/checks/ProvidesMustNotBeAbstract.md.html b/docs/checks/ProvidesMustNotBeAbstract.md.html index 0542d98..18ad53f 100644 --- a/docs/checks/ProvidesMustNotBeAbstract.md.html +++ b/docs/checks/ProvidesMustNotBeAbstract.md.html @@ -148,7 +148,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/RawColor.md.html b/docs/checks/RawColor.md.html index 89bd3e3..e8ebc35 100644 --- a/docs/checks/RawColor.md.html +++ b/docs/checks/RawColor.md.html @@ -81,7 +81,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/RawDimen.md.html b/docs/checks/RawDimen.md.html index 2aa3d9a..7cf409d 100644 --- a/docs/checks/RawDimen.md.html +++ b/docs/checks/RawDimen.md.html @@ -81,7 +81,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/RawDispatchersUse.md.html b/docs/checks/RawDispatchersUse.md.html index 08c1c7e..31f53e8 100644 --- a/docs/checks/RawDispatchersUse.md.html +++ b/docs/checks/RawDispatchersUse.md.html @@ -122,7 +122,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/RedactedInJavaUsage.md.html b/docs/checks/RedactedInJavaUsage.md.html index 9d564b3..0358660 100644 --- a/docs/checks/RedactedInJavaUsage.md.html +++ b/docs/checks/RedactedInJavaUsage.md.html @@ -150,7 +150,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/RedundantBinds.md.html b/docs/checks/RedundantBinds.md.html index 683a563..1741ccb 100644 --- a/docs/checks/RedundantBinds.md.html +++ b/docs/checks/RedundantBinds.md.html @@ -102,7 +102,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/RememberReturnType.md.html b/docs/checks/RememberReturnType.md.html index 5422532..2d3b127 100644 --- a/docs/checks/RememberReturnType.md.html +++ b/docs/checks/RememberReturnType.md.html @@ -244,17 +244,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -262,7 +262,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 140de45..5ce48d8 100644 --- a/docs/checks/RememberSaveableSaverParameter.md.html +++ b/docs/checks/RememberSaveableSaverParameter.md.html @@ -130,17 +130,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-saveable-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-saveable-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-saveable-android) +implementation(libs.runtime.saveable.android) # libs.versions.toml [versions] -runtime-saveable-android = "1.7.0-beta05" +runtime-saveable-android = "1.7.0-rc01" [libraries] runtime-saveable-android = { module = "androidx.compose.runtime:runtime-saveable-android", @@ -148,7 +148,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 cb4a36d..118952b 100644 --- a/docs/checks/RemoveWorkManagerInitializer.md.html +++ b/docs/checks/RemoveWorkManagerInitializer.md.html @@ -107,7 +107,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html b/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html index 4cd7d45..d179f30 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.8.3](RepeatOnLifecycleWrongUsage.md.html) +* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](RepeatOnLifecycleWrongUsage.md.html) * [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](RepeatOnLifecycleWrongUsage-2.md.html) @@ -66,7 +66,7 @@ implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-ktx) +implementation(libs.lifecycle.runtime.ktx) # libs.versions.toml [versions] diff --git a/docs/checks/RepeatOnLifecycleWrongUsage.md.html b/docs/checks/RepeatOnLifecycleWrongUsage.md.html index 4a6250e..efb0ef3 100644 --- a/docs/checks/RepeatOnLifecycleWrongUsage.md.html +++ b/docs/checks/RepeatOnLifecycleWrongUsage.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=413132 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -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.8.3](RepeatOnLifecycleWrongUsage.md.html) +* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](RepeatOnLifecycleWrongUsage.md.html) * [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](RepeatOnLifecycleWrongUsage-2.md.html) @@ -60,17 +60,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.8.3") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.8.3' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-android) +implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.8.3" +lifecycle-runtime-android = "2.9.0-alpha01" [libraries] lifecycle-runtime-android = { module = "androidx.lifecycle:lifecycle-runtime-android", @@ -78,7 +78,7 @@ } ``` -2.8.3 is the version this documentation was generated from; +2.9.0-alpha01 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/ResAuto.md.html b/docs/checks/ResAuto.md.html index 7974bc0..354c13d 100644 --- a/docs/checks/ResAuto.md.html +++ b/docs/checks/ResAuto.md.html @@ -46,46 +46,34 @@ Here is an example of lint warnings produced by this check: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text -res/layout/customview.xml:5:Error: In Gradle projects, always use -http://schemas.android.com/apk/res-auto for custom attributes [ResAuto] - xmlns:foo="http://schemas.android.com/apk/res/foo" - -------------------------------------- +res/layout/namespace5.xml:3:Error: Suspicious namespace: Did you mean +http://schemas.android.com/apk/res-auto? [ResAuto] + xmlns:app="http://schemas.android.com/apk/auto-res/" + ---------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here is the source file referenced above: -`res/layout/customview.xml`: +`res/layout/namespace5.xml`: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~xml linenumbers -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<androidx.gridlayout.widget.GridLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" - xmlns:other="http://schemas.foo.bar.com/other" - xmlns:foo="http://schemas.android.com/apk/res/foo" - android:id="@+id/newlinear" + xmlns:app="http://schemas.android.com/apk/auto-res/" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" > + app:columnCount="1" + tools:context=".MainActivity" > - <foo.bar.Baz + <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Button1" - foo:misc="Custom attribute" - tools:ignore="HardcodedText" > - </foo.bar.Baz> + app:layout_column="0" + app:layout_gravity="center" + app:layout_row="0" + android:text="Button" /> - <!-- Wrong namespace uri prefix: Don't warn --> - <foo.bar.Baz - android:id="@+id/button1" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="Button1" - other:misc="Custom attribute" - tools:ignore="HardcodedText" > - </foo.bar.Baz> - -</LinearLayout> +</androidx.gridlayout.widget.GridLayout> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can also visit the @@ -93,7 +81,7 @@ 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, `NamespaceDetector.testGradle`. +found for this lint check, `NamespaceDetector.testWrongResAutoUrl`. To report a problem with this extracted sample, visit https://issuetracker.google.com/issues/new?component=192708. diff --git a/docs/checks/ResourcesGetColorCall.md.html b/docs/checks/ResourcesGetColorCall.md.html index 11d44eb..9a9403f 100644 --- a/docs/checks/ResourcesGetColorCall.md.html +++ b/docs/checks/ResourcesGetColorCall.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/ResourcesGetColorStateListCall.md.html b/docs/checks/ResourcesGetColorStateListCall.md.html index c688564..bc4e59b 100644 --- a/docs/checks/ResourcesGetColorStateListCall.md.html +++ b/docs/checks/ResourcesGetColorStateListCall.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/ResourcesGetDrawableCall.md.html b/docs/checks/ResourcesGetDrawableCall.md.html index 6368437..97551f1 100644 --- a/docs/checks/ResourcesGetDrawableCall.md.html +++ b/docs/checks/ResourcesGetDrawableCall.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/RestrictCallsTo.md.html b/docs/checks/RestrictCallsTo.md.html index 767dcd0..1e6cdde 100644 --- a/docs/checks/RestrictCallsTo.md.html +++ b/docs/checks/RestrictCallsTo.md.html @@ -157,7 +157,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/RetrofitUsage.md.html b/docs/checks/RetrofitUsage.md.html index 942faee..ae5d624 100644 --- a/docs/checks/RetrofitUsage.md.html +++ b/docs/checks/RetrofitUsage.md.html @@ -116,7 +116,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ReturnFromAwaitPointerEventScope.md.html b/docs/checks/ReturnFromAwaitPointerEventScope.md.html index 4703bf6..5bbfeeb 100644 --- a/docs/checks/ReturnFromAwaitPointerEventScope.md.html +++ b/docs/checks/ReturnFromAwaitPointerEventScope.md.html @@ -52,17 +52,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -70,7 +70,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/RxJava2DefaultScheduler.md.html b/docs/checks/RxJava2DefaultScheduler.md.html index 965eae9..456bdf3 100644 --- a/docs/checks/RxJava2DefaultScheduler.md.html +++ b/docs/checks/RxJava2DefaultScheduler.md.html @@ -88,7 +88,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] diff --git a/docs/checks/RxJava2DisposableAddAllCall.md.html b/docs/checks/RxJava2DisposableAddAllCall.md.html index f691389..33d88a1 100644 --- a/docs/checks/RxJava2DisposableAddAllCall.md.html +++ b/docs/checks/RxJava2DisposableAddAllCall.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] diff --git a/docs/checks/RxJava2DisposableDisposeCall.md.html b/docs/checks/RxJava2DisposableDisposeCall.md.html index b09ef2b..14c70d3 100644 --- a/docs/checks/RxJava2DisposableDisposeCall.md.html +++ b/docs/checks/RxJava2DisposableDisposeCall.md.html @@ -91,7 +91,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] diff --git a/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html b/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html index 780f9b3..cef67cd 100644 --- a/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html +++ b/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html @@ -181,7 +181,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] diff --git a/docs/checks/RxJava2MissingCompositeDisposableClear.md.html b/docs/checks/RxJava2MissingCompositeDisposableClear.md.html index e6977e5..770dbc2 100644 --- a/docs/checks/RxJava2MissingCompositeDisposableClear.md.html +++ b/docs/checks/RxJava2MissingCompositeDisposableClear.md.html @@ -86,7 +86,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] diff --git a/docs/checks/RxJava2SchedulersFactoryCall.md.html b/docs/checks/RxJava2SchedulersFactoryCall.md.html index 66a0926..7f77d7b 100644 --- a/docs/checks/RxJava2SchedulersFactoryCall.md.html +++ b/docs/checks/RxJava2SchedulersFactoryCall.md.html @@ -90,7 +90,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] diff --git a/docs/checks/RxJava2SubscribeMissingOnError.md.html b/docs/checks/RxJava2SubscribeMissingOnError.md.html index a516dc9..e31835a 100644 --- a/docs/checks/RxJava2SubscribeMissingOnError.md.html +++ b/docs/checks/RxJava2SubscribeMissingOnError.md.html @@ -88,7 +88,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] diff --git a/docs/checks/SensitiveExternalPath.md.html b/docs/checks/SensitiveExternalPath.md.html index d0a1e56..824e721 100644 --- a/docs/checks/SensitiveExternalPath.md.html +++ b/docs/checks/SensitiveExternalPath.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Resource files @@ -81,14 +81,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/SerializableUsage.md.html b/docs/checks/SerializableUsage.md.html index 6f03b34..41331d4 100644 --- a/docs/checks/SerializableUsage.md.html +++ b/docs/checks/SerializableUsage.md.html @@ -91,7 +91,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/ShouldUseStaticImport.md.html b/docs/checks/ShouldUseStaticImport.md.html index 5938343..32fcf92 100644 --- a/docs/checks/ShouldUseStaticImport.md.html +++ b/docs/checks/ShouldUseStaticImport.md.html @@ -84,7 +84,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/SpanMarkPointMissingMask.md.html b/docs/checks/SpanMarkPointMissingMask.md.html index d44e69c..c594981 100644 --- a/docs/checks/SpanMarkPointMissingMask.md.html +++ b/docs/checks/SpanMarkPointMissingMask.md.html @@ -97,7 +97,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/SpecifyForegroundServiceType.md.html b/docs/checks/SpecifyForegroundServiceType.md.html index 0ee78a7..608681f 100644 --- a/docs/checks/SpecifyForegroundServiceType.md.html +++ b/docs/checks/SpecifyForegroundServiceType.md.html @@ -94,7 +94,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/SpecifyJobSchedulerIdRange.md.html b/docs/checks/SpecifyJobSchedulerIdRange.md.html index c0f0086..f7ac633 100644 --- a/docs/checks/SpecifyJobSchedulerIdRange.md.html +++ b/docs/checks/SpecifyJobSchedulerIdRange.md.html @@ -89,7 +89,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/StateFlowValueCalledInComposition.md.html b/docs/checks/StateFlowValueCalledInComposition.md.html index 7ddab33..5a224bc 100644 --- a/docs/checks/StateFlowValueCalledInComposition.md.html +++ b/docs/checks/StateFlowValueCalledInComposition.md.html @@ -194,17 +194,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -212,7 +212,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 7579831..00cdb2d 100644 --- a/docs/checks/StrandhoggVulnerable.md.html +++ b/docs/checks/StrandhoggVulnerable.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Manifest files @@ -82,14 +82,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/StringNotCapitalized.md.html b/docs/checks/StringNotCapitalized.md.html index 54a3f2c..538f0d4 100644 --- a/docs/checks/StringNotCapitalized.md.html +++ b/docs/checks/StringNotCapitalized.md.html @@ -82,7 +82,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/SubscribeOnMain.md.html b/docs/checks/SubscribeOnMain.md.html index 7a3ae4f..694ff44 100644 --- a/docs/checks/SubscribeOnMain.md.html +++ b/docs/checks/SubscribeOnMain.md.html @@ -116,7 +116,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/SuperfluousMarginDeclaration.md.html b/docs/checks/SuperfluousMarginDeclaration.md.html index 80789b9..8c88e2b 100644 --- a/docs/checks/SuperfluousMarginDeclaration.md.html +++ b/docs/checks/SuperfluousMarginDeclaration.md.html @@ -86,7 +86,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/SuperfluousNameSpace.md.html b/docs/checks/SuperfluousNameSpace.md.html index 0f813a6..c434738 100644 --- a/docs/checks/SuperfluousNameSpace.md.html +++ b/docs/checks/SuperfluousNameSpace.md.html @@ -84,7 +84,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/SuperfluousPaddingDeclaration.md.html b/docs/checks/SuperfluousPaddingDeclaration.md.html index b768dc2..b282d44 100644 --- a/docs/checks/SuperfluousPaddingDeclaration.md.html +++ b/docs/checks/SuperfluousPaddingDeclaration.md.html @@ -86,7 +86,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/SuspiciousCompositionLocalModifierRead.md.html b/docs/checks/SuspiciousCompositionLocalModifierRead.md.html index 469539c..340beb9 100644 --- a/docs/checks/SuspiciousCompositionLocalModifierRead.md.html +++ b/docs/checks/SuspiciousCompositionLocalModifierRead.md.html @@ -116,17 +116,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -134,7 +134,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 d41e0e7..109152d 100644 --- a/docs/checks/SuspiciousModifierThen.md.html +++ b/docs/checks/SuspiciousModifierThen.md.html @@ -106,17 +106,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -124,7 +124,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/TapjackingVulnerable.md.html b/docs/checks/TapjackingVulnerable.md.html index e048b81..2a722df 100644 --- a/docs/checks/TapjackingVulnerable.md.html +++ b/docs/checks/TapjackingVulnerable.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Resource files @@ -82,14 +82,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/TestLifecycleOwnerInCoroutine.md.html b/docs/checks/TestLifecycleOwnerInCoroutine.md.html index d943129..13ad82c 100644 --- a/docs/checks/TestLifecycleOwnerInCoroutine.md.html +++ b/docs/checks/TestLifecycleOwnerInCoroutine.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=413132 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -99,17 +99,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-testing:2.8.3") +implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.8.3' +implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-testing) +implementation(libs.lifecycle.runtime.testing) # libs.versions.toml [versions] -lifecycle-runtime-testing = "2.8.3" +lifecycle-runtime-testing = "2.9.0-alpha01" [libraries] lifecycle-runtime-testing = { module = "androidx.lifecycle:lifecycle-runtime-testing", @@ -117,7 +117,7 @@ } ``` -2.8.3 is the version this documentation was generated from; +2.9.0-alpha01 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 eaa9f74..0375814 100644 --- a/docs/checks/TestManifestGradleConfiguration.md.html +++ b/docs/checks/TestManifestGradleConfiguration.md.html @@ -111,17 +111,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-test-manifest:1.7.0-beta05") +implementation("androidx.compose.ui:ui-test-manifest:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-test-manifest:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-test-manifest:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-test-manifest) +implementation(libs.ui.test.manifest) # libs.versions.toml [versions] -ui-test-manifest = "1.7.0-beta05" +ui-test-manifest = "1.7.0-rc01" [libraries] ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", @@ -129,7 +129,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/Todo.md.html b/docs/checks/Todo.md.html index 98c6381..3b9b9be 100644 --- a/docs/checks/Todo.md.html +++ b/docs/checks/Todo.md.html @@ -82,7 +82,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/UnintendedExposedUrl.md.html b/docs/checks/UnintendedExposedUrl.md.html index 4557cf2..4324994 100644 --- a/docs/checks/UnintendedExposedUrl.md.html +++ b/docs/checks/UnintendedExposedUrl.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Resource files @@ -97,14 +97,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/UnintendedPrivateIpAddress.md.html b/docs/checks/UnintendedPrivateIpAddress.md.html index 947529a..f846172 100644 --- a/docs/checks/UnintendedPrivateIpAddress.md.html +++ b/docs/checks/UnintendedPrivateIpAddress.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Resource files @@ -98,14 +98,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/UnnecessaryComposedModifier.md.html b/docs/checks/UnnecessaryComposedModifier.md.html index 5b27f1c..c9ad4b9 100644 --- a/docs/checks/UnnecessaryComposedModifier.md.html +++ b/docs/checks/UnnecessaryComposedModifier.md.html @@ -112,17 +112,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -130,7 +130,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/UnnecessaryRequiredFeature.md.html b/docs/checks/UnnecessaryRequiredFeature.md.html new file mode 100644 index 0000000..67b647e --- /dev/null +++ b/docs/checks/UnnecessaryRequiredFeature.md.html @@ -0,0 +1,205 @@ + +(#) Potentially unnecessary required feature + +!!! WARNING: Potentially unnecessary required feature + This is a warning. + +Id +: `UnnecessaryRequiredFeature` +Summary +: Potentially unnecessary required feature +Severity +: Warning +Category +: Usability +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Affects +: Manifest files +Editing +: This check runs on the fly in the IDE editor +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/RequiredFeatureDetector.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/RequiredFeatureDetectorTest.kt) +Copyright Year +: 2024 + +Avoid unnecessarily requiring features that may exclude your app from +being served onto devices it might otherwise support. + +Consider whether your application can function adequately without +restrictive feature requirements by setting these to +`android:required="false"`. By doing so, you can increase the +availability of your app to a broader set of devices, including tablets, +laptops and cars. + +!!! 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 +AndroidManifest.xml:7:Warning: Consider whether this feature +(android.hardware.camera.autofocus) really is required for the app to +function; you can set android:required="false" to indicate that the +feature is used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.camera.autofocus" /> <!-- WARN 1 --> + --------------------------------- +AndroidManifest.xml:8:Warning: Consider whether this feature +(android.hardware.camera.flash) really is required for the app to +function; you can set android:required="false" to indicate that the +feature is used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.camera.flash" /> <!-- WARN 2 --> + ----------------------------- +AndroidManifest.xml:9:Warning: Consider whether this feature +(android.hardware.location.gps) really is required for the app to +function; you can set android:required="false" to indicate that the +feature is used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.location.gps" /> <!-- WARN 3 --> + ----------------------------- +AndroidManifest.xml:10:Warning: Consider whether this feature +(android.hardware.nfc) really is required for the app to function; you +can set android:required="false" to indicate that the feature is used +but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.nfc" /> <!-- WARN 4 --> + -------------------- +AndroidManifest.xml:11:Warning: Consider whether this feature +(android.hardware.nfc.hce) really is required for the app to function; +you can set android:required="false" to indicate that the feature is +used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.nfc.hce" /> <!-- WARN 5 --> + ------------------------ +AndroidManifest.xml:12:Warning: Consider whether this feature +(android.hardware.telephony) really is required for the app to function; +you can set android:required="false" to indicate that the feature is +used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.telephony" /> <!-- WARN 6 --> + -------------------------- +AndroidManifest.xml:13:Warning: Consider whether this feature +(android.hardware.touchscreen) really is required for the app to +function; you can set android:required="false" to indicate that the +feature is used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.touchscreen" /> <!-- WARN 7 --> + ---------------------------- +AndroidManifest.xml:14:Warning: Consider whether this feature +(android.hardware.touchscreen.multitouch) really is required for the app +to function; you can set android:required="false" to indicate that the +feature is used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.touchscreen.multitouch" /> <!-- WARN 8 --> + --------------------------------------- +AndroidManifest.xml:15:Warning: Consider whether this feature +(android.hardware.screen.portrait) really is required for the app to +function; you can set android:required="false" to indicate that the +feature is used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.screen.portrait" /> <!-- WARN 9 --> + -------------------------------- +AndroidManifest.xml:16:Warning: Consider whether this feature +(android.hardware.screen.portrait) really is required for the app to +function; you can set android:required="false" to indicate that the +feature is used but not required [UnnecessaryRequiredFeature] + <uses-feature android:name="android.hardware.screen.portrait" android:required="true" /> <!-- WARN 10 --> + -------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`AndroidManifest.xml`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~xml linenumbers +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="test.pkg"> + + <uses-sdk android:minSdkVersion="28" /> + <uses-feature android:name="android.hardware.type.watch" /> <!-- OK --> + <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> <!-- OK --> + <uses-feature android:name="android.hardware.camera.autofocus" /> <!-- WARN 1 --> + <uses-feature android:name="android.hardware.camera.flash" /> <!-- WARN 2 --> + <uses-feature android:name="android.hardware.location.gps" /> <!-- WARN 3 --> + <uses-feature android:name="android.hardware.nfc" /> <!-- WARN 4 --> + <uses-feature android:name="android.hardware.nfc.hce" /> <!-- WARN 5 --> + <uses-feature android:name="android.hardware.telephony" /> <!-- WARN 6 --> + <uses-feature android:name="android.hardware.touchscreen" /> <!-- WARN 7 --> + <uses-feature android:name="android.hardware.touchscreen.multitouch" /> <!-- WARN 8 --> + <uses-feature android:name="android.hardware.screen.portrait" /> <!-- WARN 9 --> + <uses-feature android:name="android.hardware.screen.portrait" android:required="true" /> <!-- WARN 10 --> + + <application + android:icon="@drawable/ic_launcher" + android:label="@string/app_name" > + <activity + android:name=".BytecodeTestsActivity" + android:label="@string/app_name" > + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + </application> + +</manifest> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +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/RequiredFeatureDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Adding the suppression attribute + `tools:ignore="UnnecessaryRequiredFeature"` on the problematic XML + element (or one of its enclosing elements). You may also need to add + the following namespace declaration on the root element in the XML + file if it's not already there: + `xmlns:tools="http://schemas.android.com/tools"`. + + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <manifest xmlns:tools="http://schemas.android.com/tools"> + ... + <uses-feature tools:ignore="UnnecessaryRequiredFeature" .../> + ... + </manifest> + ``` + +* 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="UnnecessaryRequiredFeature" 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 'UnnecessaryRequiredFeature' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore UnnecessaryRequiredFeature ...` + ``` + +* 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/UnrememberedAnimatable.md.html b/docs/checks/UnrememberedAnimatable.md.html index 25a2012..ed946ed 100644 --- a/docs/checks/UnrememberedAnimatable.md.html +++ b/docs/checks/UnrememberedAnimatable.md.html @@ -249,17 +249,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-beta05") +implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-beta05' +implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.animation-core-android) +implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-beta05" +animation-core-android = "1.7.0-rc01" [libraries] animation-core-android = { module = "androidx.compose.animation:animation-core-android", @@ -267,7 +267,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 new file mode 100644 index 0000000..ab55269 --- /dev/null +++ b/docs/checks/UnrememberedGetBackStackEntry.md.html @@ -0,0 +1,259 @@ + +(#) Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key + +!!! ERROR: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key + This is an error. + +Id +: `UnrememberedGetBackStackEntry` +Summary +: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Jetpack Navigation Compose +Identifier +: androidx.navigation.compose +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.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:/navigation/navigation-compose-lint/src/main/java/androidx/navigation/compose/lint/UnrememberedGetBackStackEntryDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-compose-lint/src/test/java/androidx/navigation/compose/lint/UnrememberedGetBackStackEntryDetectorTest.kt) +Copyright Year +: 2021 + +Backstack entries retrieved during composition need to be `remember`ed, +otherwise they will be retrieved from the navController again, and be +changed. You also need to pass in a key of a NavBackStackEntry to the +remember call or they will not be updated properly. If this is in a +`NavGraphBuilder.composable` scope, you should pass in the lambda's +given entry as the key. Either hoist the state to an object that is not +created during composition, or wrap the state in a call to `remember` +with a `NavBackStackEntry` as a key. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/com/example/{.kt:10:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + navController.getBackStackEntry("test") + ----------------- +src/com/example/{.kt:15:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + navController.getBackStackEntry("test") + ----------------- +src/com/example/{.kt:20:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + navController.getBackStackEntry("test") + ----------------- +src/com/example/{.kt:30:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + navController.getBackStackEntry("test") + ----------------- +src/com/example/{.kt:34:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + navController.getBackStackEntry("test") + ----------------- +src/com/example/{.kt:41:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + navController.getBackStackEntry("test") + ----------------- +src/com/example/{.kt:46:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + navController.getBackStackEntry("test") + ----------------- +src/com/example/{.kt:54:Error: Calling getBackStackEntry during +composition without using remember with a NavBackStackEntry key +[UnrememberedGetBackStackEntry] + val entry = navController.getBackStackEntry("test") + ----------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`src/com/example/{.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package com.example + +import androidx.compose.runtime.* +import androidx.navigation.NavController + +@Composable +fun Test() { + val navController = NavController() + navController.getBackStackEntry("test") +} + +val lambda = @Composable { + val navController = NavController() + navController.getBackStackEntry("test") +} + +val lambda2: @Composable () -> Unit = { + val navController = NavController() + navController.getBackStackEntry("test") +} + +@Composable +fun LambdaParameter(content: @Composable () -> Unit) {} + +@Composable +fun Test2() { + LambdaParameter(content = { + val navController = NavController() + navController.getBackStackEntry("test") + }) + LambdaParameter { + val navController = NavController() + navController.getBackStackEntry("test") + } +} + +fun test3() { + val localLambda1 = @Composable { + val navController = NavController() + navController.getBackStackEntry("test") + } + + val localLambda2: @Composable () -> Unit = { + val navController = NavController() + navController.getBackStackEntry("test") + } +} + +@Composable +fun Test4() { + val localObject = object { + val navController = NavController() + val entry = navController.getBackStackEntry("test") + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/navigation/navigation-compose-lint/src/test/java/androidx/navigation/compose/lint/UnrememberedGetBackStackEntryDetectorTest.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, `UnrememberedGetBackStackEntryDetector.notRemembered`. +To report a problem with this extracted sample, contact +Jetpack Navigation Compose. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.navigation:navigation-compose:2.8.0-rc01") + +// build.gradle +implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' + +// build.gradle.kts with version catalogs: +implementation(libs.navigation.compose) + +# libs.versions.toml +[versions] +navigation-compose = "2.8.0-rc01" +[libraries] +navigation-compose = { + module = "androidx.navigation:navigation-compose", + version.ref = "navigation-compose" +} +``` + +2.8.0-rc01 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). +(##) 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("UnrememberedGetBackStackEntry") + fun method() { + getBackStackEntry(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("UnrememberedGetBackStackEntry") + void method() { + getBackStackEntry(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection UnrememberedGetBackStackEntry + 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="UnrememberedGetBackStackEntry" 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 'UnrememberedGetBackStackEntry' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore UnrememberedGetBackStackEntry ...` + ``` + +* 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/UnrememberedMutableInteractionSource.md.html b/docs/checks/UnrememberedMutableInteractionSource.md.html index fffa030..ac924f1 100644 --- a/docs/checks/UnrememberedMutableInteractionSource.md.html +++ b/docs/checks/UnrememberedMutableInteractionSource.md.html @@ -160,17 +160,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-beta05") +implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-beta05' +implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.foundation-android) +implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-beta05" +foundation-android = "1.7.0-rc01" [libraries] foundation-android = { module = "androidx.compose.foundation:foundation-android", @@ -178,7 +178,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 025dcba..706bf65 100644 --- a/docs/checks/UnrememberedMutableState.md.html +++ b/docs/checks/UnrememberedMutableState.md.html @@ -270,17 +270,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -288,7 +288,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 6e8d4e2..7d4dd2d 100644 --- a/docs/checks/UnsafeCryptoAlgorithmUsage.md.html +++ b/docs/checks/UnsafeCryptoAlgorithmUsage.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Kotlin and Java files @@ -90,14 +90,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/UnsafeLifecycleWhenUsage-2.md.html b/docs/checks/UnsafeLifecycleWhenUsage-2.md.html index d4891ce..95d09ae 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.8.3](UnsafeLifecycleWhenUsage.md.html) +* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](UnsafeLifecycleWhenUsage.md.html) * [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](UnsafeLifecycleWhenUsage-2.md.html) @@ -75,7 +75,7 @@ implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-ktx) +implementation(libs.lifecycle.runtime.ktx) # libs.versions.toml [versions] diff --git a/docs/checks/UnsafeLifecycleWhenUsage.md.html b/docs/checks/UnsafeLifecycleWhenUsage.md.html index 2d5659f..2bf8432 100644 --- a/docs/checks/UnsafeLifecycleWhenUsage.md.html +++ b/docs/checks/UnsafeLifecycleWhenUsage.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=413132 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -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.8.3](UnsafeLifecycleWhenUsage.md.html) +* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01](UnsafeLifecycleWhenUsage.md.html) * [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](UnsafeLifecycleWhenUsage-2.md.html) @@ -69,17 +69,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.8.3") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.8.3' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-android) +implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.8.3" +lifecycle-runtime-android = "2.9.0-alpha01" [libraries] lifecycle-runtime-android = { module = "androidx.lifecycle:lifecycle-runtime-android", @@ -87,7 +87,7 @@ } ``` -2.8.3 is the version this documentation was generated from; +2.9.0-alpha01 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 7c4d7c7..b242687 100644 --- a/docs/checks/UnsafeOptInUsageError.md.html +++ b/docs/checks/UnsafeOptInUsageError.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=459778 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -70,17 +70,17 @@ ``` // build.gradle.kts -implementation("androidx.annotation:annotation-experimental:1.4.1") +implementation("androidx.annotation:annotation-experimental:1.5.0-alpha01") // build.gradle -implementation 'androidx.annotation:annotation-experimental:1.4.1' +implementation 'androidx.annotation:annotation-experimental:1.5.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.annotation-experimental) +implementation(libs.annotation.experimental) # libs.versions.toml [versions] -annotation-experimental = "1.4.1" +annotation-experimental = "1.5.0-alpha01" [libraries] annotation-experimental = { module = "androidx.annotation:annotation-experimental", @@ -88,7 +88,7 @@ } ``` -1.4.1 is the version this documentation was generated from; +1.5.0-alpha01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html). diff --git a/docs/checks/UnsafeOptInUsageWarning.md.html b/docs/checks/UnsafeOptInUsageWarning.md.html index d79ac4d..7b2ed2d 100644 --- a/docs/checks/UnsafeOptInUsageWarning.md.html +++ b/docs/checks/UnsafeOptInUsageWarning.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=459778 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -70,17 +70,17 @@ ``` // build.gradle.kts -implementation("androidx.annotation:annotation-experimental:1.4.1") +implementation("androidx.annotation:annotation-experimental:1.5.0-alpha01") // build.gradle -implementation 'androidx.annotation:annotation-experimental:1.4.1' +implementation 'androidx.annotation:annotation-experimental:1.5.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.annotation-experimental) +implementation(libs.annotation.experimental) # libs.versions.toml [versions] -annotation-experimental = "1.4.1" +annotation-experimental = "1.5.0-alpha01" [libraries] annotation-experimental = { module = "androidx.annotation:annotation-experimental", @@ -88,7 +88,7 @@ } ``` -1.4.1 is the version this documentation was generated from; +1.5.0-alpha01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html). diff --git a/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html b/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html index 19b6fd9..a61090b 100644 --- a/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html +++ b/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html @@ -49,17 +49,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -67,7 +67,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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/UnsanitizedFilenameFromContentProvider.md.html b/docs/checks/UnsanitizedFilenameFromContentProvider.md.html new file mode 100644 index 0000000..8b8a5ae --- /dev/null +++ b/docs/checks/UnsanitizedFilenameFromContentProvider.md.html @@ -0,0 +1,160 @@ + +(#) Trusting ContentProvider filenames without any sanitization + +!!! WARNING: Trusting ContentProvider filenames without any sanitization + This is a warning. + +Id +: `UnsanitizedFilenameFromContentProvider` +Summary +: Trusting ContentProvider filenames without any sanitization +Severity +: Warning +Category +: Security +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +See +: https://developer.android.com/privacy-and-security/risks/untrustworthy-contentprovider-provided-filename +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/UnsafeFilenameDetector.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/UnsafeFilenameDetectorTest.kt) +Copyright Year +: 2024 + + When communicating between applications with files, the server app can +provide the client app with a maliciously constructed filename. The +client app should never trust this filename and should either sanitize +it or completely discard it. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/TestClass.java:10:Warning: Using fileName is unsafe as it is a +filename obtained directly from a ContentProvider. You should sanitize +it before using it for creating a File. +[UnsanitizedFilenameFromContentProvider] + File fileObject = new File("./", fileName); + -------- +src/TestClass.kt:10:Warning: Using fileName is unsafe as it is a +filename obtained directly from a ContentProvider. You should sanitize +it before using it for creating a File. +[UnsanitizedFilenameFromContentProvider] + val fileObject = File("./", fileName) + -------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here are the relevant source files: + +`src/TestClass.java`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~java linenumbers +import android.database.Cursor; +import android.provider.OpenableColumns; +import java.io.File; + +class TestClass { + private void trustProvidedFilename_shouldWarn(Cursor cursor) { + int id = cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME); + String fileName = cursor.getString(id); + + File fileObject = new File("./", fileName); + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +`src/TestClass.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +import android.database.Cursor +import android.provider.OpenableColumns +import java.io.File + +class TestClass { + private fun trustProvidedFilename_shouldWarn(cursor: Cursor) { + val id = cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME) + val fileName = cursor.getString(id) + + val fileObject = File("./", fileName) + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +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/UnsafeFilenameDetectorTest.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 suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("UnsanitizedFilenameFromContentProvider") + fun method() { + getColumnIndex(...) + } + ``` + + or + + ```java + // Java + @SuppressWarnings("UnsanitizedFilenameFromContentProvider") + void method() { + getColumnIndex(...); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection UnsanitizedFilenameFromContentProvider + 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="UnsanitizedFilenameFromContentProvider" 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 'UnsanitizedFilenameFromContentProvider' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore UnsanitizedFilenameFromContentProvider ...` + ``` + +* 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/UnsupportedLayoutAttribute.md.html b/docs/checks/UnsupportedLayoutAttribute.md.html index a274917..a9469a2 100644 --- a/docs/checks/UnsupportedLayoutAttribute.md.html +++ b/docs/checks/UnsupportedLayoutAttribute.md.html @@ -85,7 +85,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/UnusedBoxWithConstraintsScope.md.html b/docs/checks/UnusedBoxWithConstraintsScope.md.html index a079c87..02b3e99 100644 --- a/docs/checks/UnusedBoxWithConstraintsScope.md.html +++ b/docs/checks/UnusedBoxWithConstraintsScope.md.html @@ -101,17 +101,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-beta05") +implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-beta05' +implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.foundation-android) +implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-beta05" +foundation-android = "1.7.0-rc01" [libraries] foundation-android = { module = "androidx.compose.foundation:foundation-android", @@ -119,7 +119,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 c44a7d9..76ea4a6 100644 --- a/docs/checks/UnusedContentLambdaTargetStateParameter.md.html +++ b/docs/checks/UnusedContentLambdaTargetStateParameter.md.html @@ -181,17 +181,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.7.0-beta05") +implementation("androidx.compose.animation:animation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.7.0-beta05' +implementation 'androidx.compose.animation:animation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.animation-android) +implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.7.0-beta05" +animation-android = "1.7.0-rc01" [libraries] animation-android = { module = "androidx.compose.animation:animation-android", @@ -199,7 +199,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 07f13de..6fd65c0 100644 --- a/docs/checks/UnusedCrossfadeTargetStateParameter.md.html +++ b/docs/checks/UnusedCrossfadeTargetStateParameter.md.html @@ -115,17 +115,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.7.0-beta05") +implementation("androidx.compose.animation:animation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.7.0-beta05' +implementation 'androidx.compose.animation:animation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.animation-android) +implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.7.0-beta05" +animation-android = "1.7.0-rc01" [libraries] animation-android = { module = "androidx.compose.animation:animation-android", @@ -133,7 +133,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 82c8614..9f33cd1 100644 --- a/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html +++ b/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html @@ -111,17 +111,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.3.0-beta04") +implementation("androidx.compose.material3:material3-android:1.3.0-rc01") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.3.0-beta04' +implementation 'androidx.compose.material3:material3-android:1.3.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.material3-android) +implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.3.0-beta04" +material3-android = "1.3.0-rc01" [libraries] material3-android = { module = "androidx.compose.material3:material3-android", @@ -129,7 +129,7 @@ } ``` -1.3.0-beta04 is the version this documentation was generated from; +1.3.0-rc01 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 8e2688b..f3cfe48 100644 --- a/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html +++ b/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html @@ -111,17 +111,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.7.0-beta05") +implementation("androidx.compose.material:material-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.material:material-android:1.7.0-beta05' +implementation 'androidx.compose.material:material-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.material-android) +implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.7.0-beta05" +material-android = "1.7.0-rc01" [libraries] material-android = { module = "androidx.compose.material:material-android", @@ -129,7 +129,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 837cab9..d8a9fea 100644 --- a/docs/checks/UnusedMergeAttributes.md.html +++ b/docs/checks/UnusedMergeAttributes.md.html @@ -86,7 +86,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/UnusedTransitionTargetStateParameter.md.html b/docs/checks/UnusedTransitionTargetStateParameter.md.html index b70a806..c872862 100644 --- a/docs/checks/UnusedTransitionTargetStateParameter.md.html +++ b/docs/checks/UnusedTransitionTargetStateParameter.md.html @@ -118,17 +118,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-beta05") +implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-beta05' +implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.animation-core-android) +implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-beta05" +animation-core-android = "1.7.0-rc01" [libraries] animation-core-android = { module = "androidx.compose.animation:animation-core-android", @@ -136,7 +136,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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/UseGetLayoutInflater.md.html b/docs/checks/UseGetLayoutInflater.md.html index c806cee..aa20227 100644 --- a/docs/checks/UseGetLayoutInflater.md.html +++ b/docs/checks/UseGetLayoutInflater.md.html @@ -99,17 +99,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -117,7 +117,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 9ecf6f7..14b46dc 100644 --- a/docs/checks/UseOfNonLambdaOffsetOverload.md.html +++ b/docs/checks/UseOfNonLambdaOffsetOverload.md.html @@ -50,17 +50,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-beta05") +implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-beta05' +implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.foundation-android) +implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-beta05" +foundation-android = "1.7.0-rc01" [libraries] foundation-android = { module = "androidx.compose.foundation:foundation-android", @@ -68,7 +68,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 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 503c69f..46fd337 100644 --- a/docs/checks/UseRequireInsteadOfGet.md.html +++ b/docs/checks/UseRequireInsteadOfGet.md.html @@ -165,17 +165,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -183,7 +183,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 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 24b6843..b25dc59 100644 --- a/docs/checks/UseRxSetProgress2.md.html +++ b/docs/checks/UseRxSetProgress2.md.html @@ -95,7 +95,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/UseSdkSuppress.md.html b/docs/checks/UseSdkSuppress.md.html index b4f6adf..ec1f09b 100644 --- a/docs/checks/UseSdkSuppress.md.html +++ b/docs/checks/UseSdkSuppress.md.html @@ -13,7 +13,7 @@ Category : Correctness Platform -: Any +: Android Vendor : Android Open Source Project Feedback diff --git a/docs/checks/UsingMaterialAndMaterial3Libraries.md.html b/docs/checks/UsingMaterialAndMaterial3Libraries.md.html index 70aad30..a7ec2f0 100644 --- a/docs/checks/UsingMaterialAndMaterial3Libraries.md.html +++ b/docs/checks/UsingMaterialAndMaterial3Libraries.md.html @@ -87,17 +87,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.3.0-beta04") +implementation("androidx.compose.material3:material3-android:1.3.0-rc01") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.3.0-beta04' +implementation 'androidx.compose.material3:material3-android:1.3.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.material3-android) +implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.3.0-beta04" +material3-android = "1.3.0-rc01" [libraries] material3-android = { module = "androidx.compose.material3:material3-android", @@ -105,7 +105,7 @@ } ``` -1.3.0-beta04 is the version this documentation was generated from; +1.3.0-rc01 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/ViewModelConstructorInComposable.md.html b/docs/checks/ViewModelConstructorInComposable.md.html new file mode 100644 index 0000000..ed326e8 --- /dev/null +++ b/docs/checks/ViewModelConstructorInComposable.md.html @@ -0,0 +1,138 @@ + +(#) Constructing a view model in a composable + +!!! ERROR: Constructing a view model in a composable + This is an error. + +Id +: `ViewModelConstructorInComposable` +Summary +: Constructing a view model in a composable +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lifecycle +Feedback +: https://issuetracker.google.com/issues/new?component=413132 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: [androidx.lifecycle:lifecycle-viewmodel-compose-android](androidx_lifecycle_lifecycle-viewmodel-compose-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:/lifecycle/lifecycle-viewmodel-compose-lint/src/main/java/androidx/lifecycle/lint/ViewModelConstructorInComposableDetector.kt) +Copyright Year +: 2024 + +View models should not be constructed directly inside composable +functions. Instead you should use the lifecycle viewmodel +extensionfunctions e.g. viewModel() + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01") + +// build.gradle +implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01' + +// build.gradle.kts with version catalogs: +implementation(libs.lifecycle.viewmodel.compose.android) + +# libs.versions.toml +[versions] +lifecycle-viewmodel-compose-android = "2.9.0-alpha01" +[libraries] +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; +there may be newer versions available. + +[Additional details about androidx.lifecycle:lifecycle-viewmodel-compose-android](androidx_lifecycle_lifecycle-viewmodel-compose-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("ViewModelConstructorInComposable") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("ViewModelConstructorInComposable") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection ViewModelConstructorInComposable + 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="ViewModelConstructorInComposable" 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 'ViewModelConstructorInComposable' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore ViewModelConstructorInComposable ...` + ``` + +* 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/VulnerableCryptoAlgorithm.md.html b/docs/checks/VulnerableCryptoAlgorithm.md.html index 51b191d..c79b845 100644 --- a/docs/checks/VulnerableCryptoAlgorithm.md.html +++ b/docs/checks/VulnerableCryptoAlgorithm.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Kotlin and Java files @@ -87,14 +87,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/WeakPrng.md.html b/docs/checks/WeakPrng.md.html index f16340c..ed05e23 100644 --- a/docs/checks/WeakPrng.md.html +++ b/docs/checks/WeakPrng.md.html @@ -25,7 +25,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: [google.android-security-lints](google_android-security-lints.md.html) +: [com.android.security.lint:lint](com_android_security_lint_lint.md.html) Affects : Kotlin and Java files @@ -91,14 +91,30 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' -[Additional details about google.android-security-lints](google_android-security-lints.md.html). +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about com.android.security.lint:lint](com_android_security_lint_lint.md.html). (##) Suppressing You can suppress false positives using one of the following mechanisms: diff --git a/docs/checks/WorkerHasAPublicModifier.md.html b/docs/checks/WorkerHasAPublicModifier.md.html index 90aa5a1..f7a7e52 100644 --- a/docs/checks/WorkerHasAPublicModifier.md.html +++ b/docs/checks/WorkerHasAPublicModifier.md.html @@ -88,7 +88,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] diff --git a/docs/checks/WrongAnnotationOrder.md.html b/docs/checks/WrongAnnotationOrder.md.html index 7989b9e..5408c37 100644 --- a/docs/checks/WrongAnnotationOrder.md.html +++ b/docs/checks/WrongAnnotationOrder.md.html @@ -87,7 +87,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/WrongConstraintLayoutUsage.md.html b/docs/checks/WrongConstraintLayoutUsage.md.html index 2687326..14cbca6 100644 --- a/docs/checks/WrongConstraintLayoutUsage.md.html +++ b/docs/checks/WrongConstraintLayoutUsage.md.html @@ -86,7 +86,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/WrongDrawableName.md.html b/docs/checks/WrongDrawableName.md.html index c815c5a..5993318 100644 --- a/docs/checks/WrongDrawableName.md.html +++ b/docs/checks/WrongDrawableName.md.html @@ -82,7 +82,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/WrongGlobalIconColor.md.html b/docs/checks/WrongGlobalIconColor.md.html index b5d92ba..fc11cf7 100644 --- a/docs/checks/WrongGlobalIconColor.md.html +++ b/docs/checks/WrongGlobalIconColor.md.html @@ -91,7 +91,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/WrongLayoutName.md.html b/docs/checks/WrongLayoutName.md.html index 362b41b..ac8ba62 100644 --- a/docs/checks/WrongLayoutName.md.html +++ b/docs/checks/WrongLayoutName.md.html @@ -80,7 +80,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/WrongMenuIdFormat.md.html b/docs/checks/WrongMenuIdFormat.md.html index 55ae207..640d044 100644 --- a/docs/checks/WrongMenuIdFormat.md.html +++ b/docs/checks/WrongMenuIdFormat.md.html @@ -83,7 +83,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/WrongNavigateRouteType.md.html b/docs/checks/WrongNavigateRouteType.md.html index f09c0d4..736cfcd 100644 --- a/docs/checks/WrongNavigateRouteType.md.html +++ b/docs/checks/WrongNavigateRouteType.md.html @@ -152,17 +152,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-beta05") +implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-beta05' +implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-runtime) +implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-beta05" +navigation-runtime = "2.8.0-rc01" [libraries] navigation-runtime = { module = "androidx.navigation:navigation-runtime", @@ -170,7 +170,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 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 7c1a5d3..c221a56 100644 --- a/docs/checks/WrongRequiresOptIn.md.html +++ b/docs/checks/WrongRequiresOptIn.md.html @@ -21,7 +21,7 @@ Feedback : https://issuetracker.google.com/issues/new?component=459778 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact @@ -52,17 +52,17 @@ ``` // build.gradle.kts -implementation("androidx.annotation:annotation-experimental:1.4.1") +implementation("androidx.annotation:annotation-experimental:1.5.0-alpha01") // build.gradle -implementation 'androidx.annotation:annotation-experimental:1.4.1' +implementation 'androidx.annotation:annotation-experimental:1.5.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.annotation-experimental) +implementation(libs.annotation.experimental) # libs.versions.toml [versions] -annotation-experimental = "1.4.1" +annotation-experimental = "1.5.0-alpha01" [libraries] annotation-experimental = { module = "androidx.annotation:annotation-experimental", @@ -70,7 +70,7 @@ } ``` -1.4.1 is the version this documentation was generated from; +1.5.0-alpha01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html). diff --git a/docs/checks/WrongResourceImportAlias.md.html b/docs/checks/WrongResourceImportAlias.md.html index 2d8e8c6..715822c 100644 --- a/docs/checks/WrongResourceImportAlias.md.html +++ b/docs/checks/WrongResourceImportAlias.md.html @@ -113,7 +113,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/WrongStartDestinationType-2.md.html b/docs/checks/WrongStartDestinationType-2.md.html index b3b59fc..01a9dce 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-beta05](WrongStartDestinationType.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-common:2.8.0-beta05](WrongStartDestinationType-3.md.html) +* [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) (##) Including @@ -153,17 +153,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-beta05") +implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-beta05' +implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-runtime) +implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-beta05" +navigation-runtime = "2.8.0-rc01" [libraries] navigation-runtime = { module = "androidx.navigation:navigation-runtime", @@ -171,7 +171,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 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 b2b859f..f4426d0 100644 --- a/docs/checks/WrongStartDestinationType-3.md.html +++ b/docs/checks/WrongStartDestinationType-3.md.html @@ -135,14 +135,14 @@ To report a problem with this extracted sample, visit https://issuetracker.google.com/issues/new?component=409828. -(##) Repackaged +(##) Conflicts -This lint check appears to have been packaged in other artifacts as -well. Issue id's must be unique, so you cannot combine these libraries. -Also defined in: +This issue id has also been used by other, unrelated lint checks. Issue +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-beta05](WrongStartDestinationType.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-common:2.8.0-beta05](WrongStartDestinationType-3.md.html) +* [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) (##) Including @@ -153,17 +153,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.8.0-beta05") +implementation("androidx.navigation:navigation-common:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-common:2.8.0-beta05' +implementation 'androidx.navigation:navigation-common:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-common) +implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.8.0-beta05" +navigation-common = "2.8.0-rc01" [libraries] navigation-common = { module = "androidx.navigation:navigation-common", @@ -171,7 +171,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 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 4da96ff..3d495ba 100644 --- a/docs/checks/WrongStartDestinationType.md.html +++ b/docs/checks/WrongStartDestinationType.md.html @@ -15,11 +15,9 @@ Platform : Any Vendor -: Android Open Source Project +: Jetpack Navigation Compose Identifier -: androidx.navigation.common -Feedback -: https://issuetracker.google.com/issues/new?component=409828 +: androidx.navigation.compose Min : Lint 8.0 and 8.1 Compiled @@ -132,17 +130,17 @@ The above example was automatically extracted from the first unit test found for this lint check, `WrongStartDestinationTypeDetector.testNavGraphBuilder_classHasError`. -To report a problem with this extracted sample, visit -https://issuetracker.google.com/issues/new?component=409828. +To report a problem with this extracted sample, contact +Jetpack Navigation Compose. -(##) Repackaged +(##) Conflicts -This lint check appears to have been packaged in other artifacts as -well. Issue id's must be unique, so you cannot combine these libraries. -Also defined in: +This issue id has also been used by other, unrelated lint checks. Issue +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-beta05](WrongStartDestinationType.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-common:2.8.0-beta05](WrongStartDestinationType-3.md.html) +* [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) (##) Including @@ -153,17 +151,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-beta05") +implementation("androidx.navigation:navigation-compose:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-beta05' +implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-compose) +implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.8.0-beta05" +navigation-compose = "2.8.0-rc01" [libraries] navigation-compose = { module = "androidx.navigation:navigation-compose", @@ -171,7 +169,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 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). @@ -186,7 +184,7 @@ // Kotlin @Suppress("WrongStartDestinationType") fun method() { - navigation(...) + NavHost(...) } ``` @@ -196,7 +194,7 @@ // Java @SuppressWarnings("WrongStartDestinationType") void method() { - navigation(...); + NavHost(...); } ``` diff --git a/docs/checks/WrongTestMethodName.md.html b/docs/checks/WrongTestMethodName.md.html index 7933bcb..78a84b9 100644 --- a/docs/checks/WrongTestMethodName.md.html +++ b/docs/checks/WrongTestMethodName.md.html @@ -87,7 +87,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/WrongViewIdFormat.md.html b/docs/checks/WrongViewIdFormat.md.html index cb3e7d7..9f2bf18 100644 --- a/docs/checks/WrongViewIdFormat.md.html +++ b/docs/checks/WrongViewIdFormat.md.html @@ -82,7 +82,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/XmlSpacing.md.html b/docs/checks/XmlSpacing.md.html index 45daf88..b121d51 100644 --- a/docs/checks/XmlSpacing.md.html +++ b/docs/checks/XmlSpacing.md.html @@ -98,7 +98,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] diff --git a/docs/checks/androidx_activity_activity-compose.md.html b/docs/checks/androidx_activity_activity-compose.md.html index 23f948d..4fec04f 100644 --- a/docs/checks/androidx_activity_activity-compose.md.html +++ b/docs/checks/androidx_activity_activity-compose.md.html @@ -40,7 +40,7 @@ implementation 'androidx.activity:activity-compose:1.10.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.activity-compose) +implementation(libs.activity.compose) # libs.versions.toml [versions] @@ -67,6 +67,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| | 1.10.0-alpha01|2024/06/26| 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| | 1.8.1|2023/11/15| 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 40e80a0..a13c403 100644 --- a/docs/checks/androidx_activity_activity.md.html +++ b/docs/checks/androidx_activity_activity.md.html @@ -69,6 +69,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| | 1.10.0-alpha01|2024/06/26| 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| | 1.8.1|2023/11/15| 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 150091c..e955af8 100644 --- a/docs/checks/androidx_annotation_annotation-experimental.md.html +++ b/docs/checks/androidx_annotation_annotation-experimental.md.html @@ -16,11 +16,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=459778 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.annotation:annotation-experimental:1.4.1 +: androidx.annotation:annotation-experimental:1.5.0-alpha01 (##) Included Issues @@ -39,17 +39,17 @@ ``` // build.gradle.kts -implementation("androidx.annotation:annotation-experimental:1.4.1") +implementation("androidx.annotation:annotation-experimental:1.5.0-alpha01") // build.gradle -implementation 'androidx.annotation:annotation-experimental:1.4.1' +implementation 'androidx.annotation:annotation-experimental:1.5.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.annotation-experimental) +implementation(libs.annotation.experimental) # libs.versions.toml [versions] -annotation-experimental = "1.4.1" +annotation-experimental = "1.5.0-alpha01" [libraries] annotation-experimental = { module = "androidx.annotation:annotation-experimental", @@ -57,7 +57,7 @@ } ``` -1.4.1 is the version this documentation was generated from; +1.5.0-alpha01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -75,6 +75,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.5.0-alpha01|2024/08/21| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.4.1|2024/04/03| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.4.0|2024/01/24| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.3.1|2023/06/21| 4| Yes| 7.3 and 7.4| 7.0| @@ -85,6 +86,6 @@ Compatibility Problems: -[^1]: com.android.tools.lint.client.api.AnnotationLookup: org.jetbrains.uast.UAnnotation findRealAnnotation(com.intellij.psi.PsiAnnotation,com.intellij.psi.PsiClass,org.jetbrains.uast.UElement) is not available +[^1]: com.android.tools.lint.client.api.AnnotationLookup#AnnotationLookup() is not available \ No newline at end of file diff --git a/docs/checks/androidx_compose_animation_animation-android.md.html b/docs/checks/androidx_compose_animation_animation-android.md.html index 275d811..cedd461 100644 --- a/docs/checks/androidx_compose_animation_animation-android.md.html +++ b/docs/checks/androidx_compose_animation_animation-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.animation:animation-android:1.7.0-beta05 +: androidx.compose.animation:animation-android:1.7.0-rc01 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.7.0-beta05") +implementation("androidx.compose.animation:animation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.7.0-beta05' +implementation 'androidx.compose.animation:animation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.animation-android) +implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.7.0-beta05" +animation-android = "1.7.0-rc01" [libraries] animation-android = { module = "androidx.compose.animation:animation-android", @@ -52,7 +52,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,9 @@ | 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| 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 35df4c5..5f52f9a 100644 --- a/docs/checks/androidx_compose_animation_animation-core-android.md.html +++ b/docs/checks/androidx_compose_animation_animation-core-android.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.animation:animation-core-android:1.7.0-beta05 +: androidx.compose.animation:animation-core-android:1.7.0-rc01 (##) Included Issues @@ -36,17 +36,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.7.0-beta05") +implementation("androidx.compose.animation:animation-core-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.7.0-beta05' +implementation 'androidx.compose.animation:animation-core-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.animation-core-android) +implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.7.0-beta05" +animation-core-android = "1.7.0-rc01" [libraries] animation-core-android = { module = "androidx.compose.animation:animation-core-android", @@ -54,7 +54,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -69,6 +69,9 @@ | 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| diff --git a/docs/checks/androidx_compose_foundation_foundation-android.md.html b/docs/checks/androidx_compose_foundation_foundation-android.md.html index 9bf0fa4..d016f67 100644 --- a/docs/checks/androidx_compose_foundation_foundation-android.md.html +++ b/docs/checks/androidx_compose_foundation_foundation-android.md.html @@ -19,7 +19,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.foundation:foundation-android:1.7.0-beta05 +: androidx.compose.foundation:foundation-android:1.7.0-rc01 (##) Included Issues @@ -38,17 +38,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.7.0-beta05") +implementation("androidx.compose.foundation:foundation-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.7.0-beta05' +implementation 'androidx.compose.foundation:foundation-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.foundation-android) +implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.7.0-beta05" +foundation-android = "1.7.0-rc01" [libraries] foundation-android = { module = "androidx.compose.foundation:foundation-android", @@ -56,7 +56,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -72,6 +72,9 @@ | 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| diff --git a/docs/checks/androidx_compose_material3_material3-android.md.html b/docs/checks/androidx_compose_material3_material3-android.md.html index 0256c66..4599b31 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-beta04 +: androidx.compose.material3:material3-android:1.3.0-rc01 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.3.0-beta04") +implementation("androidx.compose.material3:material3-android:1.3.0-rc01") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.3.0-beta04' +implementation 'androidx.compose.material3:material3-android:1.3.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.material3-android) +implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.3.0-beta04" +material3-android = "1.3.0-rc01" [libraries] material3-android = { module = "androidx.compose.material3:material3-android", @@ -52,7 +52,7 @@ } ``` -1.3.0-beta04 is the version this documentation was generated from; +1.3.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,8 @@ | 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| diff --git a/docs/checks/androidx_compose_material_material-android.md.html b/docs/checks/androidx_compose_material_material-android.md.html index aebbfda..5fafce2 100644 --- a/docs/checks/androidx_compose_material_material-android.md.html +++ b/docs/checks/androidx_compose_material_material-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.material:material-android:1.7.0-beta05 +: androidx.compose.material:material-android:1.7.0-rc01 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.7.0-beta05") +implementation("androidx.compose.material:material-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.material:material-android:1.7.0-beta05' +implementation 'androidx.compose.material:material-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.material-android) +implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.7.0-beta05" +material-android = "1.7.0-rc01" [libraries] material-android = { module = "androidx.compose.material:material-android", @@ -52,7 +52,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,9 @@ | 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| diff --git a/docs/checks/androidx_compose_runtime_runtime-android.md.html b/docs/checks/androidx_compose_runtime_runtime-android.md.html index b966934..d5d27f0 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-beta05 +: androidx.compose.runtime:runtime-android:1.7.0-rc01 (##) Included Issues @@ -47,17 +47,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-android) +implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.7.0-beta05" +runtime-android = "1.7.0-rc01" [libraries] runtime-android = { module = "androidx.compose.runtime:runtime-android", @@ -65,7 +65,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -84,6 +84,9 @@ | 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| 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 226e433..9911e74 100644 --- a/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html +++ b/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.runtime:runtime-saveable-android:1.7.0-beta05 +: androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-saveable-android:1.7.0-beta05") +implementation("androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.runtime:runtime-saveable-android:1.7.0-beta05' +implementation 'androidx.compose.runtime:runtime-saveable-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.runtime-saveable-android) +implementation(libs.runtime.saveable.android) # libs.versions.toml [versions] -runtime-saveable-android = "1.7.0-beta05" +runtime-saveable-android = "1.7.0-rc01" [libraries] runtime-saveable-android = { module = "androidx.compose.runtime:runtime-saveable-android", @@ -51,7 +51,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +64,9 @@ | 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| diff --git a/docs/checks/androidx_compose_ui_ui-android.md.html b/docs/checks/androidx_compose_ui_ui-android.md.html index d753d46..a766730 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-beta05 +: androidx.compose.ui:ui-android:1.7.0-rc01 (##) Included Issues @@ -43,17 +43,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-android) +implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.7.0-beta05" +ui-android = "1.7.0-rc01" [libraries] ui-android = { module = "androidx.compose.ui:ui-android", @@ -61,7 +61,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -82,6 +82,9 @@ | 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| 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 9faa5c9..03e2319 100644 --- a/docs/checks/androidx_compose_ui_ui-graphics-android.md.html +++ b/docs/checks/androidx_compose_ui_ui-graphics-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.ui:ui-graphics-android:1.7.0-beta05 +: androidx.compose.ui:ui-graphics-android:1.7.0-rc01 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-graphics-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-graphics-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-graphics-android) +implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.7.0-beta05" +ui-graphics-android = "1.7.0-rc01" [libraries] ui-graphics-android = { module = "androidx.compose.ui:ui-graphics-android", @@ -52,7 +52,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,9 @@ | 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| 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 d61ba98..e273970 100644 --- a/docs/checks/androidx_compose_ui_ui-test-manifest.md.html +++ b/docs/checks/androidx_compose_ui_ui-test-manifest.md.html @@ -19,7 +19,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.ui:ui-test-manifest:1.7.0-beta05 +: androidx.compose.ui:ui-test-manifest:1.7.0-rc01 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-test-manifest:1.7.0-beta05") +implementation("androidx.compose.ui:ui-test-manifest:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-test-manifest:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-test-manifest:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-test-manifest) +implementation(libs.ui.test.manifest) # libs.versions.toml [versions] -ui-test-manifest = "1.7.0-beta05" +ui-test-manifest = "1.7.0-rc01" [libraries] ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", @@ -53,7 +53,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,9 @@ | 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| 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 8bfc3b1..8c6bf80 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-beta05 +: androidx.compose.ui:ui-text-android:1.7.0-rc01 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-text-android:1.7.0-beta05") +implementation("androidx.compose.ui:ui-text-android:1.7.0-rc01") // build.gradle -implementation 'androidx.compose.ui:ui-text-android:1.7.0-beta05' +implementation 'androidx.compose.ui:ui-text-android:1.7.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.ui-text-android) +implementation(libs.ui.text.android) # libs.versions.toml [versions] -ui-text-android = "1.7.0-beta05" +ui-text-android = "1.7.0-rc01" [libraries] ui-text-android = { module = "androidx.compose.ui:ui-text-android", @@ -51,7 +51,7 @@ } ``` -1.7.0-beta05 is the version this documentation was generated from; +1.7.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +64,9 @@ | 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| diff --git a/docs/checks/androidx_constraintlayout_constraintlayout-compose.md.html b/docs/checks/androidx_constraintlayout_constraintlayout-compose.md.html index b4d4933..d66cf90 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-alpha13 +: androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14 (##) Included Issues @@ -36,17 +36,17 @@ ``` // build.gradle.kts -implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13") +implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14") // build.gradle -implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha13' +implementation 'androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha14' // build.gradle.kts with version catalogs: -implementation(libs.constraintlayout-compose) +implementation(libs.constraintlayout.compose) # libs.versions.toml [versions] -constraintlayout-compose = "1.1.0-alpha13" +constraintlayout-compose = "1.1.0-alpha14" [libraries] constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", @@ -54,7 +54,7 @@ } ``` -1.1.0-alpha13 is the version this documentation was generated from; +1.1.0-alpha14 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -69,6 +69,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 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| | 1.1.0-alpha11|2023/07/26| 3| Yes| 8.0 and 8.1|8.0 and 8.1| @@ -80,6 +81,6 @@ Compatibility Problems: -[^1]: org.jetbrains.uast.visitor.UastVisitor.DefaultImpls: boolean visitWhileExpression(org.jetbrains.uast.visitor.UastVisitor,org.jetbrains.uast.UWhileExpression) is not available +[^1]: org.jetbrains.uast.visitor.UastVisitor.DefaultImpls#afterVisitAnnotation(org.jetbrains.uast.visitor.UastVisitor,org.jetbrains.uast.UAnnotation): void is not available \ No newline at end of file diff --git a/docs/checks/androidx_fragment_fragment-testing-manifest.md.html b/docs/checks/androidx_fragment_fragment-testing-manifest.md.html index 42a0104..fef3b1a 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.1 +: androidx.fragment:fragment-testing-manifest:1.8.2 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing-manifest:1.8.1") +implementation("androidx.fragment:fragment-testing-manifest:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment-testing-manifest:1.8.1' +implementation 'androidx.fragment:fragment-testing-manifest:1.8.2' // build.gradle.kts with version catalogs: -implementation(libs.fragment-testing-manifest) +implementation(libs.fragment.testing.manifest) # libs.versions.toml [versions] -fragment-testing-manifest = "1.8.1" +fragment-testing-manifest = "1.8.2" [libraries] fragment-testing-manifest = { module = "androidx.fragment:fragment-testing-manifest", @@ -53,7 +53,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 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| | 1.7.1|2024/05/14| 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 a64ddaf..2dc853f 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.1 +: androidx.fragment:fragment-testing:1.8.2 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment-testing:1.8.1") +implementation("androidx.fragment:fragment-testing:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment-testing:1.8.1' +implementation 'androidx.fragment:fragment-testing:1.8.2' // build.gradle.kts with version catalogs: -implementation(libs.fragment-testing) +implementation(libs.fragment.testing) # libs.versions.toml [versions] -fragment-testing = "1.8.1" +fragment-testing = "1.8.2" [libraries] fragment-testing = { module = "androidx.fragment:fragment-testing", @@ -51,7 +51,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +64,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 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| | 1.7.1|2024/05/14| 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 b1a1d60..71d9519 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.1 +: androidx.fragment:fragment:1.8.2 (##) Included Issues @@ -44,17 +44,17 @@ ``` // build.gradle.kts -implementation("androidx.fragment:fragment:1.8.1") +implementation("androidx.fragment:fragment:1.8.2") // build.gradle -implementation 'androidx.fragment:fragment:1.8.1' +implementation 'androidx.fragment:fragment:1.8.2' // build.gradle.kts with version catalogs: implementation(libs.fragment) # libs.versions.toml [versions] -fragment = "1.8.1" +fragment = "1.8.2" [libraries] fragment = { module = "androidx.fragment:fragment", @@ -62,7 +62,7 @@ } ``` -1.8.1 is the version this documentation was generated from; +1.8.2 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -80,6 +80,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 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| | 1.7.1|2024/05/14| 9| Yes| 8.0 and 8.1|8.0 and 8.1| @@ -113,6 +114,6 @@ Compatibility Problems: -[^1]: org.jetbrains.uast.kotlin.KotlinUClass: org.jetbrains.kotlin.psi.KtClassOrObject getKtClass() is not accessible +[^1]: org.jetbrains.uast.kotlin.KotlinUClass#getKtClass(): org.jetbrains.kotlin.psi.KtClassOrObject is not accessible \ No newline at end of file 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 7bcae9c..038ef71 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-livedata-core-ktx.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-livedata-core-ktx.md.html @@ -39,7 +39,7 @@ implementation 'androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-livedata-core-ktx) +implementation(libs.lifecycle.livedata.core.ktx) # libs.versions.toml [versions] diff --git a/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html b/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html index b3dd1cf..f467ad8 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=413132 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-livedata-core:2.8.3 +: androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-livedata-core:2.8.3") +implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01") // build.gradle -implementation 'androidx.lifecycle:lifecycle-livedata-core:2.8.3' +implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-livedata-core) +implementation(libs.lifecycle.livedata.core) # libs.versions.toml [versions] -lifecycle-livedata-core = "2.8.3" +lifecycle-livedata-core = "2.9.0-alpha01" [libraries] lifecycle-livedata-core = { module = "androidx.lifecycle:lifecycle-livedata-core", @@ -51,7 +51,7 @@ } ``` -2.8.3 is the version this documentation was generated from; +2.9.0-alpha01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +64,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha01|2024/08/07| 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| | 2.8.1|2024/05/29| 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 fefd80e..5c96c1c 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=413132 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-runtime-android:2.8.3 +: androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.8.3") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.8.3' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-android) +implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.8.3" +lifecycle-runtime-android = "2.9.0-alpha01" [libraries] lifecycle-runtime-android = { module = "androidx.lifecycle:lifecycle-runtime-android", @@ -52,7 +52,7 @@ } ``` -2.8.3 is the version this documentation was generated from; +2.9.0-alpha01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha01|2024/08/07| 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| | 2.8.1|2024/05/29| 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 c3b5939..2e1ef6d 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-ktx.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-ktx.md.html @@ -40,7 +40,7 @@ implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-ktx) +implementation(libs.lifecycle.runtime.ktx) # libs.versions.toml [versions] diff --git a/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html b/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html index f888af0..d4f14f1 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=413132 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-runtime-testing:2.8.3 +: androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-testing:2.8.3") +implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.8.3' +implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha01' // build.gradle.kts with version catalogs: -implementation(libs.lifecycle-runtime-testing) +implementation(libs.lifecycle.runtime.testing) # libs.versions.toml [versions] -lifecycle-runtime-testing = "2.8.3" +lifecycle-runtime-testing = "2.9.0-alpha01" [libraries] lifecycle-runtime-testing = { module = "androidx.lifecycle:lifecycle-runtime-testing", @@ -51,7 +51,7 @@ } ``` -2.8.3 is the version this documentation was generated from; +2.9.0-alpha01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +64,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 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| | 2.8.1|2024/05/29| 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 new file mode 100644 index 0000000..aa7dc29 --- /dev/null +++ b/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html @@ -0,0 +1,58 @@ +(#) androidx.lifecycle:lifecycle-viewmodel-compose-android + +Name +: Lifecycle ViewModel Compose +Description +: Compose integration with Lifecycle ViewModel +License +: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) +Vendor +: Android Open Source Project +Identifier +: androidx.lifecycle +Feedback +: https://issuetracker.google.com/issues/new?component=413132 +Min +: Lint 8.0 and 8.1 +Compiled +: Lint 8.0 and 8.1 +Artifact +: androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01 + +(##) Included Issues + +|Issue Id |Issue Description | +|----------------------------------------------------------------------------|-----------------------------------------| +|[ViewModelConstructorInComposable](ViewModelConstructorInComposable.md.html)|Constructing a view model in a composable| + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01") + +// build.gradle +implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha01' + +// build.gradle.kts with version catalogs: +implementation(libs.lifecycle.viewmodel.compose.android) + +# libs.versions.toml +[versions] +lifecycle-viewmodel-compose-android = "2.9.0-alpha01" +[libraries] +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; +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 45600b2..dee1e40 100644 --- a/docs/checks/androidx_navigation_navigation-common.md.html +++ b/docs/checks/androidx_navigation_navigation-common.md.html @@ -17,13 +17,13 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.navigation:navigation-common:2.8.0-beta05 +: androidx.navigation:navigation-common:2.8.0-rc01 (##) Included Issues |Issue Id |Issue Description | |----------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -|[EmptyNavDeepLink](EmptyNavDeepLink-2.md.html) |NavDeepLink must define an uri, action, and/or mimetype to be valid | +|[EmptyNavDeepLink](EmptyNavDeepLink.md.html) |NavDeepLink must define an uri, action, and/or mimetype to be valid | |[WrongStartDestinationType](WrongStartDestinationType-3.md.html)|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.| (##) Including @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.8.0-beta05") +implementation("androidx.navigation:navigation-common:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-common:2.8.0-beta05' +implementation 'androidx.navigation:navigation-common:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-common) +implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.8.0-beta05" +navigation-common = "2.8.0-rc01" [libraries] navigation-common = { module = "androidx.navigation:navigation-common", @@ -52,7 +52,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,9 @@ | 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| diff --git a/docs/checks/androidx_navigation_navigation-compose.md.html b/docs/checks/androidx_navigation_navigation-compose.md.html index ac17df9..d4149c5 100644 --- a/docs/checks/androidx_navigation_navigation-compose.md.html +++ b/docs/checks/androidx_navigation_navigation-compose.md.html @@ -7,24 +7,24 @@ License : [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) Vendor -: Android Open Source Project +: Jetpack Navigation Compose Identifier -: androidx.navigation.common -Feedback -: https://issuetracker.google.com/issues/new?component=409828 +: androidx.navigation.compose Min : Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.navigation:navigation-compose:2.8.0-beta05 +: androidx.navigation:navigation-compose:2.8.0-rc01 (##) Included Issues -|Issue Id |Issue Description | -|--------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -|[EmptyNavDeepLink](EmptyNavDeepLink.md.html) |NavDeepLink must define an uri, action, and/or mimetype to be valid | -|[WrongStartDestinationType](WrongStartDestinationType.md.html)|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.| +|Issue Id |Issue Description | +|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +|[ComposableDestinationInComposeScope](ComposableDestinationInComposeScope.md.html)|Building composable destination in compose scope | +|[ComposableNavGraphInComposeScope](ComposableNavGraphInComposeScope.md.html) |Building navigation graph in compose scope | +|[UnrememberedGetBackStackEntry](UnrememberedGetBackStackEntry.md.html) |Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key | +|[WrongStartDestinationType](WrongStartDestinationType.md.html) |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.| (##) Including @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.8.0-beta05") +implementation("androidx.navigation:navigation-compose:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.8.0-beta05' +implementation 'androidx.navigation:navigation-compose:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-compose) +implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.8.0-beta05" +navigation-compose = "2.8.0-rc01" [libraries] navigation-compose = { module = "androidx.navigation:navigation-compose", @@ -52,7 +52,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -62,6 +62,9 @@ * 2.8.0-beta04: Adds EmptyNavDeepLink, WrongStartDestinationType. Removes ComposableDestinationInComposeScope, ComposableNavGraphInComposeScope, UnrememberedGetBackStackEntry. +* 2.8.0-beta07: Adds ComposableDestinationInComposeScope, + ComposableNavGraphInComposeScope, UnrememberedGetBackStackEntry. + Removes EmptyNavDeepLink. (##) Version Compatibility @@ -69,6 +72,9 @@ | 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| diff --git a/docs/checks/androidx_navigation_navigation-runtime.md.html b/docs/checks/androidx_navigation_navigation-runtime.md.html index 606a4d7..8d1f293 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-beta05 +: androidx.navigation:navigation-runtime:2.8.0-rc01 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.8.0-beta05") +implementation("androidx.navigation:navigation-runtime:2.8.0-rc01") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.8.0-beta05' +implementation 'androidx.navigation:navigation-runtime:2.8.0-rc01' // build.gradle.kts with version catalogs: -implementation(libs.navigation-runtime) +implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.8.0-beta05" +navigation-runtime = "2.8.0-rc01" [libraries] navigation-runtime = { module = "androidx.navigation:navigation-runtime", @@ -53,7 +53,7 @@ } ``` -2.8.0-beta05 is the version this documentation was generated from; +2.8.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -67,6 +67,9 @@ | 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| diff --git a/docs/checks/androidx_recyclerview_recyclerview.md.html b/docs/checks/androidx_recyclerview_recyclerview.md.html index affaa08..6688a53 100644 --- a/docs/checks/androidx_recyclerview_recyclerview.md.html +++ b/docs/checks/androidx_recyclerview_recyclerview.md.html @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=460887 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact -: androidx.recyclerview:recyclerview:1.4.0-alpha01 +: androidx.recyclerview:recyclerview:1.4.0-beta01 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.recyclerview:recyclerview:1.4.0-alpha01") +implementation("androidx.recyclerview:recyclerview:1.4.0-beta01") // build.gradle -implementation 'androidx.recyclerview:recyclerview:1.4.0-alpha01' +implementation 'androidx.recyclerview:recyclerview:1.4.0-beta01' // build.gradle.kts with version catalogs: implementation(libs.recyclerview) # libs.versions.toml [versions] -recyclerview = "1.4.0-alpha01" +recyclerview = "1.4.0-beta01" [libraries] recyclerview = { module = "androidx.recyclerview:recyclerview", @@ -51,7 +51,7 @@ } ``` -1.4.0-alpha01 is the version this documentation was generated from; +1.4.0-beta01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -64,6 +64,8 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 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| | 1.3.2|2023/10/18| 1| Yes| 7.3 and 7.4| 7.0| | 1.3.1|2023/07/26| 1| Yes| 7.3 and 7.4| 7.0| diff --git a/docs/checks/androidx_startup_startup-runtime.md.html b/docs/checks/androidx_startup_startup-runtime.md.html index 90f45ad..2d58dd0 100644 --- a/docs/checks/androidx_startup_startup-runtime.md.html +++ b/docs/checks/androidx_startup_startup-runtime.md.html @@ -1,7 +1,7 @@ (#) androidx.startup:startup-runtime Name -: Android App Startup Runtime +: Startup Runtime Description : Android App Startup Runtime License @@ -13,11 +13,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=823348 Min -: Lint 7.0 +: Lint 8.0 and 8.1 Compiled -: Lint 7.3 and 7.4 +: Lint 8.0 and 8.1 Artifact -: androidx.startup:startup-runtime:1.2.0-alpha02 +: androidx.startup:startup-runtime:1.2.0-beta01 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.startup:startup-runtime:1.2.0-alpha02") +implementation("androidx.startup:startup-runtime:1.2.0-beta01") // build.gradle -implementation 'androidx.startup:startup-runtime:1.2.0-alpha02' +implementation 'androidx.startup:startup-runtime:1.2.0-beta01' // build.gradle.kts with version catalogs: -implementation(libs.startup-runtime) +implementation(libs.startup.runtime) # libs.versions.toml [versions] -startup-runtime = "1.2.0-alpha02" +startup-runtime = "1.2.0-beta01" [libraries] startup-runtime = { module = "androidx.startup:startup-runtime", @@ -52,7 +52,7 @@ } ``` -1.2.0-alpha02 is the version this documentation was generated from; +1.2.0-beta01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -66,6 +66,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.1.1|2022/02/09| 2| Yes| 7.1| 7.0| diff --git a/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html b/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html index 9ba23df..211957d 100644 --- a/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html +++ b/docs/checks/androidx_wear_protolayout_protolayout-expression.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.wear.protolayout:protolayout-expression:1.2.0-beta01 +: androidx.wear.protolayout:protolayout-expression:1.2.0 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-expression:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-expression:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-expression:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-expression) +implementation(libs.protolayout.expression) # libs.versions.toml [versions] -protolayout-expression = "1.2.0-beta01" +protolayout-expression = "1.2.0" [libraries] protolayout-expression = { module = "androidx.wear.protolayout:protolayout-expression", @@ -53,13 +53,13 @@ } ``` -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 * 1.1.0: First version includes ProtoLayoutMinSchema. -* 1.2.0-alpha02: Adds ProtoLayoutEdgeContentLayoutResponsive, +* 1.2.0: Adds ProtoLayoutEdgeContentLayoutResponsive, ProtoLayoutPrimaryLayoutResponsive. (##) Version Compatibility @@ -68,12 +68,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.2.0-beta01|2024/07/10| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha05|2024/06/26| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha04|2024/05/29| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha03|2024/05/14| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha02|2024/05/01| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha01|2024/03/06| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.2.0|2024/08/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.1.0|2024/02/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_wear_protolayout_protolayout-material.md.html b/docs/checks/androidx_wear_protolayout_protolayout-material.md.html index 7e39369..d940287 100644 --- a/docs/checks/androidx_wear_protolayout_protolayout-material.md.html +++ b/docs/checks/androidx_wear_protolayout_protolayout-material.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.wear.protolayout:protolayout-material:1.2.0-beta01 +: androidx.wear.protolayout:protolayout-material:1.2.0 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout-material:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout-material:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout-material:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout-material:1.2.0' // build.gradle.kts with version catalogs: -implementation(libs.protolayout-material) +implementation(libs.protolayout.material) # libs.versions.toml [versions] -protolayout-material = "1.2.0-beta01" +protolayout-material = "1.2.0" [libraries] protolayout-material = { module = "androidx.wear.protolayout:protolayout-material", @@ -53,25 +53,8 @@ } ``` -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 - -* 1.2.0-alpha02: First version includes - ProtoLayoutEdgeContentLayoutResponsive, ProtoLayoutMinSchema, - ProtoLayoutPrimaryLayoutResponsive. - -(##) Version Compatibility - -There are multiple older versions available of this library: - -| Version | Date | Issues | Compatible | Compiled | Requires | -|-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.2.0-beta01|2024/07/10| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha05|2024/06/26| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha04|2024/05/29| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha03|2024/05/14| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha02|2024/05/01| 3| Yes| 8.0 and 8.1|8.0 and 8.1| \ No newline at end of file diff --git a/docs/checks/androidx_wear_protolayout_protolayout.md.html b/docs/checks/androidx_wear_protolayout_protolayout.md.html index 13493ae..70b9871 100644 --- a/docs/checks/androidx_wear_protolayout_protolayout.md.html +++ b/docs/checks/androidx_wear_protolayout_protolayout.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.wear.protolayout:protolayout:1.2.0-beta01 +: androidx.wear.protolayout:protolayout:1.2.0 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.2.0-beta01") +implementation("androidx.wear.protolayout:protolayout:1.2.0") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.2.0-beta01' +implementation 'androidx.wear.protolayout:protolayout:1.2.0' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.2.0-beta01" +protolayout = "1.2.0" [libraries] protolayout = { module = "androidx.wear.protolayout:protolayout", @@ -53,13 +53,13 @@ } ``` -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 * 1.1.0: First version includes ProtoLayoutMinSchema. -* 1.2.0-alpha02: Adds ProtoLayoutEdgeContentLayoutResponsive, +* 1.2.0: Adds ProtoLayoutEdgeContentLayoutResponsive, ProtoLayoutPrimaryLayoutResponsive. (##) Version Compatibility @@ -68,12 +68,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| -| 1.2.0-beta01|2024/07/10| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha05|2024/06/26| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha04|2024/05/29| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha03|2024/05/14| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha02|2024/05/01| 3| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.2.0-alpha01|2024/03/06| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.2.0|2024/08/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.1.0|2024/02/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_work_work-runtime.md.html b/docs/checks/androidx_work_work-runtime.md.html index 9999a09..297c942 100644 --- a/docs/checks/androidx_work_work-runtime.md.html +++ b/docs/checks/androidx_work_work-runtime.md.html @@ -47,7 +47,7 @@ implementation 'androidx.work:work-runtime:2.10.0-alpha02' // build.gradle.kts with version catalogs: -implementation(libs.work-runtime) +implementation(libs.work.runtime) # libs.versions.toml [versions] @@ -80,6 +80,7 @@ |-------------------:|----------|-------:|------------|--------------:|---------:| | 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| | 2.9.0|2023/11/29| 9| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.1|2023/03/22| 9| Yes| 7.3 and 7.4| 7.0| | 2.8.0|2023/02/08| 9| Yes| 7.3 and 7.4| 7.0| diff --git a/docs/checks/categories.md.html b/docs/checks/categories.md.html index 4394a18..5323524 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 (509) +* Correctness (514) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) @@ -38,13 +38,16 @@ - [CanvasSize: Wrong Canvas Size](CanvasSize.md.html) - [CastingViewContextToActivity: Unsafe cast of `Context` to `Activity`](CastingViewContextToActivity.md.html) - [CheckResult: Ignoring results](CheckResult.md.html) + - [ChildInNonViewGroup: Only view groups can have children](ChildInNonViewGroup.md.html) - [CoarseFineLocation: Cannot use `ACCESS_FINE_LOCATION` without `ACCESS_COARSE_LOCATION`](CoarseFineLocation.md.html) - [ColorCasing: Raw colors should be defined with uppercase letters](ColorCasing.md.html) - [CommitPrefEdits: Missing `commit()` on `SharedPreference` editor](CommitPrefEdits.md.html) - [CommitTransaction: Missing `commit()` calls](CommitTransaction.md.html) + - [ComposableDestinationInComposeScope: Building composable destination in compose scope](ComposableDestinationInComposeScope.md.html) - [ComposableLambdaParameterNaming: Primary composable lambda parameter not named `content`](ComposableLambdaParameterNaming.md.html) - [ComposableLambdaParameterPosition: Non-trailing primary composable lambda parameter](ComposableLambdaParameterPosition.md.html) - [ComposableNaming: Incorrect naming for @Composable functions](ComposableNaming.md.html) + - [ComposableNavGraphInComposeScope: Building navigation graph in compose scope](ComposableNavGraphInComposeScope.md.html) - [ComposeComposableModifier: Don't use @Composable builder functions for modifiers](ComposeComposableModifier.md.html) - [ComposeM2Api: Using a Compose M2 API is not recommended](ComposeM2Api.md.html) - [ComposeModifierComposed: Don't use Modifier.composed {}](ComposeModifierComposed.md.html) @@ -56,6 +59,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) + - [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) - [CutPasteId: Likely cut & paste mistakes](CutPasteId.md.html) @@ -96,7 +100,6 @@ - [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) - - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) - [EmptySuperCall: Calling an empty super method](EmptySuperCall.md.html) - [EnqueueWork: WorkManager Enqueue](EnqueueWork.md.html) - [EnsureInitializerMetadata: Every Initializer needs to be accompanied by a corresponding entry in the AndroidManifest.xml file](EnsureInitializerMetadata.md.html) @@ -303,7 +306,7 @@ - [NoCollectCallFound: You must call collect on the given progress flow when using PredictiveBackHandler](NoCollectCallFound.md.html) - [NoOp: NoOp Code](NoOp.md.html) - [NonConstantResourceId: Checks use of resource IDs in places requiring constants](NonConstantResourceId.md.html) - - [NonResizeableActivity: Activity is set to be non resizeable](NonResizeableActivity.md.html) + - [NonResizeableActivity: Activity is set to be non-resizeable](NonResizeableActivity.md.html) - [NotConstructor: Not a Constructor](NotConstructor.md.html) - [NotInterpolated: Incorrect Interpolation](NotInterpolated.md.html) - [NotSibling: Invalid Constraints](NotSibling.md.html) @@ -435,6 +438,7 @@ - [UnlocalizedSms: SMS phone number missing country code](UnlocalizedSms.md.html) - [UnnecessaryComposedModifier: Modifier.composed should only be used for modifiers that invoke @Composable functions](UnnecessaryComposedModifier.md.html) - [UnrememberedAnimatable: Creating an Animatable during composition without using `remember`](UnrememberedAnimatable.md.html) + - [UnrememberedGetBackStackEntry: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key](UnrememberedGetBackStackEntry.md.html) - [UnrememberedMutableInteractionSource: Creating a MutableInteractionSource during composition without using `remember`](UnrememberedMutableInteractionSource.md.html) - [UnrememberedMutableState: Creating a state object during composition without using `remember`](UnrememberedMutableState.md.html) - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) @@ -476,6 +480,7 @@ - [VectorDrawableCompat: Using VectorDrawableCompat](VectorDrawableCompat.md.html) - [VectorRaster: Vector Image Generation](VectorRaster.md.html) - [ViewBindingType: `tools:viewBindingType` issues](ViewBindingType.md.html) + - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.md.html) - [VisibleForTests: Visible Only For Tests](VisibleForTests.md.html) - [WatchFaceEditor: Watch face editor must use launchMode="standard"](WatchFaceEditor.md.html) - [WatchFaceForAndroidX: AndroidX watch faces must use action `WATCH_FACE_EDITOR`](WatchFaceForAndroidX.md.html) @@ -547,7 +552,7 @@ - [PermissionImpliesUnsupportedChromeOsHardware: Permission Implies Unsupported Chrome OS Hardware](PermissionImpliesUnsupportedChromeOsHardware.md.html) - [UnsupportedChromeOsHardware: Unsupported Chrome OS Hardware Feature](UnsupportedChromeOsHardware.md.html) -* Security (75) +* Security (76) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) - [AddJavascriptInterface: `addJavascriptInterface` Called](AddJavascriptInterface.md.html) @@ -614,6 +619,7 @@ - [UnsafeIntentLaunch: Launched Unsafe Intent](UnsafeIntentLaunch.md.html) - [UnsafeNativeCodeLocation: Native code outside library directory](UnsafeNativeCodeLocation.md.html) - [UnsafeProtectedBroadcastReceiver: Unsafe Protected `BroadcastReceiver`](UnsafeProtectedBroadcastReceiver.md.html) + - [UnsanitizedFilenameFromContentProvider: Trusting ContentProvider filenames without any sanitization](UnsanitizedFilenameFromContentProvider.md.html) - [UnspecifiedImmutableFlag: Missing `PendingIntent` mutability flag](UnspecifiedImmutableFlag.md.html) - [UseCheckPermission: Using the result of check permission calls](UseCheckPermission.md.html) - [UsingC2DM: Using C2DM](UsingC2DM.md.html) @@ -722,7 +728,7 @@ - [TilePreviewImageFormat: Tile preview is not compliant with standards](TilePreviewImageFormat.md.html) - [WebpUnsupported: WebP Unsupported](WebpUnsupported.md.html) -* Usability (17) +* Usability (18) - [AlwaysShowAction: Usage of `showAsAction=always`](AlwaysShowAction.md.html) - [Autofill: Use Autofill](Autofill.md.html) @@ -736,6 +742,7 @@ - [SelectableText: Dynamic text should probably be selectable](SelectableText.md.html) - [SmallSp: Text size is too small](SmallSp.md.html) - [TextFields: Missing `inputType`](TextFields.md.html) + - [UnnecessaryRequiredFeature: Potentially unnecessary required feature](UnnecessaryRequiredFeature.md.html) - [ViewConstructor: Missing View constructors for XML inflation](ViewConstructor.md.html) - [WearBackNavigation: Wear: Disabling Back navigation](WearBackNavigation.md.html) - [WearPasswordInput: Wear: Using password input](WearPasswordInput.md.html) diff --git a/docs/checks/google_android-security-lints_android-security-lints.md.html b/docs/checks/com_android_security_lint_lint.md.html similarity index 72% rename from docs/checks/google_android-security-lints_android-security-lints.md.html rename to docs/checks/com_android_security_lint_lint.md.html index daf23b8..9098b9d 100644 --- a/docs/checks/google_android-security-lints_android-security-lints.md.html +++ b/docs/checks/com_android_security_lint_lint.md.html @@ -1,4 +1,4 @@ -(#) google.android-security-lints +(#) com.android.security.lint:lint Project : https://github.com/google/android-security-lints @@ -13,7 +13,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: google.android-security-lints:android-security-lints +: com.android.security.lint:lint:1.0.1 (##) Included Issues @@ -42,12 +42,45 @@ to your project. This lint check is included in the lint documentation, but the Android team may or may not agree with its recommendations. -!!! WARN - This library has not been published. Its documentation was - extracted by installing the project sources locally. Consult - the project's documentation on how to configure it with your - own projects: [](https://github.com/google/android-security-lints) +``` +// build.gradle.kts +lintChecks("com.android.security.lint:lint:1.0.1") +// build.gradle +lintChecks 'com.android.security.lint:lint:1.0.1' +// build.gradle.kts with version catalogs: +lintChecks(libs.com.android.security.lint.lint) + +# libs.versions.toml +[versions] +com-android-security-lint-lint = "1.0.1" +[libraries] +com-android-security-lint-lint = { + module = "com.android.security.lint:lint", + version.ref = "com-android-security-lint-lint" +} +``` + +1.0.1 is the version this documentation was generated from; +there may be newer versions available. + +(##) Changes + +* 1.0.1: First version includes DefaultCleartextTraffic, + DefaultTrustedUserCerts, DisabledAllSafeBrowsing, ExposedRootPath, + InsecureDnsSdkLevel, InsecurePermissionProtectionLevel, + MissingAutoVerifyAttribute, SensitiveExternalPath, + StrandhoggVulnerable, TapjackingVulnerable, UnintendedExposedUrl, + UnintendedPrivateIpAddress, UnsafeCryptoAlgorithmUsage, + VulnerableCryptoAlgorithm, WeakPrng. + +(##) Version Compatibility + +There are multiple older versions available of this library: + +| Version | Date | Issues | Compatible | Compiled | Requires | +|-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.0.1| | 15| Yes| 8.0 and 8.1|8.0 and 8.1| \ No newline at end of file diff --git a/docs/checks/com_google_dagger_dagger-lint.md.html b/docs/checks/com_google_dagger_dagger-lint.md.html index bc50fb1..20dc391 100644 --- a/docs/checks/com_google_dagger_dagger-lint.md.html +++ b/docs/checks/com_google_dagger_dagger-lint.md.html @@ -21,7 +21,7 @@ Compiled : Lint 7.1 Artifact -: com.google.dagger:dagger-lint:2.51.1 +: com.google.dagger:dagger-lint:2.52 (##) Included Issues @@ -40,17 +40,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.51.1") +implementation("com.google.dagger:dagger-lint:2.52") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.51.1' +implementation 'com.google.dagger:dagger-lint:2.52' // build.gradle.kts with version catalogs: -implementation(libs.dagger-lint) +implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.51.1" +dagger-lint = "2.52" [libraries] dagger-lint = { module = "com.google.dagger:dagger-lint", @@ -58,7 +58,7 @@ } ``` -2.51.1 is the version this documentation was generated from; +2.52 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -73,6 +73,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.52|2024/08/05| 4| Yes| 7.1| 7.1| | 2.51.1|2024/03/29| 4| Yes| 7.1| 7.1| | 2.51|2024/02/27| 4| Yes| 7.1| 7.1| | 2.50|2023/12/19| 4| Yes| 7.1| 7.1| 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 107c744..6f8dc1f 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 @@ -60,7 +60,7 @@ lintChecks 'com.slack.lint.compose:compose-lint-checks:1.3.1' // build.gradle.kts with version catalogs: -lintChecks(libs.compose-lint-checks) +lintChecks(libs.compose.lint.checks) # libs.versions.toml [versions] @@ -97,7 +97,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| | 1.3.1|2024/01/25| 21| Yes| 8.0 and 8.1|8.0 and 8.1| -| 1.3.0|2024/01/25| 21| Yes| 8.2+| 8.2+| +| 1.3.0|2024/01/25| 21| Yes| 8.2 to 8.6|8.2 to 8.6| | 1.2.0|2023/04/19| 18| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.1.1|2023/03/08| 18| Yes| 7.3 and 7.4|7.3 and 7.4| | 1.1.0|2023/03/07| 18| Yes| 7.3 and 7.4|7.3 and 7.4| 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 44b7d03..20871c0 100644 --- a/docs/checks/com_slack_lint_slack-lint-checks.md.html +++ b/docs/checks/com_slack_lint_slack-lint-checks.md.html @@ -132,7 +132,7 @@ lintChecks 'com.slack.lint:slack-lint-checks:0.7.4' // build.gradle.kts with version catalogs: -lintChecks(libs.slack-lint-checks) +lintChecks(libs.slack.lint.checks) # libs.versions.toml [versions] diff --git a/docs/checks/com_uber_autodispose2_autodispose-lint.md.html b/docs/checks/com_uber_autodispose2_autodispose-lint.md.html index 56397c8..4143de0 100644 --- a/docs/checks/com_uber_autodispose2_autodispose-lint.md.html +++ b/docs/checks/com_uber_autodispose2_autodispose-lint.md.html @@ -42,7 +42,7 @@ lintChecks 'com.uber.autodispose2:autodispose-lint:2.2.1' // build.gradle.kts with version catalogs: -lintChecks(libs.autodispose-lint) +lintChecks(libs.autodispose.lint) # libs.versions.toml [versions] diff --git a/docs/checks/com_vanniktech_lint-rules-android.md.html b/docs/checks/com_vanniktech_lint-rules-android.md.html index 7009816..131e510 100644 --- a/docs/checks/com_vanniktech_lint-rules-android.md.html +++ b/docs/checks/com_vanniktech_lint-rules-android.md.html @@ -80,7 +80,7 @@ lintChecks 'com.vanniktech:lint-rules-android:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-android) +lintChecks(libs.lint.rules.android) # libs.versions.toml [versions] @@ -134,7 +134,7 @@ Compatibility Problems: [^1]: com.android.SdkConstants#CLASS_CONSTRAINT_LAYOUT is not available -[^2]: com.android.tools.lint.detector.api.LintUtils: java.lang.String computeResourcePrefix(com.android.builder.model.AndroidProject) is not available -[^3]: com.android.tools.lint.detector.api.LayoutDetector: com.android.tools.lint.detector.api.LintFix$Builder fix() is not available +[^2]: com.android.tools.lint.detector.api.Project#getGradleProjectModel(): com.android.builder.model.AndroidProject is not available +[^3]: com.android.tools.lint.detector.api.LayoutDetector#fix(): com.android.tools.lint.detector.api.LintFix$Builder is not available \ No newline at end of file diff --git a/docs/checks/com_vanniktech_lint-rules-kotlin.md.html b/docs/checks/com_vanniktech_lint-rules-kotlin.md.html index 2ef3269..67660e8 100644 --- a/docs/checks/com_vanniktech_lint-rules-kotlin.md.html +++ b/docs/checks/com_vanniktech_lint-rules-kotlin.md.html @@ -40,7 +40,7 @@ lintChecks 'com.vanniktech:lint-rules-kotlin:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-kotlin) +lintChecks(libs.lint.rules.kotlin) # libs.versions.toml [versions] diff --git a/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html b/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html index c4ef520..acb2391 100644 --- a/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html +++ b/docs/checks/com_vanniktech_lint-rules-rxjava2.md.html @@ -46,7 +46,7 @@ lintChecks 'com.vanniktech:lint-rules-rxjava2:0.25.0' // build.gradle.kts with version catalogs: -lintChecks(libs.lint-rules-rxjava2) +lintChecks(libs.lint.rules.rxjava2) # libs.versions.toml [versions] @@ -98,6 +98,6 @@ Compatibility Problems: -[^1]: org.jetbrains.uast.kotlin.declarations.KotlinUMethod: org.jetbrains.kotlin.psi.KtDeclaration getSourcePsi() is not available +[^1]: org.jetbrains.uast.kotlin.declarations.KotlinUMethod#getSourcePsi(): org.jetbrains.kotlin.psi.KtDeclaration is not available \ No newline at end of file diff --git a/docs/checks/index.md.html b/docs/checks/index.md.html index 48ba6e2..0c47553 100644 --- a/docs/checks/index.md.html +++ b/docs/checks/index.md.html @@ -62,6 +62,7 @@ - [CanvasSize: Wrong Canvas Size](CanvasSize.md.html) - [CastingViewContextToActivity: Unsafe cast of `Context` to `Activity`](CastingViewContextToActivity.md.html) - [CheckResult: Ignoring results](CheckResult.md.html) + - [ChildInNonViewGroup: Only view groups can have children](ChildInNonViewGroup.md.html) - [ChromeOsAbiSupport: Missing ABI Support for ChromeOS](ChromeOsAbiSupport.md.html) - [ChromeOsOnConfigurationChanged: Poor performance with APIs inside `onConfigurationChanged()`](ChromeOsOnConfigurationChanged.md.html) - [ClickableViewAccessibility: Accessibility in Custom Views](ClickableViewAccessibility.md.html) @@ -69,9 +70,11 @@ - [ColorCasing: Raw colors should be defined with uppercase letters](ColorCasing.md.html) - [CommitPrefEdits: Missing `commit()` on `SharedPreference` editor](CommitPrefEdits.md.html) - [CommitTransaction: Missing `commit()` calls](CommitTransaction.md.html) + - [ComposableDestinationInComposeScope: Building composable destination in compose scope](ComposableDestinationInComposeScope.md.html) - [ComposableLambdaParameterNaming: Primary composable lambda parameter not named `content`](ComposableLambdaParameterNaming.md.html) - [ComposableLambdaParameterPosition: Non-trailing primary composable lambda parameter](ComposableLambdaParameterPosition.md.html) - [ComposableNaming: Incorrect naming for @Composable functions](ComposableNaming.md.html) + - [ComposableNavGraphInComposeScope: Building navigation graph in compose scope](ComposableNavGraphInComposeScope.md.html) - [ComposeComposableModifier: Don't use @Composable builder functions for modifiers](ComposeComposableModifier.md.html) - [ComposeCompositionLocalGetter: CompositionLocals should not use getters](ComposeCompositionLocalGetter.md.html) - [ComposeCompositionLocalUsage: CompositionLocals are discouraged](ComposeCompositionLocalUsage.md.html) @@ -102,6 +105,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) + - [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) - [CustomViewStyleable: Mismatched Styleable/Custom View Name](CustomViewStyleable.md.html) @@ -155,8 +159,7 @@ - [EasterEgg: Code contains easter egg](EasterEgg.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) (from androidx.navigation:navigation-compose:2.8.0-beta05) - - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) (from androidx.navigation:navigation-common:2.8.0-beta05) + - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) - [EmptySuperCall: Calling an empty super method](EmptySuperCall.md.html) - [EnforceUTF8: Encoding used in resource files is not UTF-8](EnforceUTF8.md.html) - [EnqueueWork: WorkManager Enqueue](EnqueueWork.md.html) @@ -190,8 +193,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.1) - - [FragmentGradleConfiguration: Include the fragment-testing-manifest library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) (from androidx.fragment:fragment-testing-manifest:1.8.1) + - [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) - [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) @@ -442,7 +445,7 @@ - [NoHardKeywords: No Hard Kotlin Keywords](NoHardKeywords.md.html) - [NoOp: NoOp Code](NoOp.md.html) - [NonConstantResourceId: Checks use of resource IDs in places requiring constants](NonConstantResourceId.md.html) - - [NonResizeableActivity: Activity is set to be non resizeable](NonResizeableActivity.md.html) + - [NonResizeableActivity: Activity is set to be non-resizeable](NonResizeableActivity.md.html) - [NotConstructor: Not a Constructor](NotConstructor.md.html) - [NotInterpolated: Incorrect Interpolation](NotInterpolated.md.html) - [NotSibling: Invalid Constraints](NotSibling.md.html) @@ -451,7 +454,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.8.3) + - [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-ktx:2.8.0-alpha01) - [ObjectAnimatorBinding: Incorrect ObjectAnimator Property](ObjectAnimatorBinding.md.html) - [ObsoleteLayoutParam: Obsolete layout params](ObsoleteLayoutParam.md.html) @@ -484,15 +487,15 @@ - [ProguardSplit: Proguard.cfg file contains generic Android rules](ProguardSplit.md.html) - [PropertyEscape: Incorrect property escapes](PropertyEscape.md.html) - [ProtectedPermissions: Using system app permission](ProtectedPermissions.md.html) - - [ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales](ProtoLayoutEdgeContentLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01) - - [ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales](ProtoLayoutEdgeContentLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-material:1.2.0-beta01) - - [ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales](ProtoLayoutEdgeContentLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout:1.2.0-beta01) - - [ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API](ProtoLayoutMinSchema.md.html) (from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01) - - [ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API](ProtoLayoutMinSchema.md.html) (from androidx.wear.protolayout:protolayout-material:1.2.0-beta01) - - [ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API](ProtoLayoutMinSchema.md.html) (from androidx.wear.protolayout:protolayout:1.2.0-beta01) - - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-expression:1.2.0-beta01) - - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-material:1.2.0-beta01) - - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout:1.2.0-beta01) + - [ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales](ProtoLayoutEdgeContentLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-expression:1.2.0) + - [ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales](ProtoLayoutEdgeContentLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-material:1.2.0) + - [ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales](ProtoLayoutEdgeContentLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout:1.2.0) + - [ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API](ProtoLayoutMinSchema.md.html) (from androidx.wear.protolayout:protolayout-expression:1.2.0) + - [ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API](ProtoLayoutMinSchema.md.html) (from androidx.wear.protolayout:protolayout-material:1.2.0) + - [ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API](ProtoLayoutMinSchema.md.html) (from androidx.wear.protolayout:protolayout:1.2.0) + - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-expression:1.2.0) + - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout-material:1.2.0) + - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) (from androidx.wear.protolayout:protolayout:1.2.0) - [ProviderReadPermissionOnly: Provider with readPermission only and implemented write APIs](ProviderReadPermissionOnly.md.html) - [ProvidesMustNotBeAbstract: @Provides functions cannot be abstract](ProvidesMustNotBeAbstract.md.html) - [ProxyPassword: Proxy Password in Cleartext](ProxyPassword.md.html) @@ -517,7 +520,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.8.3) + - [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-ktx:2.8.0-alpha01) - [ReportShortcutUsage: Report shortcut usage](ReportShortcutUsage.md.html) - [RequiredSize: Missing `layout_width` or `layout_height` attributes](RequiredSize.md.html) @@ -647,21 +650,24 @@ - [UnknownNullness: Unknown nullness](UnknownNullness.md.html) - [UnlocalizedSms: SMS phone number missing country code](UnlocalizedSms.md.html) - [UnnecessaryComposedModifier: Modifier.composed should only be used for modifiers that invoke @Composable functions](UnnecessaryComposedModifier.md.html) + - [UnnecessaryRequiredFeature: Potentially unnecessary required feature](UnnecessaryRequiredFeature.md.html) - [UnprotectedSMSBroadcastReceiver: Unprotected SMS `BroadcastReceiver`](UnprotectedSMSBroadcastReceiver.md.html) - [UnrememberedAnimatable: Creating an Animatable during composition without using `remember`](UnrememberedAnimatable.md.html) + - [UnrememberedGetBackStackEntry: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key](UnrememberedGetBackStackEntry.md.html) - [UnrememberedMutableInteractionSource: Creating a MutableInteractionSource during composition without using `remember`](UnrememberedMutableInteractionSource.md.html) - [UnrememberedMutableState: Creating a state object during composition without using `remember`](UnrememberedMutableState.md.html) - [UnsafeCryptoAlgorithmUsage: Application uses unsafe cipher modes or paddings with cryptographic algorithms](UnsafeCryptoAlgorithmUsage.md.html) - [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.8.3) + - [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-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) - [UnsafeOptInUsageWarning: Unsafe opt-in usage intended to be warning-level severity](UnsafeOptInUsageWarning.md.html) - [UnsafeProtectedBroadcastReceiver: Unsafe Protected `BroadcastReceiver`](UnsafeProtectedBroadcastReceiver.md.html) - [UnsafeRepeatOnLifecycleDetector: RepeatOnLifecycle should be used with viewLifecycleOwner in Fragments](UnsafeRepeatOnLifecycleDetector.md.html) + - [UnsanitizedFilenameFromContentProvider: Trusting ContentProvider filenames without any sanitization](UnsanitizedFilenameFromContentProvider.md.html) - [UnspecifiedImmutableFlag: Missing `PendingIntent` mutability flag](UnspecifiedImmutableFlag.md.html) - [UnspecifiedRegisterReceiverFlag: Missing `registerReceiver()` exported flag](UnspecifiedRegisterReceiverFlag.md.html) - [UnsupportedChromeOsCameraSystemFeature: Looking for Rear Camera only feature](UnsupportedChromeOsCameraSystemFeature.md.html) @@ -719,6 +725,7 @@ - [ViewBindingType: `tools:viewBindingType` issues](ViewBindingType.md.html) - [ViewConstructor: Missing View constructors for XML inflation](ViewConstructor.md.html) - [ViewHolder: View Holder Candidates](ViewHolder.md.html) + - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.md.html) - [VisibleForTests: Visible Only For Tests](VisibleForTests.md.html) - [VulnerableCordovaVersion: Vulnerable Cordova Version](VulnerableCordovaVersion.md.html) - [VulnerableCryptoAlgorithm: Application uses vulnerable cryptography algorithms](VulnerableCryptoAlgorithm.md.html) @@ -762,9 +769,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-beta05) - - [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-beta05) - - [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-beta05) + - [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) - [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 96f40d5..8c0907d 100644 --- a/docs/checks/libraries.md.html +++ b/docs/checks/libraries.md.html @@ -5,6 +5,7 @@ Lint-specific libraries: +* [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) * [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) (7 checks) @@ -12,7 +13,6 @@ * [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) (41 checks) * [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) (91 checks) * [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) (21 checks) -* [google.android-security-lints:android-security-lints](google_android-security-lints_android-security-lints.md.html) (15 checks) Android archive libraries which also contain bundled lint checks: @@ -30,11 +30,12 @@ * [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) * [androidx.lifecycle:lifecycle-livedata-core](androidx_lifecycle_lifecycle-livedata-core.md.html) (1 checks) +* [androidx.lifecycle:lifecycle-runtime-testing](androidx_lifecycle_lifecycle-runtime-testing.md.html) (1 checks) * [androidx.lifecycle:lifecycle-livedata-core-ktx](androidx_lifecycle_lifecycle-livedata-core-ktx.md.html) (1 checks) * [androidx.lifecycle:lifecycle-runtime-android](androidx_lifecycle_lifecycle-runtime-android.md.html) (2 checks) -* [androidx.lifecycle:lifecycle-runtime-testing](androidx_lifecycle_lifecycle-runtime-testing.md.html) (1 checks) * [androidx.lifecycle:lifecycle-runtime-ktx](androidx_lifecycle_lifecycle-runtime-ktx.md.html) (2 checks) -* [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) (2 checks) +* [androidx.lifecycle:lifecycle-viewmodel-compose-android](androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html) (1 checks) +* [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) (4 checks) * [androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html) (3 checks) * [androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html) (2 checks) * [androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html) (4 checks) diff --git a/docs/checks/severity.md.html b/docs/checks/severity.md.html index c01b0ce..b2e27b4 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 (291) +* Error (295) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) - [AppCompatCustomView: Appcompat Custom Widgets](AppCompatCustomView.md.html) @@ -78,7 +78,10 @@ - [BottomAppBar: BottomAppBar Problems](BottomAppBar.md.html) - [ByteOrderMark: Byte order mark inside files](ByteOrderMark.md.html) - [CastingViewContextToActivity: Unsafe cast of `Context` to `Activity`](CastingViewContextToActivity.md.html) + - [ChildInNonViewGroup: Only view groups can have children](ChildInNonViewGroup.md.html) - [CoarseFineLocation: Cannot use `ACCESS_FINE_LOCATION` without `ACCESS_COARSE_LOCATION`](CoarseFineLocation.md.html) + - [ComposableDestinationInComposeScope: Building composable destination in compose scope](ComposableDestinationInComposeScope.md.html) + - [ComposableNavGraphInComposeScope: Building navigation graph in compose scope](ComposableNavGraphInComposeScope.md.html) - [ComposeComposableModifier: Don't use @Composable builder functions for modifiers](ComposeComposableModifier.md.html) - [ComposeCompositionLocalGetter: CompositionLocals should not use getters](ComposeCompositionLocalGetter.md.html) - [ComposeContentEmitterReturningValues: Composable functions should emit XOR return](ComposeContentEmitterReturningValues.md.html) @@ -120,7 +123,6 @@ - [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) - - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) - [ErrorProneDoNotMockUsage: Use Slack's internal `@DoNotMock` annotation](ErrorProneDoNotMockUsage.md.html) - [ExactAlarm: Invalid Usage of Exact Alarms](ExactAlarm.md.html) - [ExceptionMessage: Please provide a string for the `lazyMessage` parameter](ExceptionMessage.md.html) @@ -308,6 +310,7 @@ - [TimberTagLength: Too Long Log Tags](TimberTagLength.md.html) - [UniqueConstants: Overlapping Enumeration Constants](UniqueConstants.md.html) - [UnrememberedAnimatable: Creating an Animatable during composition without using `remember`](UnrememberedAnimatable.md.html) + - [UnrememberedGetBackStackEntry: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key](UnrememberedGetBackStackEntry.md.html) - [UnrememberedMutableInteractionSource: Creating a MutableInteractionSource during composition without using `remember`](UnrememberedMutableInteractionSource.md.html) - [UnrememberedMutableState: Creating a state object during composition without using `remember`](UnrememberedMutableState.md.html) - [UnsafeImplicitIntentLaunch: Implicit intent matches an internal non-exported component](UnsafeImplicitIntentLaunch.md.html) @@ -333,6 +336,7 @@ - [ValidFragment: Fragment not instantiatable](ValidFragment.md.html) - [VectorDrawableCompat: Using VectorDrawableCompat](VectorDrawableCompat.md.html) - [ViewBindingType: `tools:viewBindingType` issues](ViewBindingType.md.html) + - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.md.html) - [VulnerableCryptoAlgorithm: Application uses vulnerable cryptography algorithms](VulnerableCryptoAlgorithm.md.html) - [WearMaterialTheme: Using not non-Wear `MaterialTheme` in a Wear OS project](WearMaterialTheme.md.html) - [WearPasswordInput: Wear: Using password input](WearPasswordInput.md.html) @@ -354,7 +358,7 @@ - [WrongViewCast: Mismatched view type](WrongViewCast.md.html) - [XmlEscapeNeeded: Missing XML Escape](XmlEscapeNeeded.md.html) -* Warning (415) +* Warning (418) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) - [AccessibilityFocus: Forcing accessibility focus](AccessibilityFocus.md.html) @@ -412,6 +416,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) + - [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) - [CustomViewStyleable: Mismatched Styleable/Custom View Name](CustomViewStyleable.md.html) @@ -581,7 +586,7 @@ - [NoHardKeywords: No Hard Kotlin Keywords](NoHardKeywords.md.html) - [NoOp: NoOp Code](NoOp.md.html) - [NonConstantResourceId: Checks use of resource IDs in places requiring constants](NonConstantResourceId.md.html) - - [NonResizeableActivity: Activity is set to be non resizeable](NonResizeableActivity.md.html) + - [NonResizeableActivity: Activity is set to be non-resizeable](NonResizeableActivity.md.html) - [NotConstructor: Not a Constructor](NotConstructor.md.html) - [NotificationIconCompatibility: Notification Icon Compatibility](NotificationIconCompatibility.md.html) - [NotifyDataSetChanged: Invalidating All RecyclerView Data](NotifyDataSetChanged.md.html) @@ -701,6 +706,7 @@ - [UnknownNullness: Unknown nullness](UnknownNullness.md.html) - [UnlocalizedSms: SMS phone number missing country code](UnlocalizedSms.md.html) - [UnnecessaryComposedModifier: Modifier.composed should only be used for modifiers that invoke @Composable functions](UnnecessaryComposedModifier.md.html) + - [UnnecessaryRequiredFeature: Potentially unnecessary required feature](UnnecessaryRequiredFeature.md.html) - [UnprotectedSMSBroadcastReceiver: Unprotected SMS `BroadcastReceiver`](UnprotectedSMSBroadcastReceiver.md.html) - [UnsafeCryptoAlgorithmUsage: Application uses unsafe cipher modes or paddings with cryptographic algorithms](UnsafeCryptoAlgorithmUsage.md.html) - [UnsafeDynamicallyLoadedCode: `load` used to dynamically load code](UnsafeDynamicallyLoadedCode.md.html) @@ -708,6 +714,7 @@ - [UnsafeNativeCodeLocation: Native code outside library directory](UnsafeNativeCodeLocation.md.html) - [UnsafeOptInUsageWarning: Unsafe opt-in usage intended to be warning-level severity](UnsafeOptInUsageWarning.md.html) - [UnsafeProtectedBroadcastReceiver: Unsafe Protected `BroadcastReceiver`](UnsafeProtectedBroadcastReceiver.md.html) + - [UnsanitizedFilenameFromContentProvider: Trusting ContentProvider filenames without any sanitization](UnsanitizedFilenameFromContentProvider.md.html) - [UnsupportedChromeOsCameraSystemFeature: Looking for Rear Camera only feature](UnsupportedChromeOsCameraSystemFeature.md.html) - [Untranslatable: Translated Untranslatable](Untranslatable.md.html) - [UnusedAttribute: Attribute unused on older versions](UnusedAttribute.md.html) diff --git a/docs/checks/vendors.md.html b/docs/checks/vendors.md.html index 4e66c70..0ad7836 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 (471) +* Built In (475) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) @@ -48,6 +48,7 @@ - [ByteOrderMark: Byte order mark inside files](ByteOrderMark.md.html) - [CanvasSize: Wrong Canvas Size](CanvasSize.md.html) - [CheckResult: Ignoring results](CheckResult.md.html) + - [ChildInNonViewGroup: Only view groups can have children](ChildInNonViewGroup.md.html) - [ChromeOsAbiSupport: Missing ABI Support for ChromeOS](ChromeOsAbiSupport.md.html) - [ChromeOsOnConfigurationChanged: Poor performance with APIs inside `onConfigurationChanged()`](ChromeOsOnConfigurationChanged.md.html) - [ClickableViewAccessibility: Accessibility in Custom Views](ClickableViewAccessibility.md.html) @@ -59,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) + - [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) - [CustomViewStyleable: Mismatched Styleable/Custom View Name](CustomViewStyleable.md.html) @@ -262,7 +264,7 @@ - [NoHardKeywords: No Hard Kotlin Keywords](NoHardKeywords.md.html) - [NoOp: NoOp Code](NoOp.md.html) - [NonConstantResourceId: Checks use of resource IDs in places requiring constants](NonConstantResourceId.md.html) - - [NonResizeableActivity: Activity is set to be non resizeable](NonResizeableActivity.md.html) + - [NonResizeableActivity: Activity is set to be non-resizeable](NonResizeableActivity.md.html) - [NotConstructor: Not a Constructor](NotConstructor.md.html) - [NotInterpolated: Incorrect Interpolation](NotInterpolated.md.html) - [NotSibling: Invalid Constraints](NotSibling.md.html) @@ -401,12 +403,14 @@ - [UnknownIdInLayout: Reference to an id that is not in the current layout](UnknownIdInLayout.md.html) - [UnknownNullness: Unknown nullness](UnknownNullness.md.html) - [UnlocalizedSms: SMS phone number missing country code](UnlocalizedSms.md.html) + - [UnnecessaryRequiredFeature: Potentially unnecessary required feature](UnnecessaryRequiredFeature.md.html) - [UnprotectedSMSBroadcastReceiver: Unprotected SMS `BroadcastReceiver`](UnprotectedSMSBroadcastReceiver.md.html) - [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) - [UnsafeNativeCodeLocation: Native code outside library directory](UnsafeNativeCodeLocation.md.html) - [UnsafeProtectedBroadcastReceiver: Unsafe Protected `BroadcastReceiver`](UnsafeProtectedBroadcastReceiver.md.html) + - [UnsanitizedFilenameFromContentProvider: Trusting ContentProvider filenames without any sanitization](UnsanitizedFilenameFromContentProvider.md.html) - [UnspecifiedImmutableFlag: Missing `PendingIntent` mutability flag](UnspecifiedImmutableFlag.md.html) - [UnspecifiedRegisterReceiverFlag: Missing `registerReceiver()` exported flag](UnspecifiedRegisterReceiverFlag.md.html) - [UnsupportedChromeOsCameraSystemFeature: Looking for Rear Camera only feature](UnsupportedChromeOsCameraSystemFeature.md.html) @@ -532,7 +536,7 @@ - [FragmentGradleConfiguration: Include the fragment-testing-manifest library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) -* Android Open Source Project (androidx.lifecycle) (7) +* Android Open Source Project (androidx.lifecycle) (8) - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) @@ -541,12 +545,11 @@ - [TestLifecycleOwnerInCoroutine: Use the suspending function setCurrentState(), rather than directly accessing the currentState property](TestLifecycleOwnerInCoroutine.md.html) - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) - [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.navigation.common) (4) +* Android Open Source Project (androidx.navigation.common) (2) - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) - - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.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) * Android Open Source Project (androidx.navigation.runtime) (3) @@ -700,6 +703,13 @@ - [InvalidLanguageTagDelimiter: Underscore (`_`) is an unsupported delimiter for subtags](InvalidLanguageTagDelimiter.md.html) +* Jetpack Navigation Compose (androidx.navigation.compose) (4) + + - [ComposableDestinationInComposeScope: Building composable destination in compose scope](ComposableDestinationInComposeScope.md.html) + - [ComposableNavGraphInComposeScope: Building navigation graph in compose scope](ComposableNavGraphInComposeScope.md.html) + - [UnrememberedGetBackStackEntry: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key](UnrememberedGetBackStackEntry.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) + * slack (com.slack.lint.compose:compose-lints) (21) - [ComposeComposableModifier: Don't use @Composable builder functions for modifiers](ComposeComposableModifier.md.html) diff --git a/docs/checks/year.md.html b/docs/checks/year.md.html index 53c66c0..fb114b1 100644 --- a/docs/checks/year.md.html +++ b/docs/checks/year.md.html @@ -3,7 +3,7 @@ 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 (24) +* 2024 (28) - [AccessibilityFocus: Forcing accessibility focus](AccessibilityFocus.md.html) - [AccessibilityScrollActions: Incomplete Scroll Action support](AccessibilityScrollActions.md.html) @@ -11,6 +11,7 @@ - [BuildListAdds: Missing `add` call in `buildList`](BuildListAdds.md.html) - [CredManMissingDal: Missing Digital Asset Link for Credential Manager](CredManMissingDal.md.html) - [CredentialDependency: `credentials-play-services-auth` is Required](CredentialDependency.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) - [InsecureDnsSdkLevel: Application vulnerable to DNS spoofing attacks](InsecureDnsSdkLevel.md.html) - [InsecurePermissionProtectionLevel: Custom permission created with a normal `protectionLevel`](InsecurePermissionProtectionLevel.md.html) @@ -25,6 +26,9 @@ - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) - [SuspiciousModifierThen: Using Modifier.then with a Modifier factory function with an implicit receiver](SuspiciousModifierThen.md.html) - [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) + - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.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) @@ -94,7 +98,7 @@ - [WearSplashScreen: Wear: Use `SplashScreen` library](WearSplashScreen.md.html) - [WrongCommentType: Wrong Comment Type](WrongCommentType.md.html) -* 2022 (50) +* 2022 (49) - [ActivityIconColor: Ongoing activity icon is not white](ActivityIconColor.md.html) - [BinderGetCallingInMainThread: Incorrect usage of getCallingUid() or getCallingPid()](BinderGetCallingInMainThread.md.html) @@ -106,7 +110,6 @@ - [DeprecatedSinceApi: Using a method deprecated in earlier SDK](DeprecatedSinceApi.md.html) - [DoNotExposeEitherNetInRepositories: Repository APIs should not expose EitherNet types directly](DoNotExposeEitherNetInRepositories.md.html) - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) - - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) - [EmptySuperCall: Calling an empty super method](EmptySuperCall.md.html) - [FrequentlyChangedStateReadInComposition: Frequently changing state should not be directly read in composable function](FrequentlyChangedStateReadInComposition.md.html) - [FullyQualifiedResource: Resources should use an import alias instead of being fully qualified](FullyQualifiedResource.md.html) @@ -147,7 +150,7 @@ - [UseSdkSuppress: Using `@SdkSuppress` instead of `@RequiresApi`](UseSdkSuppress.md.html) - [WrongResourceImportAlias: Wrong import alias for this R class](WrongResourceImportAlias.md.html) -* 2021 (127) +* 2021 (130) - [AnnotateVersionCheck: Annotate SDK_INT checks](AnnotateVersionCheck.md.html) - [AppBundleLocaleChanges: App Bundle handling of runtime locale changes](AppBundleLocaleChanges.md.html) @@ -160,6 +163,8 @@ - [BindsWrongParameterCount: @Binds must have one parameter](BindsWrongParameterCount.md.html) - [CastingViewContextToActivity: Unsafe cast of `Context` to `Activity`](CastingViewContextToActivity.md.html) - [CoarseFineLocation: Cannot use `ACCESS_FINE_LOCATION` without `ACCESS_COARSE_LOCATION`](CoarseFineLocation.md.html) + - [ComposableDestinationInComposeScope: Building composable destination in compose scope](ComposableDestinationInComposeScope.md.html) + - [ComposableNavGraphInComposeScope: Building navigation graph in compose scope](ComposableNavGraphInComposeScope.md.html) - [ConflictingOnColor: Background colors with the same value should have the same 'on' color](ConflictingOnColor.md.html) - [CoroutineCreationDuringComposition: Calls to `async` or `launch` should happen inside a LaunchedEffect and not composition](CoroutineCreationDuringComposition.md.html) - [CustomSplashScreen: Application-defined Launch Screen](CustomSplashScreen.md.html) @@ -265,6 +270,7 @@ - [UastImplementation: Avoid using UAST implementation](UastImplementation.md.html) - [UnnecessaryComposedModifier: Modifier.composed should only be used for modifiers that invoke @Composable functions](UnnecessaryComposedModifier.md.html) - [UnrememberedAnimatable: Creating an Animatable during composition without using `remember`](UnrememberedAnimatable.md.html) + - [UnrememberedGetBackStackEntry: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key](UnrememberedGetBackStackEntry.md.html) - [UnsafeRepeatOnLifecycleDetector: RepeatOnLifecycle should be used with viewLifecycleOwner in Fragments](UnsafeRepeatOnLifecycleDetector.md.html) - [UnusedCrossfadeTargetStateParameter: Crossfade calls should use the provided `T` parameter in the content lambda](UnusedCrossfadeTargetStateParameter.md.html) - [UnusedTransitionTargetStateParameter: Transition.animate* calls should use the provided targetState when defining values](UnusedTransitionTargetStateParameter.md.html) @@ -451,7 +457,7 @@ - [MissingBackupPin: Missing Backup Pin](MissingBackupPin.md.html) - [MissingFirebaseInstanceTokenRefresh: Missing Firebase Messaging Callback](MissingFirebaseInstanceTokenRefresh.md.html) - [NetworkSecurityConfig: Valid Network Security Config File](NetworkSecurityConfig.md.html) - - [NonResizeableActivity: Activity is set to be non resizeable](NonResizeableActivity.md.html) + - [NonResizeableActivity: Activity is set to be non-resizeable](NonResizeableActivity.md.html) - [ObjectAnimatorBinding: Incorrect ObjectAnimator Property](ObjectAnimatorBinding.md.html) - [PermissionImpliesUnsupportedChromeOsHardware: Permission Implies Unsupported Chrome OS Hardware](PermissionImpliesUnsupportedChromeOsHardware.md.html) - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) @@ -657,10 +663,11 @@ - [WrongCall: Using wrong draw/layout method](WrongCall.md.html) - [WrongFolder: Resource file in the wrong `res` folder](WrongFolder.md.html) -* 2011 (97) +* 2011 (98) - [AdapterViewChildren: `AdapterView` cannot have children in XML](AdapterViewChildren.md.html) - [AppIndexingService: App Indexing Background Services](AppIndexingService.md.html) + - [ChildInNonViewGroup: Only view groups can have children](ChildInNonViewGroup.md.html) - [ContentDescription: Image without `contentDescription`](ContentDescription.md.html) - [ConvertToWebp: Convert to WebP](ConvertToWebp.md.html) - [DataExtractionRules: Missing data extraction rules](DataExtractionRules.md.html)