@@ -43,13 +43,26 @@ android {
43
43
44
44
dependencies {
45
45
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
46
+
47
+ // kotlin plugin
46
48
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
49
+ // kotlin ktx (used 0.3 now , 1.0.0 need api28)
50
+ implementation " androidx.core:core-ktx:$ktx_version "
51
+
52
+ // support
47
53
implementation " com.android.support:appcompat-v7:$android_support "
48
54
implementation " com.android.support:support-v4:${ android_support} "
49
55
implementation " com.android.support:recyclerview-v7:${ android_support} "
50
56
implementation " com.android.support:design:${ android_support} "
51
57
implementation " com.android.support:cardview-v7:${ android_support} "
52
- implementation ' com.android.support.constraint:constraint-layout:2.0.0-alpha2'
58
+
59
+ // constraint
60
+ implementation " com.android.support.constraint:constraint-layout:${ constraint_version} "
61
+
62
+ // navigation
63
+ implementation " android.arch.navigation:navigation-fragment:${ navigation_version} "
64
+ implementation " android.arch.navigation:navigation-ui:${ navigation_version} "
65
+
53
66
54
67
// dagger
55
68
implementation " com.google.dagger:dagger:${ dagger_version} "
@@ -58,10 +71,10 @@ dependencies {
58
71
kapt " com.google.dagger:dagger-android-processor:${ dagger_version} "
59
72
60
73
// HTTP retrofit2
74
+ implementation " com.squareup.okhttp3:logging-interceptor:${ okhttp3_version} "
61
75
implementation " com.squareup.retrofit2:retrofit:${ retrofit_version} "
62
76
implementation " com.squareup.retrofit2:converter-gson:${ retrofit_version} "
63
77
implementation " com.squareup.retrofit2:adapter-rxjava2:${ retrofit_version} "
64
- implementation ' com.squareup.okhttp3:logging-interceptor:3.10.0'
65
78
implementation (" com.squareup.retrofit2:converter-simplexml:${ rx_version} " ){
66
79
exclude group : ' xpp3' , module : ' xpp3'
67
80
exclude group : ' stax' , module : ' stax-api'
@@ -87,8 +100,8 @@ dependencies {
87
100
implementation " devlight.io:navigationtabbar:${ tabbar_version} "
88
101
89
102
// iconics 3.1.0开始使用了androidx
90
- implementation " com.mikepenz:iconics-core:3.0.4@aar "
91
- implementation " com.mikepenz:iconics-views:3.0.4@aar "
103
+ implementation " com.mikepenz:iconics-core:${ iconics_version } "
104
+ implementation " com.mikepenz:iconics-views:${ iconics_version } "
92
105
implementation ' com.mikepenz:material-design-iconic-typeface:2.2.0.5@aar'
93
106
implementation ' com.mikepenz:fontawesome-typeface:5.3.1.1@aar'
94
107
implementation ' com.mikepenz:octicons-typeface:3.2.0.5@aar'
@@ -97,5 +110,5 @@ dependencies {
97
110
implementation ' com.mikepenz:ionicons-typeface:2.0.1.5@aar'
98
111
99
112
// EDIT TEXT
100
- implementation ' com.github.HITGIF:TextFieldBoxes:1.4.4 '
113
+ implementation " com.github.HITGIF:TextFieldBoxes:${ textfiled_box_version } "
101
114
}
0 commit comments