Browse Source

Upgrade lint to version 8.3.0-alpha11 and suppress false positive.

pull/1745/head
Benoit Marty 11 months ago committed by Benoit Marty
parent
commit
5de8841d96
  1. 2
      features/location/api/src/main/kotlin/io/element/android/features/location/api/Location.kt
  2. 2
      gradle.properties

2
features/location/api/src/main/kotlin/io/element/android/features/location/api/Location.kt

@ -16,11 +16,13 @@ @@ -16,11 +16,13 @@
package io.element.android.features.location.api
import android.annotation.SuppressLint
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
private const val GEO_URI_REGEX = """geo:(?<latitude>-?\d+(?:\.\d+)?),(?<longitude>-?\d+(?:\.\d+)?)(?:;u=(?<uncertainty>\d+(?:\.\d+)?))?"""
@SuppressLint("NewApi")
@Parcelize
data class Location(
val lat: Double,

2
gradle.properties

@ -49,7 +49,7 @@ signing.element.nightly.keyPassword=Secret @@ -49,7 +49,7 @@ signing.element.nightly.keyPassword=Secret
# Customise the Lint version to use a more recent version than the one bundled with AGP
# https://googlesamples.github.io/android-custom-lint-rules/usage/newer-lint.md.html
android.experimental.lint.version=8.2.0-alpha02
android.experimental.lint.version=8.3.0-alpha11
# Enable test fixture for all modules by default
android.experimental.enableTestFixtures=true

Loading…
Cancel
Save