react-native-webview.git

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. kotlinVersion = '1.3.10'
  5. buildToolsVersion = "28.0.3"
  6. minSdkVersion = 19
  7. compileSdkVersion = 28
  8. targetSdkVersion = 28
  9. supportLibVersion = "28.0.0"
  10. detoxKotlinVersion = kotlinVersion
  11. }
  12. repositories {
  13. google()
  14. jcenter()
  15. }
  16. dependencies {
  17. classpath 'com.android.tools.build:gradle:3.4.1'
  18. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. mavenLocal()
  24. google()
  25. jcenter()
  26. maven {
  27. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  28. url "$rootDir/../../node_modules/react-native/android"
  29. }
  30. maven {
  31. // Android JSC is installed from npm
  32. url "$rootDir/../../node_modules/jsc-android/dist"
  33. }
  34. maven { url "$rootDir/../../node_modules/detox/Detox-android" }
  35. }
  36. }