ibash
04/12/2024, 12:26 AMcomposeApp/libs
3. Put the jars in that libs folder
4. In composeApp/build.gradle.kts
I added to kotlin.sourceSets.commonMain.dependencies, e.g.
kotlin {
sourceSets {
commonMain.dependencies {
...
implementation(files("$projectDir/libs/my-first.jar"))
implementation(files("$projectDir/libs/my-second.jar"))
}
}
}
But I still can’t import the classes from those jars in composeApp/src/commonMain/kotlin/App.kt
— any ideas?David Wasser
04/17/2024, 3:09 PM