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

Fix API checks for Android builds #1058

Merged
merged 3 commits into from
Jun 26, 2023
Merged

Fix API checks for Android builds #1058

merged 3 commits into from
Jun 26, 2023

Conversation

swankjesse
Copy link
Contributor

No description provided.

Base automatically changed from jwilson.0622.install_check to trunk June 23, 2023 17:29
.github/workflows/build.yaml Outdated Show resolved Hide resolved
registerZiplineApiTask(target, kotlinCompile, ZiplineApiValidationTask.Mode.Check)
registerZiplineApiTask(target, kotlinCompile, ZiplineApiValidationTask.Mode.Dump)
}
if ("Test" in kotlinCompile.name) return@withType
Copy link
Member

Choose a reason for hiding this comment

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

I think we can get at the main compilation task through

kotlinExtension.targets.all { target -> .. }

but that can be a follow-up. At the very least it reduces the risk of name-based task logic. Someone could, in theory, have "Test" in their target name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, lemme do

@swankjesse swankjesse enabled auto-merge (squash) June 26, 2023 14:50
@swankjesse swankjesse merged commit 0fa3347 into trunk Jun 26, 2023
6 checks passed
@swankjesse swankjesse deleted the jwilson.0623.android branch June 26, 2023 15:19
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