Update project to use Gradle's plugins{} block

Summary:
This project was still using the legacy Gradle's "apply:" syntax
to apply Gradle Plugins. I'm changing it here to use instead the
`plugins{}` block as it make easier to apply other plugins for publishing later.

Reviewed By: mdvacca

Differential Revision: D46330014

fbshipit-source-id: 5483a717a62d5ab76749026c5203dc96a35d73e7
This commit is contained in:
Nicola Corti
2023-05-31 14:48:05 -07:00
committed by Facebook GitHub Bot
parent f2b4e42ca2
commit 186f4d318d
5 changed files with 20 additions and 16 deletions

View File

@@ -5,7 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/
apply plugin: 'com.android.application'
plugins {
id("com.android.application")
}
android {
namespace 'com.facebook.yoga.sample'