Add support for multiplatform targets#2
Conversation
iamcalledrob
left a comment
There was a problem hiding this comment.
This looks great, cool to see the underlying library is now multiplatform.
Unfortunately I don't have a Mac handy that can build iOS+Mac artifacts to publish to maven central for non-android/JVM.
Feel free to set up GitHub actions to generate artifacts if you'd like to see another release cut.
I wish there was a better way of handling this problem, it's such a sore point in Kotlin multiplatform.
| id("org.jetbrains.compose") version "1.6.11" | ||
| id("com.android.library") version "8.2.0" | ||
| kotlin("multiplatform") version "2.2.10" | ||
| id("org.jetbrains.kotlin.plugin.compose") version "2.2.10" |
There was a problem hiding this comment.
Curious why the plugin is needed?
There was a problem hiding this comment.
To use compose, it is now mandatory to apply this plugin: https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compiler.html#migrating-a-compose-multiplatform-project
|
I have setup github actions. You'll need to set up the proper environment variables, then just publish a release on github and the workflow should start |
| // - signing.gnupg.secretKeyRingFile | ||
| // - mavenCentralUsername | ||
| // - mavenCentralPassword | ||
|
|
There was a problem hiding this comment.
This should not apply anymore now that the publishing happens via CI/CD
graphics-shapes is now multiplatform and this PR adds support for the missing multiplatform targets. Kotlin version and dependencies have been updated as well.