GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Prepare Groovy scripts for Kotlin DSL migration by dulmandakh · Pull Request #23355 · react/react-native

Conversation

@dulmandakh

@dulmandakh dulmandakh commented Feb 9, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@dulmandakh
groovy explicit function call
ef48f09
@facebook-github-bot facebook-github-bot added 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. Partner labels Feb 9, 2019
@pull-bot

pull-bot commented Feb 9, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Messages
📖

📋 Changelog Format - Did you include a Changelog? A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

Generated by 🚫 dangerJS against c7052c3

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dulmandakh dulmandakh changed the title prepare Groovy scripts for Kotlin migration [WIP] prepare Groovy scripts for Kotlin DSL migration Feb 9, 2019
@dulmandakh
replace quotes
c7052c3
@dulmandakh
dulmandakh requested a review from gengjiawen February 9, 2019 16:18
@dulmandakh dulmandakh changed the title [WIP] prepare Groovy scripts for Kotlin DSL migration prepare Groovy scripts for Kotlin DSL migration Feb 9, 2019
@dulmandakh dulmandakh changed the title prepare Groovy scripts for Kotlin DSL migration Prepare Groovy scripts for Kotlin DSL migration Feb 9, 2019
@dulmandakh
dulmandakh requested a review from mdvacca February 9, 2019 16:18
gengjiawen
gengjiawen approved these changes Feb 9, 2019
View reviewed changes
@react-native-bot react-native-bot added the PR: Includes Changelog label Feb 9, 2019
@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Feb 9, 2019
facebook-github-bot
facebook-github-bot approved these changes Feb 9, 2019
View reviewed changes

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

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.

@mdvacca is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@facebook-github-bot facebook-github-bot closed this in 8ccc55f Feb 9, 2019
@react-native-bot

react-native-bot commented Feb 9, 2019

Copy link
Copy Markdown
Collaborator

@dulmandakh merged commit 8ccc55f into facebook:master.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@react react locked as resolved and limited conversation to collaborators Feb 9, 2019
@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 9, 2019
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 14, 2019
@dulmandakh
dulmandakh deleted the gradle-strict branch February 22, 2019 14:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@mdvacca mdvacca Awaiting requested review from mdvacca
2 more reviewers
@gengjiawen gengjiawen gengjiawen approved these changes
@facebook-github-bot facebook-github-bot facebook-github-bot approved these changes
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

Projects

None yet

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.

6 participants

@dulmandakh @pull-bot @react-native-bot @gengjiawen @facebook-github-bot @hramos
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.