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
27 lines
934 B
Kotlin
27 lines
934 B
Kotlin
import com.android.build.api.dsl.LibraryExtension
|
|
import dev.meloda.fast.configureAndroidCompose
|
|
import dev.meloda.fast.getVersionInt
|
|
import org.gradle.api.Plugin
|
|
import org.gradle.api.Project
|
|
import org.gradle.kotlin.dsl.apply
|
|
import org.gradle.kotlin.dsl.configure
|
|
|
|
class AndroidLibraryComposeConventionPlugin : Plugin<Project> {
|
|
override fun apply(target: Project) {
|
|
with(target) {
|
|
apply(plugin = "com.android.library")
|
|
apply(plugin = "org.jetbrains.kotlin.plugin.compose")
|
|
apply(plugin = "com.github.skydoves.compose.stability.analyzer")
|
|
|
|
extensions.configure<LibraryExtension> {
|
|
configureAndroidCompose(this)
|
|
androidResources.enable = false
|
|
defaultConfig {
|
|
minSdk = getVersionInt("minSdk")
|
|
compileSdk = getVersionInt("compileSdk")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|