Rocket.Chat.ReactNative/android/build.gradle

106 lines
3.4 KiB
Groovy
Raw Normal View History

2017-08-03 18:23:43 +00:00
buildscript {
def taskRequests = getGradle().getStartParameter().getTaskRequests().toString().toLowerCase()
def isPlay = !taskRequests.contains("foss")
ext {
2024-03-19 20:58:31 +00:00
buildToolsVersion = "34.0.0"
minSdkVersion = 23
2024-03-19 20:58:31 +00:00
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
kotlinVersion = "1.8.0"
kotlin_version = kotlinVersion
glideVersion = "4.11.0"
supportLibVersion = "28.0.0"
libre_build = !(isPlay.toBoolean())
}
2017-08-03 18:23:43 +00:00
repositories {
google()
2024-03-19 20:58:31 +00:00
// mavenLocal()
// maven {
// url 'https://maven.fabric.io/public'
// }
mavenCentral()
2017-08-03 18:23:43 +00:00
}
2017-08-03 18:23:43 +00:00
dependencies {
if (isPlay) {
classpath 'com.google.gms:google-services:4.3.8'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
2024-03-19 20:58:31 +00:00
classpath "com.bugsnag:bugsnag-android-gradle-plugin:8.+"
}
2024-03-19 20:58:31 +00:00
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
2024-03-19 20:58:31 +00:00
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
2017-08-03 18:23:43 +00:00
}
}
allprojects {
repositories {
2024-03-19 20:58:31 +00:00
// mavenLocal()
// maven {
// // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url("$rootDir/../node_modules/react-native/android")
// }
// maven {
// // Android JSC is installed from npm
// url("$rootDir/../node_modules/jsc-android/dist")
// }
maven {
url "$rootDir/../node_modules/detox/Detox-android"
}
feat: Add caller and ringer to video conf calls (#5046) * add expo camera and use camera on call init action sheet * fix permissions * set colors when calling * update @react-native-community/hooks lib * move to useWindowDimensions * create action to handle video-conf calls * create videoConf reducer * add typed-redux-saga lib * fix return * change videoConf saga to TS * fix TS target * update action and types * create actionSheetRef * add notifyUser api * export video conf types * add action prop * use new reducer prop * add videoConferenceCancel and add allowRinging to videoConferenceStart * temp-patch * add locales * add handler to videoconf message * fix rest types * add message types * path to remove component from dom * remove notification when is videoconf * create sound hook * create dots loader * update call translation * the end is near * move to confirmed * better code reading * fix call type * fix tests * update podfile * wip * fix call order * move colors * move to jsx * fix colors * add pt-br * remove patch and point * fix colors * fix expo camera * move to style * remove unused styles * update types and style * wip * rename IncomingCallComponent * add custom notification * wip * fix naming * fix styles * fix import * fix styles * change colors * fixa ringing * fix import * organize * fix sizes * use realName * fix spacing * fix icon size * fix header gap * changeColor * fix safeArea * set calling only on direct calls * change ringer to be a component * cancel call on swipe * remove join on direct calls * add props * update package
2023-07-04 00:03:39 +00:00
maven {
// expo-camera bundles a custom com.google.android:cameraview
url "$rootDir/../node_modules/expo-camera/android/maven"
}
2024-03-19 20:58:31 +00:00
// mavenCentral {
// content {
// excludeGroup "com.facebook.react"
// }
// }
2024-03-19 20:58:31 +00:00
// google()
// maven { url 'https://maven.google.com' }
// maven { url 'https://www.jitpack.io' }
2024-03-19 20:58:31 +00:00
// // https://stackoverflow.com/a/74333788/5447468
// // TODO: remove once we update RN
// exclusiveContent {
// // We get React Native's Android binaries exclusively through npm,
// // from a local Maven repo inside node_modules/react-native/.
// // (The use of exclusiveContent prevents looking elsewhere like Maven Central
// // and potentially getting a wrong version.)
// filter {
// includeGroup "com.facebook.react"
// }
// forRepository {
// maven {
// // NOTE: if you are in a monorepo, you may have "$rootDir/../../../node_modules/react-native/android"
// url "$rootDir/../node_modules/react-native/android"
// }
// }
// }
2023-03-07 12:28:51 +00:00
}
}
subprojects { subproject ->
afterEvaluate {
if (!project.name.equalsIgnoreCase("app") && project.hasProperty("android")) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
}
}
}
}
2024-03-19 20:58:31 +00:00
}
apply plugin: "com.facebook.react.rootproject"