@@ -14,23 +14,25 @@ apply plugin: 'kotlin-kapt'
1414android {
1515 compileSdkVersion 28
1616 defaultConfig {
17- applicationId " com.seok.gitfordeveloper "
17+ applicationId " com.seok.gfd "
1818 minSdkVersion 21
1919 targetSdkVersion 28
20- versionCode 4
21- versionName " 0.6.2 "
20+ versionCode 5
21+ versionName " 1.10.3 "
2222 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2323 }
2424 buildTypes {
2525 release {
2626 minifyEnabled false
2727 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
2828 testCoverageEnabled false
29- // buildConfigField "String", "GITHUB_CLIENT_ID", GITHUB_CLIENT_ID
30- // buildConfigField "String", "GITHUB_CLIENT_SECRET", GITHUB_CLIENT_SECRET
31- // buildConfigField "String", "REDIRECT_CALLBACK_URL", REDIRECT_CALLBACK_URL
32- // buildConfigField "String", "PREFERENCES_FILE", PREFERENCES_FILE
33- // buildConfigField "String", "PREFERENCES_TOKEN_KEY", PREFERENCES_TOKEN_KEY
29+ buildConfigField " String" , " GITHUB_CLIENT_ID" , GITHUB_CLIENT_ID
30+ buildConfigField " String" , " GITHUB_CLIENT_SECRET" , GITHUB_CLIENT_SECRET
31+ buildConfigField " String" , " REDIRECT_CALLBACK_URL" , REDIRECT_CALLBACK_URL
32+ buildConfigField " String" , " PREFERENCES_FILE" , PREFERENCES_FILE
33+ buildConfigField " String" , " PREFERENCES_TOKEN_KEY" , PREFERENCES_TOKEN_KEY
34+ buildConfigField " String" , " BASIC_AUTH_KEY" , BASIC_AUTH_KEY
35+ buildConfigField " String" , " GFD_API_URL" , GFD_API_URL
3436 }
3537 debug {
3638 testCoverageEnabled true
@@ -39,6 +41,8 @@ android {
3941 buildConfigField " String" , " REDIRECT_CALLBACK_URL" , REDIRECT_CALLBACK_URL
4042 buildConfigField " String" , " PREFERENCES_FILE" , PREFERENCES_FILE
4143 buildConfigField " String" , " PREFERENCES_TOKEN_KEY" , PREFERENCES_TOKEN_KEY
44+ buildConfigField " String" , " BASIC_AUTH_KEY" , BASIC_AUTH_KEY
45+ buildConfigField " String" , " GFD_API_URL" , GFD_API_URL
4246 }
4347 }
4448 compileOptions {
@@ -66,16 +70,19 @@ jacocoAndroidUnitTestReport {
6670dependencies {
6771 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
6872 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
69- implementation ' androidx.appcompat:appcompat:1.0.2 '
73+ implementation ' androidx.appcompat:appcompat:1.1.0 '
7074 implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
75+ implementation ' com.android.support:design:28.0.0'
76+ implementation " androidx.recyclerview:recyclerview:1.0.0"
7177
7278 // test implementation
79+ implementation ' androidx.legacy:legacy-support-v4:1.0.0'
7380 testImplementation ' junit:junit:4.12'
7481 testImplementation ' org.robolectric:robolectric:4.3'
7582 testImplementation ' org.powermock:powermock-api-mockito:1.4.12'
7683 testImplementation ' org.powermock:powermock-module-junit4:1.6.2'
7784 testImplementation ' org.mockito:mockito-core:2.28.2'
78- testImplementation ' androidx.arch.core:core-testing:2.0.1 '
85+ testImplementation ' androidx.arch.core:core-testing:2.1.0 '
7986 androidTestImplementation ' androidx.test:runner:1.2.0'
8087 androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
8188 androidTestImplementation ' androidx.test:runner:1.2.0'
@@ -89,7 +96,7 @@ dependencies {
8996 androidTestImplementation ' androidx.test.espresso:espresso-intents:3.2.0'
9097
9198 // Google Ads
92- implementation ' com.google.android.gms:play-services-ads:18.1.1 '
99+ implementation ' com.google.android.gms:play-services-ads:18.2.0 '
93100
94101 // OkHttp && logger
95102 implementation ' com.squareup.okhttp3:okhttp:3.12.0'
@@ -101,14 +108,14 @@ dependencies {
101108 implementation ' com.google.code.gson:gson:2.8.5'
102109
103110 // room
104- implementation ' androidx.room:room-runtime:2.1 .0'
105- kapt ' androidx.room:room-compiler:2.1 .0'
106- kaptTest ' androidx.room:room-testing:2.1 .0'
111+ implementation ' androidx.room:room-runtime:2.2 .0'
112+ kapt ' androidx.room:room-compiler:2.2 .0'
113+ kaptTest ' androidx.room:room-testing:2.2 .0'
107114
108115 // Lifecycle components
109- implementation ' androidx.lifecycle:lifecycle-extensions:2.0 .0'
116+ implementation ' androidx.lifecycle:lifecycle-extensions:2.1 .0'
110117 implementation ' android.arch.lifecycle:viewmodel:1.1.1'
111- annotationProcessor ' androidx.lifecycle:lifecycle-compiler:2.0 .0'
118+ annotationProcessor ' androidx.lifecycle:lifecycle-compiler:2.1 .0'
112119
113120 // Coroutines
114121 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version "
@@ -118,15 +125,19 @@ dependencies {
118125 implementation ' com.github.bumptech.glide:glide:4.9.0'
119126 kapt ' com.github.bumptech.glide:compiler:4.9.0'
120127
121- // jsoup, anko
128+ // jsoup, anko
122129 implementation ' org.jsoup:jsoup:1.11.3'
123130 implementation " org.jetbrains.anko:anko:$rootProject . anko_version "
124131 implementation ' androidx.gridlayout:gridlayout:1.0.0'
125132
126- // lombok
133+ // lombok
127134 compileOnly ' org.projectlombok:lombok:1.18.8'
128135 annotationProcessor ' org.projectlombok:lombok:1.18.8'
129136
130- // ProgressBar
137+ // ProgressBar
131138 implementation ' com.wang.avi:library:2.1.3'
139+
140+ // NavigationBar
141+ implementation ' androidx.navigation:navigation-fragment-ktx:2.1.0'
142+ implementation ' androidx.navigation:navigation-ui-ktx:2.1.0'
132143}
0 commit comments