
Extends the standard library with core and extension libraries for Arrow, Coroutines, Exposed, Ktor, reflection, Serialization, Vert.x, and more, enhancing language capabilities.
Huanshankeji's common code libraries in Kotlin
These include a core library to extend the Kotlin language and its standard library, and extension libraries for various Kotlin and Java libraries such as Λrrow, Coroutines (docs here and repository here), Exposed, Ktor, reflection, Serialization (docs here and repository here), Testcontainers, Vert.x (along with extensions for kotlinx-io and Okio), etc. For common extensions for Compose Multiplatform, check out compose-multiplatform-common.
Currently supported targets by multiplatform libraries: JVM, JS (browser), iOS (iosX64, iosArm64, and iosSimulatorArm64), and Wasm JS.
Check out the API documentation here.
"com.huanshankeji:kotlin-common-$module:$version"These are extension libraries: consumers are expected to explicitly declare the original upstream libraries they use alongside the corresponding kotlin-common modules. For example:
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
implementation("com.huanshankeji:kotlin-common-coroutines:$version")
}Our modules deliberately use implementation for upstream dependencies, even when upstream types appear in public extension receivers, parameters, or return types. They do not re-export those libraries onto consumers' compile classpaths. On the JVM, these dependencies still participate in runtime dependency resolution. Declare the upstream modules and any BOMs needed by your code in the relevant source set or configuration.
Huanshankeji's common code libraries in Kotlin
These include a core library to extend the Kotlin language and its standard library, and extension libraries for various Kotlin and Java libraries such as Λrrow, Coroutines (docs here and repository here), Exposed, Ktor, reflection, Serialization (docs here and repository here), Testcontainers, Vert.x (along with extensions for kotlinx-io and Okio), etc. For common extensions for Compose Multiplatform, check out compose-multiplatform-common.
Currently supported targets by multiplatform libraries: JVM, JS (browser), iOS (iosX64, iosArm64, and iosSimulatorArm64), and Wasm JS.
Check out the API documentation here.
"com.huanshankeji:kotlin-common-$module:$version"These are extension libraries: consumers are expected to explicitly declare the original upstream libraries they use alongside the corresponding kotlin-common modules. For example:
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
implementation("com.huanshankeji:kotlin-common-coroutines:$version")
}Our modules deliberately use implementation for upstream dependencies, even when upstream types appear in public extension receivers, parameters, or return types. They do not re-export those libraries onto consumers' compile classpaths. On the JVM, these dependencies still participate in runtime dependency resolution. Declare the upstream modules and any BOMs needed by your code in the relevant source set or configuration.