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

Issues/120: Use javaCompileProvider in Android template #194

Merged
merged 1 commit into from
Dec 2, 2019
Merged

Issues/120: Use javaCompileProvider in Android template #194

merged 1 commit into from
Dec 2, 2019

Conversation

cswagner
Copy link
Contributor

@cswagner cswagner commented Nov 21, 2019

Resolves #120

javaCompile was deprecated in the Android Gradle plugin as of v3.3.0 in favor of javaCompileProvider to support lazy task configuration (see release notes).

Since the Android Gradle plugin is currently configured in the template to v3.4.1 it's safe to just use javaCompileProvider directly.

@brodycj
Copy link
Owner

brodycj commented Nov 27, 2019

Thanks, I will test this within the next week or so. My apologies for the delay.

@brodycj brodycj self-assigned this Dec 2, 2019
@brodycj brodycj merged commit 26fff8b into brodycj:master Dec 2, 2019
@brodycj
Copy link
Owner

brodycj commented Dec 2, 2019

Merged with a merge commit. A big thank you to @cswagner, it should help quite a few people in the near term.

I tested with example on React Native 0.59, 0.60, and 0.61 with installation from GitHub using the following command:

npm i -g github:cswagner/create-react-native-module#issues/120

with 100% success on Android.

New release with this fix should be coming in the next few hours (at most).

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.

[Android Studio support] Gradle build issue after creating.
2 participants