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 kotlin Multiplatform Test: The test requires Java 17 but in our github action we only have 11 #298

Merged
merged 2 commits into from May 26, 2024

Conversation

balrok
Copy link
Contributor

@balrok balrok commented Apr 23, 2024

By downgrading the android-gradle plugin, it also runs with java 11

also fixed how the absolute path is computed for a relative output directory. This was failing in the test.

And replaced the deprecated projectDir/buildDir variables: https://docs.gradle.org/current/userguide/upgrading_version_8.html#deprecated_project_builddir_can_cause_script_compilation_failure

By downgrading the android-gradle plugin, it also runs with java 11
also fix the resolution of relative output directories: for the
Multiplatform-test it failed because it resolved the path to
":android/my/path"
@balrok balrok force-pushed the bugfix/fix-kotlin-multiplatform-test branch from 06cc42a to 8b85eb5 Compare April 23, 2024 20:56
@jk1 jk1 merged commit 30f36c1 into jk1:master May 26, 2024
1 check passed
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.

None yet

2 participants