A Kotlin Multiplatform library to rapidly add basic features like pictures, logging, and audio to any project in a small and fast way.
Platforms | Ads | Images | Logging | Sound |
---|---|---|---|---|
Android | ✅ | ✅ | ✅ | ✅ |
iOS | ✅ | ✅ | ✅ | ✅ |
macOS | 🚫 | ✅ | ✅ | ✅ |
watchOS | 🚫 | 🚫 | ✅ | ✅ |
tvOS | 🚫 | ⏳ | ✅ | ✅ |
nodeJS | 🚫 | ⏳ | ✅ | ✅ |
jsBrowser | 🚫 | ⏳ | ✅ | ✅ |
wasmJsBrowser | 🚫 | ⏳ | ✅ | ✅ |
JVM | 🚫 | ✅ | ✅ | ⏳ |
Linux | 🚫 | ⏳ | ✅ | ⏳ |
Windows | 🚫 | ⏳ | ✅ | ⏳ |
Add your dependencies from Maven
# in your 'gradle/libs.versions.toml' file
[versions]
kotlin = "2.1.0" # Updated Kotlin version required for Basic-Sound due to hotfix for reading Compose Resources
lexilabs-basic = "+" # gets the latest version
[libraries]
lexilabs-basic-ads = { group = "app.lexilabs.basic", name = "basic-ads", version.ref = "lexilabs-basic" }
lexilabs-basic-images = { group = "app.lexilabs.basic", name = "basic-images", version.ref = "lexilabs-basic" }
lexilabs-basic-logging = { group = "app.lexilabs.basic", name = "basic-logging", version.ref = "lexilabs-basic" }
lexilabs-basic-sound = { group = "app.lexilabs.basic", name = "basic-sound", version.ref = "lexilabs-basic" }
then include the library in your gradle build
// in your 'shared/build.gradle.kts' or 'composeApp/build.gradle.kts' file
sourceSets {
commonMain.dependencies {
implementation(libs.lexilabs.basic.images)
implementation(libs.lexilabs.basic.logging)
implementation(libs.lexilabs.basic.sound)
implementation(libs.lexilabs.basic.ads)
}
}