1
+ apply plugin : ' com.android.application'
2
+ apply plugin : ' me.tatarka.retrolambda'
3
+ apply plugin : " com.neenbedankt.android-apt"
4
+ apply plugin : ' com.jakewharton.hugo'
5
+ apply plugin : ' com.siimkinks.sqlitemagic'
6
+
7
+ android {
8
+ signingConfigs {
9
+ signing {
10
+ keyAlias ANDROID_KEY_ALIAS
11
+ keyPassword ANDROID_STORE_PASSWORD
12
+ storeFile file(' StyleMe' )
13
+ storePassword ANDROID_STORE_PASSWORD
14
+ }
15
+ }
16
+ compileSdkVersion 25
17
+ buildToolsVersion " 25.0.2"
18
+ defaultConfig {
19
+ applicationId " com.fastaccess.github"
20
+ minSdkVersion 21
21
+ targetSdkVersion 25
22
+ versionCode 100
23
+ versionName " 1.0.0"
24
+ signingConfig signingConfigs. signing
25
+ buildConfigField " String" , " GITHUB_CLIENT_ID" , " \" ${ GITHUB_CLIENT_ID} \" "
26
+ buildConfigField " String" , " GITHUB_SECRET" , " \" ${ GITHUB_SECRET} \" "
27
+ buildConfigField " String" , " REDIRECT_URL" , " \" ${ REDIRECT_URL} \" "
28
+ buildConfigField " String" , " REST_URL" , ' "https://api.github.com/"'
29
+ }
30
+ buildTypes {
31
+ release {
32
+ minifyEnabled true
33
+ shrinkResources true
34
+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
35
+ }
36
+ }
37
+ sourceSets {
38
+ main {
39
+ res. srcDirs = [
40
+ " src/main/res/" ,
41
+ " src/main/res/layouts/main_layouts" ,
42
+ " src/main/res/layouts/row_layouts" ,
43
+ " src/main/res/layouts/other_layouts" ,
44
+ " src/main/res"
45
+ ]
46
+ }
47
+ }
48
+
49
+ lintOptions {
50
+ abortOnError false
51
+ htmlReport true
52
+ xmlReport true
53
+ disable ' InvalidPackage'
54
+ }
55
+ compileOptions {
56
+ sourceCompatibility JavaVersion . VERSION_1_8
57
+ targetCompatibility JavaVersion . VERSION_1_8
58
+ }
59
+
60
+ configurations {
61
+ all* . exclude module : ' annotations'
62
+ }
63
+ }
64
+
65
+ retrolambda {
66
+ oldJdk System . getenv(" JAVA7_HOME" )
67
+ }
68
+
69
+ repositories {
70
+ maven { url " https://clojars.org/repo/" }
71
+ maven { url " https://oss.sonatype.org/content/repositories/snapshots/" }
72
+ maven { url " http://dl.bintray.com/amulyakhare/maven" }
73
+ maven { url " https://jitpack.io" }
74
+ maven { url " https://s3.amazonaws.com/repo.commonsware.com" }
75
+ maven { url ' http://oss.jfrog.org/artifactory/oss-snapshot-local' }
76
+ }
77
+
78
+ dependencies {
79
+ ext {
80
+ supportVerion = " 25.1.1"
81
+ firebase = " 10.0.1"
82
+ thirtyinchVersion = ' 0.8.0-rc3'
83
+ retrofit = ' 2.1.0'
84
+ }
85
+ compile fileTree(include : [' *.jar' ], dir : ' libs' )
86
+ compile " com.android.support:appcompat-v7:${ supportVerion} "
87
+ compile " com.android.support:design:${ supportVerion} "
88
+ compile " com.android.support:cardview-v7:${ supportVerion} "
89
+ compile " com.android.support:recyclerview-v7:${ supportVerion} "
90
+ compile " com.android.support:preference-v14:${ supportVerion} "
91
+ compile " com.android.support:customtabs:${ supportVerion} "
92
+ compile " com.google.firebase:firebase-messaging:${ firebase} "
93
+ compile " com.google.firebase:firebase-analytics:${ firebase} "
94
+ compile " net.grandcentrix.thirtyinch:thirtyinch:${ thirtyinchVersion} "
95
+ compile " net.grandcentrix.thirtyinch:thirtyinch-rx:${ thirtyinchVersion} "
96
+ compile ' com.android.support.constraint:constraint-layout:1.0.0-beta4'
97
+ compile ' com.nostra13.universalimageloader:universal-image-loader:1.9.5'
98
+ compile ' de.hdodenhof:circleimageview:2.1.0'
99
+ compile ' com.jakewharton:butterknife:8.4.0'
100
+ compile ' org.greenrobot:eventbus:3.0.0'
101
+ compile ' frankiesardo:icepick:3.1.0'
102
+ compile ' it.sephiroth.android.library.bottomnavigation:bottom-navigation:1.0.7'
103
+ compile ' pub.devrel:easypermissions:0.2.1'
104
+ compile ' io.reactivex:rxandroid:1.2.1'
105
+ compile ' io.reactivex:rxjava:1.2.2'
106
+ compile " com.squareup.retrofit2:retrofit:${ retrofit} "
107
+ compile " com.squareup.retrofit2:converter-gson:${ retrofit} "
108
+ compile " com.squareup.retrofit2:adapter-rxjava:${ retrofit} "
109
+ compile ' com.squareup.okhttp3:logging-interceptor:3.3.1'
110
+ compile ' com.annimon:stream:1.1.4'
111
+ compile ' com.commonsware.cwac:anddown:0.3.0'
112
+ provided " org.projectlombok:lombok:1.12.6"
113
+ apt " org.projectlombok:lombok:1.12.6"
114
+ apt ' frankiesardo:icepick-processor:3.1.0'
115
+ apt ' com.jakewharton:butterknife-compiler:8.4.0'
116
+ }
117
+
118
+ apply plugin : " com.google.gms.google-services"
0 commit comments