GeezerVison is showing github.com — Prepare Groovy scripts for Kotlin DSL migration by dulmandakh · Pull Request #23355 · react/react-native
Conversation
dulmandakh
commented
Feb 9, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Using Kotlin DSL in Gradle instead of Groovy will help detect problems early on using static typing, and it has advanced IDE support. This PR prepares Groovy script for Kotlin DSL migration per Migrating build logic from Groovy to Kotlin guide. Here is the excerpt:
As a first migration step, it is recommended to prepare your Groovy build scripts by
- unifying quotes using double quotes,
- disambiguating function invocations and property assignments (using respectively parentheses and assignment operator).
See: https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
Changelog
[Android] [Changed] - Prepare Gradle scripts for Kotlin DSL migration
Test Plan
CI is green
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
pull-bot
commented
Feb 9, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dulmandakh
changed the title
prepare Groovy scripts for Kotlin migration
[WIP] prepare Groovy scripts for Kotlin DSL migration
Feb 9, 2019
dulmandakh
changed the title
[WIP] prepare Groovy scripts for Kotlin DSL migration
prepare Groovy scripts for Kotlin DSL migration
Feb 9, 2019
dulmandakh
changed the title
prepare Groovy scripts for Kotlin DSL migration
Prepare Groovy scripts for Kotlin DSL migration
Feb 9, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
mdvacca
Awaiting requested review from mdvacca
2 more reviewers
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Contributor
A React Native contributor.
Merged
This PR has been merged.
Partner
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.