You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
// Top-level build file where you can add configuration options common to all sub-projects/modules. |
|
|
|
buildscript { |
|
ext { |
|
buildToolsVersion = "33.0.0" |
|
minSdkVersion = 25 |
|
compileSdkVersion = 33 |
|
targetSdkVersion = 33 |
|
|
|
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. |
|
ndkVersion = "23.1.7779620" |
|
pdfViewerVersion = "3.2.0-beta.1" |
|
pdfViewerRepo = "com.github.mhiew" |
|
|
|
kotlinVersion ='1.6.10' |
|
} |
|
repositories { |
|
google() |
|
mavenCentral() |
|
maven { |
|
url "$rootDir/../node_modules/@notifee/react-native/android/libs" |
|
} |
|
} |
|
dependencies { |
|
classpath("com.android.tools.build:gradle") |
|
classpath("com.facebook.react:react-native-gradle-plugin") |
|
classpath 'com.google.gms:google-services:4.4.1' |
|
} |
|
subprojects { subproject -> |
|
afterEvaluate{ |
|
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) { |
|
android { |
|
compileSdkVersion rootProject.ext.compileSdkVersion |
|
buildToolsVersion rootProject.ext.buildToolsVersion |
|
} |
|
} |
|
} |
|
} |
|
}
|
|
|