diff --git a/test/react-native/features/fixtures/scenario-launcher/android/build.gradle b/test/react-native/features/fixtures/scenario-launcher/android/build.gradle index 16a0ecf22..e567bab5f 100644 --- a/test/react-native/features/fixtures/scenario-launcher/android/build.gradle +++ b/test/react-native/features/fixtures/scenario-launcher/android/build.gradle @@ -2,15 +2,26 @@ def isNewArchitectureEnabled() { return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true" } +def safeExtGet(prop, fallback) { + rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback +} + +buildscript { + repositories { + google() + mavenCentral() + } + dependencies { + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0") + } +} + apply plugin: 'com.android.library' apply plugin: 'org.jetbrains.kotlin.android' if (isNewArchitectureEnabled()) { apply plugin: 'com.facebook.react' } -def safeExtGet(prop, fallback) { - rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback -} android { buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')