Skip to content

Commit f7fd995

Browse files
committed
Replace NavigationTabBar with TabLayout implementation
* Create `GSYTabBar` extending `TabLayout` to replace the third-party `NavigationTabBar` library and remove the associated dependency. * Update XML layouts, Activity/Fragment logic, and Dagger modules to utilize the new `GSYTabBar` and `TabLayout.OnTabSelectedListener`. * Refactor `LoginOAuthWebFragment` to update OAuth scopes, enable cookie management, and disable caching. * Optimize ViewBinding initialization in base activities and `GSYUserInfoItem`. * Add comprehensive ProGuard rules for Retrofit, Dagger, RxJava, and other libraries. * Bump application version to 1.3.0.
1 parent 131289d commit f7fd995

30 files changed

+862
-281
lines changed

app/build.gradle

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ android {
1616
applicationId "com.shuyu.github.kotlin"
1717
minSdkVersion 21
1818
targetSdkVersion 34
19-
versionCode 11
20-
versionName "1.2.0"
19+
versionCode 12
20+
versionName "1.3.0"
2121
javaCompileOptions {
2222
annotationProcessorOptions {
2323
//includeCompileClasspath = true
@@ -64,12 +64,6 @@ android {
6464
}
6565
}*/
6666

67-
buildTypes {
68-
release {
69-
minifyEnabled false
70-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
71-
}
72-
}
7367

7468
kapt {
7569
arguments {
@@ -110,9 +104,13 @@ android {
110104

111105
buildTypes {
112106
debug {
107+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
113108
signingConfig signingConfigs.debug
109+
minifyEnabled true
110+
shrinkResources true
114111
}
115112
release {
113+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
116114
signingConfig signingConfigs.release
117115
minifyEnabled true
118116
shrinkResources true
@@ -206,8 +204,6 @@ dependencies {
206204
implementation "com.just.agentweb:agentweb:${agentweb_version}"
207205
implementation "com.just.agentweb:download:${agentweb_version}"
208206

209-
//TABBAR
210-
implementation "devlight.io:navigationtabbar:${tabbar_version}"
211207

212208
//iconics
213209
implementation "com.mikepenz:iconics-core:${iconics_version}"

0 commit comments

Comments
 (0)