-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathbuild.gradle
More file actions
82 lines (67 loc) · 2.42 KB
/
build.gradle
File metadata and controls
82 lines (67 loc) · 2.42 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
apply plugin: 'com.android.library'
apply plugin: 'checkstyle'
apply plugin: 'io.fabric'
android {
compileSdkVersion compileSdk
buildToolsVersion buildTools
defaultConfig {
minSdkVersion 16
targetSdkVersion targetSdk
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
testOptions {
unitTests.all {
testLogging {
exceptionFormat = 'full'
}
}
}
lintOptions {
// We have okio as a transitive dependency, which causes some lint errors due to
// using Java 8 nio packages. Safely downgrading them to warning.
// https://github.com/square/okio/issues/58
warning 'InvalidPackage'
}
}
dependencies {
compile "com.android.support:design:$support_library_version"
compile "com.android.support:customtabs:$support_library_version"
compile "com.google.firebase:firebase-auth:$firebase_version"
compile "com.google.android.gms:play-services-auth:$firebase_version"
compile 'com.facebook.android:facebook-android-sdk:4.17.0'
compile("com.twitter.sdk.android:twitter:2.2.0@aar") { transitive = true }
// The following libraries are needed to prevent incompatibilities with the facebook
// library when updating com.android.support libraries:
compile "com.android.support:cardview-v7:$support_library_version"
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.2.22'
testCompile 'org.robolectric:robolectric:3.1.2'
// See https://github.com/robolectric/robolectric/issues/1932#issuecomment-219796474
testCompile 'org.khronos:opengl-api:gl1.1-android-2.1_r1'
}
checkstyle {
configFile file('../common/checkstyle/checkstyle.xml')
configProperties = ['checkstyle.java.header': file('../common/checkstyle/java.header').getAbsolutePath()]
toolVersion = "6.11.2"
}
task checkAllSource(type: Checkstyle) {
source 'src/main/java'
include '**/*.java'
classpath = files(project.configurations.compile)
}
javadoc.exclude([
'com/firebase/ui/auth/provider/**',
'com/firebase/ui/auth/ui/ExtraConstants',
'com/firebase/ui/auth/ui/email/field_validators/**',
'com/firebase/ui/auth/util/**',
])
javadoc.include([
'com/google/firebase/auth/**'
])