Skip to content

Commit

Permalink
Prepare Groovy scripts for Kotlin DSL migration (#23355)
Browse files Browse the repository at this point in the history
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/

[Android] [Changed] - Prepare Gradle scripts for Kotlin DSL migration
Pull Request resolved: #23355

Differential Revision: D14018504

Pulled By: mdvacca

fbshipit-source-id: 909982c715b640f102cbe723df578c9af7bae08e
  • Loading branch information
dulmandakh authored and facebook-github-bot committed Feb 9, 2019
1 parent c93cbdf commit 8ccc55f
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 190 deletions.
Loading

0 comments on commit 8ccc55f

Please sign in to comment.