diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2024-07-15 23:52:28 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2024-07-16 00:25:07 +0200 |
| commit | 42564c71cfb70c28831c662a3b6bf4084e079353 (patch) | |
| tree | 111456fd3e8dce884d0380a81d70950062c7d212 /build.gradle.kts | |
| parent | 4a8f6807c9d3ee6bcfac25aee832163036b4e6fe (diff) | |
Break out io code in libs
Preparing for adding more io implementations.
Really tried writing the convention plugins in kotlin dsl but could
not find the exact right hacks to get it to work.
Diffstat (limited to 'build.gradle.kts')
| -rw-r--r-- | build.gradle.kts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 435b1fa..0c60167 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,15 @@ plugins { alias(libs.plugins.android.application) apply false + alias(libs.plugins.android.library) apply false + alias(libs.plugins.arturbosch.detekt) apply false alias(libs.plugins.jetbrains.kotlin.android) apply false } + +subprojects { + plugins.withId("com.android.application") { + apply(plugin = "the_jk.android-conventions") + } + plugins.withId("com.android.library") { + apply(plugin = "the_jk.android-conventions") + } +} |
