1
1
apply plugin : ' com.android.application'
2
+ apply plugin : ' com.jakewharton.butterknife'
2
3
apply plugin : ' kotlin-android'
3
4
apply plugin : ' kotlin-android-extensions'
4
- apply plugin : ' com.jakewharton.butterknife '
5
+ apply plugin : ' kotlin-kapt '
5
6
6
7
def AAVersion = ' 4.5.2'
7
8
def SupportLibVersion = ' 28.0.0'
@@ -24,6 +25,16 @@ android {
24
25
versionName versions. appVersionName
25
26
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
26
27
multiDexEnabled true
28
+ javaCompileOptions {
29
+ annotationProcessorOptions {
30
+ arguments = [
31
+ ' resourcePackageName' : applicationId,
32
+ " androidManifestFile" : " $projectDir /src/main/AndroidManifest.xml" . toString()
33
+ ]
34
+ }
35
+ }
36
+
37
+
27
38
}
28
39
buildTypes {
29
40
debug {
@@ -104,17 +115,19 @@ dependencies {
104
115
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.1"
105
116
// Android Annotations
106
117
annotationProcessor " org.androidannotations:androidannotations:$AAVersion "
118
+ kapt " org.androidannotations:androidannotations:$AAVersion "
107
119
implementation " org.androidannotations:androidannotations-api:$AAVersion "
108
120
// ButterKnife
109
- implementation(' com.jakewharton:butterknife:9.0.0-rc2 ' , {
121
+ implementation(' com.jakewharton:butterknife:10.2.1 ' , {
110
122
exclude group : ' com.android.support'
111
123
})
112
- annotationProcessor ' com.jakewharton:butterknife-compiler:9.0.0-rc2'
124
+ annotationProcessor ' com.jakewharton:butterknife-compiler:10.2.1'
125
+ kapt ' com.jakewharton:butterknife-compiler:10.2.1'
113
126
// Android supports
114
- implementation ' androidx.appcompat:appcompat:1.0.2 '
127
+ implementation ' androidx.appcompat:appcompat:1.2.0 '
115
128
implementation ' androidx.cardview:cardview:1.0.0'
116
- implementation ' com.google.android.material:material:1.1 .0-alpha01 '
117
- implementation ' androidx.multidex:multidex:2.0.0 '
129
+ implementation ' com.google.android.material:material:1.3 .0-alpha02 '
130
+ implementation ' androidx.multidex:multidex:2.0.1 '
118
131
// Personal libraries
119
132
implementation ' com.github.hyb1996:MutableTheme:1.0.0'
120
133
// Material Dialogs
@@ -147,7 +160,7 @@ dependencies {
147
160
implementation " io.reactivex.rxjava2:rxjava:2.1.2"
148
161
implementation ' io.reactivex.rxjava2:rxandroid:2.0.1'
149
162
// Retrofit
150
- implementation ' com.squareup.retrofit2:retrofit:2.3 .0'
163
+ implementation ' com.squareup.retrofit2:retrofit:2.4 .0'
151
164
implementation ' com.squareup.retrofit2:converter-gson:2.3.0'
152
165
implementation ' com.squareup.retrofit2:converter-gson:2.3.0'
153
166
implementation ' com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
@@ -157,6 +170,7 @@ dependencies {
157
170
exclude group : ' com.android.support'
158
171
})
159
172
kapt ' com.github.bumptech.glide:compiler:4.8.0'
173
+ annotationProcessor ' com.github.bumptech.glide:compiler:4.8.0'
160
174
// joda time
161
175
implementation ' joda-time:joda-time:2.9.9'
162
176
// Tasker Plugin
0 commit comments