mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-06-06 03:56:53 +00:00
22 lines
546 B
Groovy
22 lines
546 B
Groovy
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "VideoExample"
|
|
|
|
apply(from: {
|
|
def searchDir = rootDir.toPath()
|
|
do {
|
|
def p = searchDir.resolve("node_modules/react-native-test-app/test-app.gradle")
|
|
if (p.toFile().exists()) {
|
|
return p.toRealPath().toString()
|
|
}
|
|
} while (searchDir = searchDir.getParent())
|
|
throw new GradleException("Could not find `react-native-test-app`");
|
|
}())
|
|
applyTestAppSettings(settings)
|