50 lines
1.5 KiB
Kotlin
50 lines
1.5 KiB
Kotlin
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
group = "com.skydoves.gemini.buildlogic"
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(libs.android.gradlePlugin)
|
|
compileOnly(libs.kotlin.gradlePlugin)
|
|
compileOnly(libs.spotless.gradlePlugin)
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("androidApplicationCompose") {
|
|
id = "skydoves.android.application.compose"
|
|
implementationClass = "AndroidApplicationComposeConventionPlugin"
|
|
}
|
|
register("androidApplication") {
|
|
id = "skydoves.android.application"
|
|
implementationClass = "AndroidApplicationConventionPlugin"
|
|
}
|
|
register("androidLibraryCompose") {
|
|
id = "skydoves.android.library.compose"
|
|
implementationClass = "AndroidLibraryComposeConventionPlugin"
|
|
}
|
|
register("androidLibrary") {
|
|
id = "skydoves.android.library"
|
|
implementationClass = "AndroidLibraryConventionPlugin"
|
|
}
|
|
register("androidFeature") {
|
|
id = "skydoves.android.feature"
|
|
implementationClass = "AndroidFeatureConventionPlugin"
|
|
}
|
|
register("androidHilt") {
|
|
id = "skydoves.android.hilt"
|
|
implementationClass = "AndroidHiltConventionPlugin"
|
|
}
|
|
register("spotless") {
|
|
id = "skydoves.spotless"
|
|
implementationClass = "SpotlessConventionPlugin"
|
|
}
|
|
}
|
|
}
|