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

Integration test to build release gwt modules #131

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

niloc132
Copy link
Member

@niloc132 niloc132 commented Mar 3, 2022

I'm not very happy with this solution, but I do want to run the test (and others) in CI, so i'll leave this as draft for now.

Tests for issue #126, PR #130

@niloc132 niloc132 force-pushed the 126-gradle-runtime-scope-test branch 2 times, most recently from dac7be6 to bf19415 Compare March 20, 2022 04:02
@niloc132 niloc132 force-pushed the 126-gradle-runtime-scope-test branch from bf19415 to 28dffe0 Compare April 16, 2022 19:07
Gradle's "implementation" configuration for dependencies results in
published maven poms that are technically accurate for building
bytecode, but useless for building J2CL. To fix this, we interpret any
scope=runtime as if it says scope=compile.

This patch also tests many publicly released gwt modules to ensure that
they build cleanly in the plugin, with the hope of avoiding this issue
in the future. There are several commented out dependencies, to avoid
trying to build gwt-dom until the next release is ready. Bug Vertispan#127 is
filed for followup.

Fixes Vertispan#126
This wasn't needed locally with a clean maven cache, but apparently GHA
wants to have it.
I don't like this "fix", but it does force the invoker plugin to
correctly use the dependencies it has downloaded. This PR will be split
to avoid merging this with the actual fix
@niloc132 niloc132 force-pushed the 126-gradle-runtime-scope-test branch from 28dffe0 to bd071b7 Compare November 9, 2022 00:43
@niloc132 niloc132 force-pushed the 126-gradle-runtime-scope-test branch from 847214f to 19c5d81 Compare November 19, 2022 18:54
@niloc132 niloc132 marked this pull request as ready for review December 1, 2022 19:59
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.

1 participant