-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
75 lines (70 loc) · 2.58 KB
/
build.gradle
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
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "org.ipforsmartobjects.apps.popularmovies"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
jackOptions {
enabled true
additionalParameters('jack.incremental': 'true')
}
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dataBinding {
enabled = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
// Normally this would throw an error
// https://github.com/square/okio/issues/58
warning 'InvalidPackage'
}
}
ext {
supportLibVersion = '25.3.1'
googlePlayServicesVersion = '10.0.1'
firebaseVersion = '10.0.1'
picassoVersion = '2.5.2'
retrofitVersion = '2.3.0'
gsonVersion = '2.8.0'
guavaVersion = '18.0'
rxAndroid = '2.0.1'
rxJava = '2.0.1'
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.3-alpha', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile "com.android.support:appcompat-v7:${supportLibVersion}"
compile "com.android.support:support-v4:${supportLibVersion}"
compile "com.android.support:recyclerview-v7:${supportLibVersion}"
compile "com.android.support:design:${supportLibVersion}"
compile "com.squareup.picasso:picasso:${picassoVersion}"
compile "com.squareup.retrofit2:retrofit:${retrofitVersion}"
compile "com.squareup.retrofit2:converter-gson:${retrofitVersion}"
compile "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}"
compile "com.google.code.gson:gson:${gsonVersion}"
compile "com.google.guava:guava:${guavaVersion}"
compile "io.reactivex.rxjava2:rxandroid:${rxAndroid}"
compile "io.reactivex.rxjava2:rxjava:${rxJava}"
compile "com.android.support:cardview-v7:${supportLibVersion}"
compile "com.android.support:support-v4:${supportLibVersion}"
compile "com.android.support:support-vector-drawable:${supportLibVersion}"
compile "com.android.support:palette-v7:${supportLibVersion}"
testCompile 'junit:junit:4.12'
}