Skip to content
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

Wire up the ZiplineDumpTask to the Zipline Gradle plugin #1053

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

swankjesse
Copy link
Contributor

No description provided.

@@ -74,6 +76,12 @@ class ZiplinePlugin : KotlinCompilerPluginSupportPlugin {
it.dependsOn(kotlinWebpack)
}
}

target.tasks.withType(KotlinCompile::class.java) { kotlinCompile ->
if (kotlinCompile.name == "compileKotlinJvm") {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not totally sure how to bootstrap this

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect the check task will need to run on every target to ensure the interface is the same everywhere. Otherwise you could expect/actual and break yourself, or have completely different interfaces in different targets.

Not sure about the task to write it out, then. Maybe we just pick the first target? We're not guaranteed to have a JVM target (and doing things based on task name is generally discouraged anyway).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that a lot. Added this advice as a note on the tracking issue.

@swankjesse swankjesse force-pushed the jwilson.0620.make_api_compatibility_decisions branch from 78bf3b3 to 77d1baa Compare June 22, 2023 00:55
Base automatically changed from jwilson.0620.make_api_compatibility_decisions to trunk June 22, 2023 02:24
@swankjesse swankjesse enabled auto-merge (squash) June 22, 2023 02:32
@swankjesse swankjesse merged commit 5f71614 into trunk Jun 22, 2023
6 checks passed
@swankjesse swankjesse deleted the jwilson.0620.plugin branch June 22, 2023 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants