df2c61d8d7
- replace manual captcha screen with WebView-based VK captcha flow - handle captcha error 14 by showing the captcha overlay and retrying with success_token - pass captcha redirect/result state through AppSettings - remove old captcha ViewModel, navigation, validation, and DI - add ACRA crash reporting - add WIP message edit mode UI/state - update Gradle wrapper, SDK config, and dependencies
15 lines
424 B
Kotlin
15 lines
424 B
Kotlin
package dev.meloda.fast
|
|
|
|
import org.gradle.api.Project
|
|
import org.gradle.api.artifacts.VersionCatalog
|
|
import org.gradle.api.artifacts.VersionCatalogsExtension
|
|
import org.gradle.kotlin.dsl.getByType
|
|
|
|
val Project.libs
|
|
get(): VersionCatalog = extensions.getByType<VersionCatalogsExtension>().named("libs")
|
|
|
|
|
|
fun Project.getVersionInt(alias: String): Int {
|
|
return libs.findVersion(alias).get().requiredVersion.toInt()
|
|
}
|