mirror of
https://github.com/urosran/cally.git
synced 2025-07-10 07:07:16 +00:00
47 lines
2.1 KiB
Groovy
47 lines
2.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
buildToolsVersion = findProperty('android.buildToolsVersion') ?: '34.0.0'
|
|
minSdkVersion = Integer.parseInt(findProperty('android.minSdkVersion') ?: '23')
|
|
compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: '34')
|
|
targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '34')
|
|
kotlinVersion = findProperty('android.kotlinVersion') ?: '1.9.23'
|
|
|
|
ndkVersion = "26.1.10909125"
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
|
|
classpath('com.android.tools.build:gradle')
|
|
classpath('com.facebook.react:react-native-gradle-plugin')
|
|
classpath('org.jetbrains.kotlin:kotlin-gradle-plugin')
|
|
classpath('com.google.gms:google-services:4.4.2')
|
|
}
|
|
}
|
|
|
|
apply plugin: "com.facebook.react.rootproject"
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android'))
|
|
}
|
|
maven {
|
|
// Android JSC is installed from npm
|
|
url(new File(['node', '--print', "require.resolve('jsc-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), '../dist'))
|
|
}
|
|
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://www.jitpack.io' }
|
|
}
|
|
}
|
|
// @generated begin expo-camera-import - expo prebuild (DO NOT MODIFY) sync-f244f4f3d8bf7229102e8f992b525b8602c74770
|
|
def expoCameraMavenPath = new File(["node", "--print", "require.resolve('expo-camera/package.json')"].execute(null, rootDir).text.trim(), "../android/maven")
|
|
allprojects { repositories { maven { url(expoCameraMavenPath) } } }
|
|
// @generated end expo-camera-import |