Skip to content

Commit c8faa4a

Browse files
committed
- fixed build
1 parent e8fc3b6 commit c8faa4a

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

androidApp/build.gradle.kts

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ android {
4141

4242
dependencies {
4343
implementation(project(":composeApp"))
44-
// implementation(project(":core"))
4544

4645
implementation(libs.androidx.lifecycle.runtime.ktx)
4746
implementation(libs.androidx.activity.compose)

composeApp/build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ kotlin {
5858
// datastore
5959
implementation(libs.kotlinx.serialization.protobuf)
6060
}
61+
62+
androidMain.dependencies {
63+
implementation(libs.compose.ui.tooling)
64+
}
6165
}
6266
}
6367

core-ui/src/commonMain/kotlin/com/coderwise/core/ui/component/CoreTopBar.kt

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ import androidx.compose.ui.Modifier
1414
import com.coderwise.core.ui.utils.CorePreview
1515
import org.jetbrains.compose.ui.tooling.preview.Preview
1616

17+
data class TopBarConfiguration(
18+
val actions: List<@Composable () -> Unit> = emptyList()
19+
)
20+
1721
@OptIn(ExperimentalMaterial3Api::class)
1822
@Composable
1923
fun CoreTopBar(

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ android.useAndroidX=true
1616
kotlin.code.style=official
1717
org.gradle.caching=true
1818
org.gradle.configuration-cache=true
19-
org.gradle.jvmargs=-Xmx4096M -Dfile.encoding\=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx4096M"
19+
org.gradle.jvmargs=-Xmx8192M -Dfile.encoding\=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx8192M"

gradle/libs.versions.toml

+3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ mockk = "1.13.5"
1717
kotlinxDatetime = "0.6.2"
1818
coderwiseCore = "1.0"
1919
kotlinStdlibVersion = "2.1.10"
20+
composeTooling = "1.7.8"
2021

2122
[libraries]
2223
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
2324
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
2425

26+
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "composeTooling" }
27+
2528
navigation-compose = { module = "org.jetbrains.androidx.navigation:navigation-compose", version.ref = "navigationCompose" }
2629

2730
androidx-datastore = { module = "androidx.datastore:datastore", version.ref = "datastore" }

0 commit comments

Comments
 (0)