forked from melod1n/fast-messenger
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
26 lines
789 B
Kotlin
26 lines
789 B
Kotlin
import com.android.build.api.dsl.TestExtension
|
|
import dev.meloda.fast.configureKotlinAndroid
|
|
import dev.meloda.fast.getVersionInt
|
|
import org.gradle.api.Plugin
|
|
import org.gradle.api.Project
|
|
import org.gradle.kotlin.dsl.configure
|
|
|
|
class AndroidTestConventionPlugin : Plugin<Project> {
|
|
override fun apply(target: Project) {
|
|
with(target) {
|
|
with(pluginManager) {
|
|
apply("com.android.test")
|
|
}
|
|
|
|
extensions.configure<TestExtension> {
|
|
configureKotlinAndroid(this)
|
|
defaultConfig {
|
|
minSdk = getVersionInt("minSdk")
|
|
compileSdk = getVersionInt("compileSdk")
|
|
targetSdk = getVersionInt("targetSdk")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|