-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathbuild.gradle
More file actions
84 lines (71 loc) · 1.96 KB
/
build.gradle
File metadata and controls
84 lines (71 loc) · 1.96 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
}
}
plugins {
id "org.sonarqube" version "4.4.1.3373"
id "org.jlleitschuh.gradle.ktlint" version "11.6.1"
}
sonarqube {
properties {
property "sonar.projectKey", "react-native-mparticle"
property "sonar.organization", "mparticle"
property "sonar.host.url", "https://sonarcloud.io"
}
}
apply plugin: 'org.jlleitschuh.gradle.ktlint'
apply plugin: 'com.android.library'
android {
compileSdkVersion 33
defaultConfig {
minSdkVersion 21
targetSdkVersion 33
versionCode 2
versionName "2.0.0"
}
buildTypes {
release {
minifyEnabled false
}
}
adbOptions {
timeOutInMs 10 * 60 * 1000
installOptions "-d","-t"
}
}
repositories {
maven {
//update periodically - current version: 0.70.5
url "$rootDir/react-native-android"
}
mavenCentral()
google()
}
dependencies {
compileOnly 'com.facebook.react:react-native:0.20.1'
//
// In your app, you should include mParticle core like this:
//
// compile 'com.mparticle:android-core:REPLACEME'
//
// (See https://github.com/mparticle/mparticle-android-sdk for the latest version)
//
compileOnly 'com.mparticle:android-core:[5.9.3, )'
//
// And, if you want to include kits, you can do so as follows:
//
// compile 'com.mparticle:android-example-kit:REPLACEME'
//
testImplementation 'org.mockito:mockito-core:5.8.0'
androidTestImplementation 'org.mockito:mockito-android:5.10.0'
testImplementation 'androidx.annotation:annotation:1.7.1'
testImplementation 'junit:junit:4.13.2'
testImplementation files('libs/java-json.jar')
testImplementation 'com.mparticle:android-core:5.55.0'
testImplementation 'com.facebook.react:react-native:0.20.1'
}