-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
69 lines (57 loc) · 1.78 KB
/
Copy pathbuild.gradle
File metadata and controls
69 lines (57 loc) · 1.78 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
buildscript {
repositories {
mavenCentral()
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.f2prateek.javafmt:javafmt:0.1.6'
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.11.0'
}
}
// Use -Prelease or $ORG_GRADLE_PROJECT_RELEASE="true" to mark the project as a release
ext.isRelease = hasProperty('release')
apply plugin: 'com.android.library'
apply plugin: 'com.f2prateek.javafmt'
apply plugin: 'maven-publish'
android {
compileSdkVersion 29
buildToolsVersion '29.0.2'
defaultConfig {
minSdkVersion 24
targetSdkVersion 29
compileSdkVersion 29
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
testOptions {
// unitTests.returnDefaultValues = true
}
lintOptions {
abortOnError false
}
}
dependencies {
repositories {
mavenCentral()
jcenter()
google()
}
implementation 'com.segment.analytics.android:analytics:4.0.0'
testImplementation 'com.segment.analytics.android:analytics-tests:4.2.6'
implementation 'io.intercom.android:intercom-sdk-base:6.0.1'
implementation 'io.intercom.android:intercom-sdk-fcm:6.0.1'
// Test dependencies
testImplementation 'junit:junit:4.12'
testImplementation 'org.robolectric:robolectric:3.4.2'
testImplementation 'org.assertj:assertj-core:3.8.0'
testImplementation 'org.mockito:mockito-core:1.10.19'
testImplementation 'org.powermock:powermock:1.6.6'
testImplementation 'org.powermock:powermock-module-junit4:1.6.6'
testImplementation 'org.powermock:powermock-module-junit4-rule:1.6.6'
testImplementation 'org.powermock:powermock-api-mockito:1.6.6'
testImplementation 'org.powermock:powermock-classloading-xstream:1.6.6'
}