Skip to content

Commit

Permalink
Update default project
Browse files Browse the repository at this point in the history
  • Loading branch information
terrakok committed Jan 4, 2022
1 parent 45fe555 commit 6e39370
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ enum class SingleTargetLibrary(
"io.ktor:ktor-client-ios:$KtorVersion",
MAIN
),
KTOR_CLIENT_OKHTTP(
KTOR_CLIENT_ANDROID(
ANDROID,
"Ktor OkHttp Client",
"Ktor Android Client",
"io.ktor:ktor-client-okhttp:$KtorVersion",
MAIN
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import org.jetbrains.webwiz.generator.generate
import org.jetbrains.webwiz.models.KmpLibrary
import org.jetbrains.webwiz.models.KotlinVersion
import org.jetbrains.webwiz.models.ProjectInfo
import org.jetbrains.webwiz.models.SingleTargetLibrary
import org.jetbrains.webwiz.models.Target
import org.jetbrains.webwiz.setHighlightedCode
import org.jetbrains.webwiz.style.WtContainer
Expand All @@ -27,9 +28,9 @@ private val defaultProject = ProjectInfo(
packageName = "org.sample.application",
kotlinVersion = KotlinVersion.Stable,
targets = setOf(Target.ANDROID, Target.IOS),
enableTests = false,
dependencies = setOf(KmpLibrary.SERIALIZATION),
singleTargetDependencies = emptySet(),
enableTests = true,
dependencies = setOf(KmpLibrary.COROUTINES, KmpLibrary.KERMIT_LOGGER, KmpLibrary.KTOR_CORE),
singleTargetDependencies = setOf(SingleTargetLibrary.KTOR_CLIENT_IOS, SingleTargetLibrary.KTOR_CLIENT_ANDROID),
nativeTargetLibraries = emptySet(),
gradlePlugins = emptySet()
).normalize()
Expand Down

0 comments on commit 6e39370

Please sign in to comment.