0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00
Anki-Android/lint-rules
David Allison 95624d8760 refactor: Kotlin 2.0 prep
## Deprecations

* `@Deprecated`/ `@Suppress("OVERRIDE_DEPRECATION")`

====

This declaration overrides a deprecated member but is not marked as deprecated itself.
Please add the '@Deprecated' annotation or suppress the diagnostic.
See https://youtrack.jetbrains.com/issue/KT-47902 for details

## `LinkedList.first`

* `LinkedList.first` to `LinkedList.first()`

----

'val first' is deprecated. This declaration will be renamed in a future version of Kotlin.
Please consider using the 'first()' stdlib extension if the collection supports fast random access.

## `kotlinOptions`

* `kotlinOptions` -> `compilerOptions`

 'kotlinOptions(KotlinJvmOptionsDeprecated /* = KotlinJvmOptions */.() -> Unit): Unit' is deprecated.
 Please migrate to the compilerOptions DSL. More details are here: https://kotl.in/u1r8ln
2024-05-21 15:28:50 +00:00
..
src fix: 'iw' is a RTL language 2024-05-04 15:59:26 +00:00
.gitignore Add lint checks for new time api 2020-08-25 10:04:26 +02:00
build.gradle.kts refactor: Kotlin 2.0 prep 2024-05-21 15:28:50 +00:00