ClipSync-Mobile/android/build.gradle
Djalim Simaila e9ae892cdd
All checks were successful
Building APK / build-apk (push) Successful in 40m56s
🔧 chore(buildapk.yaml): add new GitHub Actions workflow for building APK
🔧 chore(build.gradle): update ndkVersion to 26.2.11394342 for better compatibility
🔧 chore(gradle.properties): increase JVM args for better performance
🔧 chore(eas.json): add buildType as apk for all build profiles to generate APKs
🔧 chore(package.json): downgrade @react-native-async-storage/async-storage to 1.21.0 and react-native-pager-view to 6.2.3 for compatibility
🔧 chore(package.json): add expo-dev-client@3.3.11 for better development experience
🔧 chore(package.json): update react-native-reanimated to latest, react-native-safe-area-context to 4.8.2 and react-native-screens to 3.29.0 for better compatibility and performance
2024-04-07 03:01:53 +02:00

41 lines
1.5 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.8.10'
ndkVersion = "26.2.11394342"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath('com.android.tools.build:gradle')
classpath('com.facebook.react:react-native-gradle-plugin')
}
}
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' }
}
}