|
|
@ -15,20 +15,8 @@ kotlin { |
|
|
|
export(project(":common:database")) |
|
|
|
export(project(":common:database")) |
|
|
|
export(project(":common:main")) |
|
|
|
export(project(":common:main")) |
|
|
|
export(project(":common:edit")) |
|
|
|
export(project(":common:edit")) |
|
|
|
|
|
|
|
export(Deps.ArkIvanov.Decompose.decompose) |
|
|
|
when (val target = this.compilation.target.name) { |
|
|
|
export(Deps.ArkIvanov.MVIKotlin.mvikotlinMain) |
|
|
|
"iosX64" -> { |
|
|
|
|
|
|
|
export(Deps.ArkIvanov.Decompose.decomposeIosX64) |
|
|
|
|
|
|
|
export(Deps.ArkIvanov.MVIKotlin.mvikotlinMainIosX64) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"iosArm64" -> { |
|
|
|
|
|
|
|
export(Deps.ArkIvanov.Decompose.decomposeIosArm64) |
|
|
|
|
|
|
|
export(Deps.ArkIvanov.MVIKotlin.mvikotlinMainIosArm64) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else -> error("Unsupported target: $target") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -53,20 +41,8 @@ kotlin { |
|
|
|
api(project(":common:database")) |
|
|
|
api(project(":common:database")) |
|
|
|
api(project(":common:main")) |
|
|
|
api(project(":common:main")) |
|
|
|
api(project(":common:edit")) |
|
|
|
api(project(":common:edit")) |
|
|
|
} |
|
|
|
api(Deps.ArkIvanov.Decompose.decompose) |
|
|
|
} |
|
|
|
api(Deps.ArkIvanov.MVIKotlin.mvikotlinMain) |
|
|
|
|
|
|
|
|
|
|
|
named("iosX64Main") { |
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
|
|
|
api(Deps.ArkIvanov.Decompose.decomposeIosX64) |
|
|
|
|
|
|
|
api(Deps.ArkIvanov.MVIKotlin.mvikotlinMainIosX64) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
named("iosArm64Main") { |
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
|
|
|
api(Deps.ArkIvanov.Decompose.decomposeIosArm64) |
|
|
|
|
|
|
|
api(Deps.ArkIvanov.MVIKotlin.mvikotlinMainIosArm64) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|