更新AndroidXDemo类库依赖方式
This commit is contained in:
		@@ -18,15 +18,8 @@ def genVersionName(def versionName){
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
android {
 | 
					android {
 | 
				
			||||||
	productFlavors {
 | 
					    compileSdkVersion 32
 | 
				
			||||||
		beta {
 | 
					    buildToolsVersion "32.0.0"
 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		stage {
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    compileSdkVersion 30
 | 
					 | 
				
			||||||
    buildToolsVersion "30.0.3"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    defaultConfig {
 | 
					    defaultConfig {
 | 
				
			||||||
        applicationId "cc.winboll.studio.androidxdemo"
 | 
					        applicationId "cc.winboll.studio.androidxdemo"
 | 
				
			||||||
@@ -36,7 +29,7 @@ android {
 | 
				
			|||||||
        // versionName 更新后需要手动设置 
 | 
					        // versionName 更新后需要手动设置 
 | 
				
			||||||
        // .winboll/winbollBuildProps.properties 文件的 stageCount=0
 | 
					        // .winboll/winbollBuildProps.properties 文件的 stageCount=0
 | 
				
			||||||
        // Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
 | 
					        // Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
 | 
				
			||||||
        versionName "1.0"
 | 
					        versionName "15.0"
 | 
				
			||||||
        if(true) {
 | 
					        if(true) {
 | 
				
			||||||
            versionName = genVersionName("${versionName}")
 | 
					            versionName = genVersionName("${versionName}")
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -54,23 +47,23 @@ dependencies {
 | 
				
			|||||||
    api fileTree(dir: 'libs', include: ['*.jar'])
 | 
					    api fileTree(dir: 'libs', include: ['*.jar'])
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    // SSH
 | 
					    // SSH
 | 
				
			||||||
    implementation 'com.jcraft:jsch:0.1.55'
 | 
					    api 'com.jcraft:jsch:0.1.55'
 | 
				
			||||||
    // Html 解析
 | 
					    // Html 解析
 | 
				
			||||||
    implementation 'org.jsoup:jsoup:1.13.1'
 | 
					    api 'org.jsoup:jsoup:1.13.1'
 | 
				
			||||||
    // 二维码类库
 | 
					    // 二维码类库
 | 
				
			||||||
    implementation 'com.google.zxing:core:3.4.1'
 | 
					    api 'com.google.zxing:core:3.4.1'
 | 
				
			||||||
    implementation 'com.journeyapps:zxing-android-embedded:3.6.0'
 | 
					    api 'com.journeyapps:zxing-android-embedded:3.6.0'
 | 
				
			||||||
    // 应用介绍页类库
 | 
					    // 应用介绍页类库
 | 
				
			||||||
    implementation 'io.github.medyo:android-about-page:2.0.0'
 | 
					    api 'io.github.medyo:android-about-page:2.0.0'
 | 
				
			||||||
    // 吐司类库
 | 
					    // 吐司类库
 | 
				
			||||||
    implementation 'com.github.getActivity:ToastUtils:10.5'
 | 
					    api 'com.github.getActivity:ToastUtils:10.5'
 | 
				
			||||||
    // 网络连接类库
 | 
					    // 网络连接类库
 | 
				
			||||||
    implementation 'com.squareup.okhttp3:okhttp:4.4.1'
 | 
					    api 'com.squareup.okhttp3:okhttp:4.4.1'
 | 
				
			||||||
    // Android 类库
 | 
					    // AndroidX 类库
 | 
				
			||||||
    implementation 'androidx.appcompat:appcompat:1.1.0'
 | 
					    api 'androidx.appcompat:appcompat:1.1.0'
 | 
				
			||||||
    implementation 'androidx.viewpager:viewpager:1.0.0'
 | 
					    api 'androidx.viewpager:viewpager:1.0.0'
 | 
				
			||||||
    implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
 | 
					    api 'androidx.vectordrawable:vectordrawable:1.1.0'
 | 
				
			||||||
    implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
 | 
					    api 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
 | 
				
			||||||
    implementation 'androidx.fragment:fragment:1.1.0'
 | 
					    api 'androidx.fragment:fragment:1.1.0'
 | 
				
			||||||
    implementation 'com.google.android.material:material:1.4.0'
 | 
					    api 'com.google.android.material:material:1.4.0'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
#Created by .winboll/winboll_app_build.gradle
 | 
					#Created by .winboll/winboll_app_build.gradle
 | 
				
			||||||
#Tue Mar 11 18:25:43 GMT 2025
 | 
					#Mon Mar 24 05:27:16 GMT 2025
 | 
				
			||||||
stageCount=0
 | 
					stageCount=0
 | 
				
			||||||
libraryProject=
 | 
					libraryProject=
 | 
				
			||||||
baseVersion=1.0
 | 
					baseVersion=15.0
 | 
				
			||||||
publishVersion=1.0.0
 | 
					publishVersion=15.0.0
 | 
				
			||||||
buildCount=4
 | 
					buildCount=1
 | 
				
			||||||
baseBetaVersion=1.0.1
 | 
					baseBetaVersion=15.0.1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user