0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
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
AbdelrahmanEsam
bb0c4a85bf
Migrate version catalog (#15966)
* version catalog conflict
 solve

* implementing version catalog for stable versioning between modules

* implementing version catalog for stable versioning between modules

---------

Co-authored-by: abdelrahmanesam <abdelrahmanesam>
2024-03-27 00:53:28 +00:00
lukstbit
c96827ece2
Migrate lint-rules build file to kotlin dsl (#14531)
* Rename lint-rules/build.gradle to lint-rules/build.gradle.kts
* Use kotlin dsl in lint-rules/build.gradle.kts

In order to use the version properties defined in the root build file
the rootProject's extra properties container must be used.
2023-10-12 09:24:06 +03:00