-
Notifications
You must be signed in to change notification settings - Fork 375
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (41 loc) · 1.47 KB
/
build.gradle
File metadata and controls
45 lines (41 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import org.apache.tools.ant.taskdefs.condition.Os
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "36.0.0"
minSdkVersion = 24
compileSdkVersion = 36
targetSdkVersion = 36
ndkVersion = "27.1.12297006"
kotlinVersion = "2.1.20"
androidXCore = "1.0.2"
}
repositories {
google()
mavenCentral()
}
dependencies {
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'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
}
}
ext.REACT_NATIVE_NODE_MODULES_DIR = file("$rootDir/../node_modules/react-native").absolutePath
ext.REACT_NATIVE_WORKLETS_NODE_MODULES_DIR =
file("$rootDir/../node_modules/react-native-worklets").absolutePath
allprojects {
repositories {
maven {
url "$rootDir/../../../node_modules/detox/Detox-android"
}
// this is how Notifee finds it's Android library:
maven {
url "$rootDir/../node_modules/@notifee/react-native/android/libs"
}
}
}
apply plugin: "com.facebook.react.rootproject"