* Add Compose to app module * Move Theme to ui module * Add Coil image loader * Use Compose for recipe screen * Save instruction to ingredient relation to DB * Display ingredients as server formats them * Display linked ingredients under each step * Fix ingredients padding * Show recipe full screen * Fix recipe screen UI issues * Hide keyboard on recipe navigation * Fix loading recipes from DB with no instructions or ingredients * Add instructions section title * Add ingredients section title * Remove unused view holders
18 lines
549 B
Kotlin
18 lines
549 B
Kotlin
import com.android.build.gradle.internal.dsl.BaseAppModuleExtension
|
|
import gq.kirmanak.mealient.configureAndroidCompose
|
|
import org.gradle.api.Plugin
|
|
import org.gradle.api.Project
|
|
import org.gradle.kotlin.dsl.configure
|
|
|
|
class AndroidApplicationComposeConventionPlugin : Plugin<Project> {
|
|
|
|
override fun apply(target: Project) {
|
|
with(target) {
|
|
pluginManager.apply("com.android.application")
|
|
|
|
extensions.configure<BaseAppModuleExtension> {
|
|
configureAndroidCompose(this)
|
|
}
|
|
}
|
|
}
|
|
} |