mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 23:27:04 +05:30
chore(build): reorder DSL declarations
This commit is contained in:
parent
1d32ec810f
commit
bf104a1d85
5 changed files with 28 additions and 26 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue