Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Compose Playground
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Briar Staging
Compose Playground
Commits
5f7479ed
Unverified
Commit
5f7479ed
authored
4 years ago
by
Arkadii Ivanov
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Simplify TodoApp example iOS framework export (#706)
parent
42ad7c7d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt
+0
-4
0 additions, 4 deletions
examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt
examples/todoapp/common/root/build.gradle.kts
+4
-28
4 additions, 28 deletions
examples/todoapp/common/root/build.gradle.kts
with
4 additions
and
32 deletions
examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt
+
0
−
4
View file @
5f7479ed
...
...
@@ -41,8 +41,6 @@ object Deps {
const
val
rx
=
"com.arkivanov.mvikotlin:rx:$VERSION"
const
val
mvikotlin
=
"com.arkivanov.mvikotlin:mvikotlin:$VERSION"
const
val
mvikotlinMain
=
"com.arkivanov.mvikotlin:mvikotlin-main:$VERSION"
const
val
mvikotlinMainIosX64
=
"com.arkivanov.mvikotlin:mvikotlin-main-iosx64:$VERSION"
const
val
mvikotlinMainIosArm64
=
"com.arkivanov.mvikotlin:mvikotlin-main-iosarm64:$VERSION"
const
val
mvikotlinLogging
=
"com.arkivanov.mvikotlin:mvikotlin-logging:$VERSION"
const
val
mvikotlinTimeTravel
=
"com.arkivanov.mvikotlin:mvikotlin-timetravel:$VERSION"
const
val
mvikotlinExtensionsReaktive
=
"com.arkivanov.mvikotlin:mvikotlin-extensions-reaktive:$VERSION"
...
...
@@ -51,8 +49,6 @@ object Deps {
object
Decompose
{
private
const
val
VERSION
=
"0.2.3"
const
val
decompose
=
"com.arkivanov.decompose:decompose:$VERSION"
const
val
decomposeIosX64
=
"com.arkivanov.decompose:decompose-iosx64:$VERSION"
const
val
decomposeIosArm64
=
"com.arkivanov.decompose:decompose-iosarm64:$VERSION"
const
val
extensionsCompose
=
"com.arkivanov.decompose:extensions-compose-jetbrains:$VERSION"
}
}
...
...
This diff is collapsed.
Click to expand it.
examples/todoapp/common/root/build.gradle.kts
+
4
−
28
View file @
5f7479ed
...
...
@@ -15,20 +15,8 @@ kotlin {
export
(
project
(
":common:database"
))
export
(
project
(
":common:main"
))
export
(
project
(
":common:edit"
))
when
(
val
target
=
this
.
compilation
.
target
.
name
)
{
"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"
)
}
export
(
Deps
.
ArkIvanov
.
Decompose
.
decompose
)
export
(
Deps
.
ArkIvanov
.
MVIKotlin
.
mvikotlinMain
)
}
}
}
...
...
@@ -53,20 +41,8 @@ kotlin {
api
(
project
(
":common:database"
))
api
(
project
(
":common:main"
))
api
(
project
(
":common:edit"
))
}
}
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
)
api
(
Deps
.
ArkIvanov
.
Decompose
.
decompose
)
api
(
Deps
.
ArkIvanov
.
MVIKotlin
.
mvikotlinMain
)
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment