chore(build): reorder DSL declarations

This commit is contained in:
Harsh Shandilya 2023-04-19 12:29:27 +05:30
parent 1d32ec810f
commit bf104a1d85
No known key found for this signature in database
5 changed files with 28 additions and 26 deletions

View file

@ -4,6 +4,8 @@
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
@file:Suppress("UnstableApiUsage")
plugins {
id("dev.msfjarvis.claw.kotlin-android")
id("dev.msfjarvis.claw.android-library")
@ -11,10 +13,22 @@ plugins {
alias(libs.plugins.whetstone)
}
anvil { generateDaggerFactories.set(true) }
android {
buildFeatures {
androidResources = true
compose = true
}
composeOptions {
useLiveLiterals = false
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
}
namespace = "dev.msfjarvis.claw.common"
}
androidComponents { beforeVariants { it.enableUnitTest = false } }
anvil { generateDaggerFactories.set(true) }
dependencies {
implementation(platform(libs.androidx.compose.bom))
api(libs.napier)
@ -39,15 +53,3 @@ dependencies {
testImplementation(kotlin("test-junit"))
testImplementation(libs.testparameterinjector)
}
android {
buildFeatures {
androidResources = true
compose = true
}
composeOptions {
useLiveLiterals = false
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
}
namespace = "dev.msfjarvis.claw.common"
}