Skip to content

Commit 3f6ab33

Browse files
committed
Shrink the code further
The issue seems not caused by `applyDefaultHierarchyTemplate`, which was what I previously suspected.
1 parent 242c53a commit 3f6ab33

File tree

131 files changed

+12
-4080
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+12
-4080
lines changed

buildSrc/src/main/kotlin/common-conventions.gradle.kts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,6 @@ kotlin {
4343

4444

4545

46-
@OptIn(ExperimentalKotlinGradlePluginApi::class)
47-
applyDefaultHierarchyTemplate {
48-
common {
49-
group("composeUi") {
50-
withJvm()
51-
withAndroidTarget()
52-
group("ios")
53-
withWasmJs()
54-
}
55-
}
56-
}
57-
58-
59-
6046
compilerOptions {
6147
freeCompilerArgs.add("-Xexpect-actual-classes")
6248
}

common/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ kotlin {
2929
implementation("org.jetbrains.compose.annotation-internal:annotation:${DependencyVersions.composeMultiplatform}")
3030
}
3131
}
32-
composeUiMain {
32+
/*composeUiMain {
3333
dependencies {
3434
api(compose.foundation)
3535
implementation(compose.ui)
3636
}
37-
}
37+
}*/
3838
jsMain {
3939
dependencies {
4040
api(compose.html.core)

common/src/commonMain/kotlin/com/huanshankeji/compose/Content.kt

Lines changed: 0 additions & 7 deletions
This file was deleted.

common/src/commonMain/kotlin/com/huanshankeji/compose/ExperimentalApi.kt

Lines changed: 0 additions & 8 deletions
This file was deleted.

common/src/commonMain/kotlin/com/huanshankeji/compose/ExtRecommendedApi.kt

Lines changed: 0 additions & 9 deletions
This file was deleted.

common/src/commonMain/kotlin/com/huanshankeji/compose/LikelyInconsistentApi.kt

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.huanshankeji.compose
2+
3+
import kotlin.jvm.JvmInline
4+
5+
@JvmInline
6+
value class Impl(val any: Any)
7+
8+
fun test() {
9+
mutableListOf()
10+
}

common/src/commonMain/kotlin/com/huanshankeji/compose/ext/LoadingState.kt

Lines changed: 0 additions & 13 deletions
This file was deleted.

common/src/commonMain/kotlin/com/huanshankeji/compose/foundation/Background.kt

Lines changed: 0 additions & 13 deletions
This file was deleted.

common/src/commonMain/kotlin/com/huanshankeji/compose/foundation/Border.kt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)