|
|
|
|
@ -21,6 +21,7 @@ import org.gradle.api.Plugin
|
|
|
|
|
import org.gradle.api.Project
|
|
|
|
|
import org.gradle.kotlin.dsl.configure
|
|
|
|
|
import org.gradle.kotlin.dsl.dependencies
|
|
|
|
|
import org.jetbrains.kotlin.compose.compiler.gradle.ComposeCompilerGradlePluginExtension
|
|
|
|
|
|
|
|
|
|
// Convention plugin for the Compose Multiplatform feature module
|
|
|
|
|
class CmpFeatureConventionPlugin : Plugin<Project> {
|
|
|
|
|
@ -29,6 +30,8 @@ class CmpFeatureConventionPlugin : Plugin<Project> {
|
|
|
|
|
pluginManager.apply {
|
|
|
|
|
apply("nowinandroid.kmp.library")
|
|
|
|
|
apply("nowinandroid.kmp.inject")
|
|
|
|
|
apply("org.jetbrains.kotlin.plugin.compose")
|
|
|
|
|
apply("org.jetbrains.compose")
|
|
|
|
|
}
|
|
|
|
|
extensions.configure<LibraryExtension> {
|
|
|
|
|
defaultConfig {
|
|
|
|
|
|