Skip to content

feat: Validate Java compiler version based on runtime version #3613

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

Merged
merged 3 commits into from
May 25, 2018

Conversation

rosen-vladimirov
Copy link
Contributor

Update calls to nativescript-doctor package to pass projectDir where applicable. This allows the package to verify installed Java Compiler version against the project's Android runtime.
This is required in case the installed Java version is 10 or above and the Androud runtime in the project is older than 4.1.0. In this case the user cannot build this application for Android, but have to update the Android runtime version or downgrade the Java version.

PR Checklist

@rosen-vladimirov rosen-vladimirov added this to the 4.1.0 milestone May 24, 2018
@rosen-vladimirov rosen-vladimirov self-assigned this May 24, 2018
Update calls to `nativescript-doctor` package to pass projectDir where applicable. This allows the package to verify installed Java Compiler version against the project's Android runtime.
This is required in case the installed Java version is 10 or above and the Androud runtime in the project is older than 4.1.0. In this case the user cannot build this application for Android, but have to update the Android runtime version or downgrade the Java version.
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/integrate-doctor branch from 6e94e10 to 58f4654 Compare May 25, 2018 12:05
@rosen-vladimirov rosen-vladimirov merged commit 2e439e5 into master May 25, 2018
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/integrate-doctor branch May 25, 2018 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants