-
Notifications
You must be signed in to change notification settings - Fork 108
Pt. 1: Migrate :workflow-core and :workflow-runtime to kmp gradle plugin #793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ceae652
to
e13cd5d
Compare
@@ -164,7 +166,7 @@ org.jlleitschuh.gradle:ktlint-gradle:10.3.0 | |||
org.json:json:20180813 | |||
org.jsoup:jsoup:1.13.1 | |||
org.jvnet.staxex:stax-ex:1.8.1 | |||
org.openjdk.jmh:jmh-core:1.27 | |||
org.openjdk.jmh:jmh-core:1.21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though the plugin lets you override this version and its 1.34. Not sure if this is accurate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -73,6 +73,7 @@ com.squareup.retrofit2:converter-moshi:2.9.0 | |||
com.squareup.retrofit2:retrofit:2.9.0 | |||
com.squareup:javapoet:1.10.0 | |||
com.squareup:javawriter:2.5.0 | |||
com.squareup:kotlinpoet:1.3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know where this was introduced?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's coming from the kotlinx-benchmark plugin. (build scan)
It shouldn't really matter, since this is the build classpath.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems pretty straightforward, though I'm not sure what magic is creating those *-jvm
artifacts.
I'm making a snapshot build and testing against our main project. I'll report back after all the CI finishes.
@@ -73,6 +73,7 @@ com.squareup.retrofit2:converter-moshi:2.9.0 | |||
com.squareup.retrofit2:retrofit:2.9.0 | |||
com.squareup:javapoet:1.10.0 | |||
com.squareup:javawriter:2.5.0 | |||
com.squareup:kotlinpoet:1.3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's coming from the kotlinx-benchmark plugin. (build scan)
It shouldn't really matter, since this is the build classpath.
So @bnvinay92, our CI is green and we should be good to go, except we're missing our common Kotlin settings in these KMP modules. This is why the I've made a PR to introduce a sibling |
The multiplatform plugin creates *-target artifacts per target. Funnily I expected it to create artifacts under workflow-core-jvm-jvm but instead just overwrote workflow-core-jvm with Kotlin artifacts until the artifact id was renamed to drop the jvm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for doing this!
Also migrates from the jmh gradle plugin to kotlinx.benchmark (used in :workflow-runtime).

Running ./gradlew publishToMavenLocal publishes both
workflow-core
andworkflow-core-jvm
.