Use fragment-ktx and preference-ktx dependencies (fix lint issue KtxExtensionAvailable)

This commit is contained in:
Benoit Marty 2020-12-02 12:46:15 +01:00
parent c426364618
commit 89a7ec6d4b
4 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,7 @@ SDK API changes ⚠️:
Build 🧱: Build 🧱:
- Upgrade some dependencies and Kotlin version - Upgrade some dependencies and Kotlin version
- Use fragment-ktx and preference-ktx dependencies (fix lint issue KtxExtensionAvailable)
Test: Test:
- -

View File

@ -43,7 +43,7 @@ android {
dependencies { dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.appcompat:appcompat:1.2.0'
implementation "androidx.fragment:fragment:1.3.0-beta01" implementation "androidx.fragment:fragment-ktx:1.3.0-beta01"
implementation 'androidx.exifinterface:exifinterface:1.3.1' implementation 'androidx.exifinterface:exifinterface:1.3.1'
// Log // Log

View File

@ -362,7 +362,7 @@ dependencies {
implementation "io.arrow-kt:arrow-core:$arrow_version" implementation "io.arrow-kt:arrow-core:$arrow_version"
// Pref // Pref
implementation 'androidx.preference:preference:1.1.1' implementation 'androidx.preference:preference-ktx:1.1.1'
// UI // UI
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'

View File

@ -52,6 +52,9 @@
<!-- Manifest --> <!-- Manifest -->
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" /> <issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
<!-- Dependencies -->
<issue id="KtxExtensionAvailable" severity="error" />
<!-- Timber --> <!-- Timber -->
<!-- This rule is failing on CI because it's marked as unknwown rule id :/--> <!-- This rule is failing on CI because it's marked as unknwown rule id :/-->
<!-- <issue id="BinaryOperationInTimber" severity="error" />--> <!-- <issue id="BinaryOperationInTimber" severity="error" />-->