mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/32139 Currently RN Gradle Plugin is using `kotlin-dsl` that comes will all sorts of side effects on Gradle plugins projects. Specifically we can't specify the Kotlin version, plus it makes harder to include Java source code in a single project. I'm removing it in favor of Kotlin-JVM plugin. I've adapted the code to use the correct APIs. Specifically most of the lambdas are changing the scope of the parameter (from `this` to `it`) so I had to adapt those as well. Changelog: [Internal] [Changed] - Do not use `kotlin-dsl` for `react-native-gradle-plugin` Reviewed By: yungsters Differential Revision: D30726977 fbshipit-source-id: b10635eefdbbb496c4adddd418db6b0ab613ab59