拷贝APP_Bck20250119项目源码,移除libjc/jcc/libs/android-29.jar文件。
This commit is contained in:
		
							
								
								
									
										70
									
								
								autoinstaller/build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								autoinstaller/build.gradle
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,70 @@
 | 
			
		||||
apply plugin: 'com.android.application'
 | 
			
		||||
apply from: '../.winboll/winboll_app_build.gradle'
 | 
			
		||||
apply from: '../.winboll/winboll_lint_build.gradle'
 | 
			
		||||
 | 
			
		||||
def genVersionName(def versionName){
 | 
			
		||||
    // 检查编译标志位配置
 | 
			
		||||
    assert (winbollBuildProps['stageCount'] != null)
 | 
			
		||||
    assert (winbollBuildProps['baseVersion'] != null)
 | 
			
		||||
    // 保存基础版本号
 | 
			
		||||
    winbollBuildProps.setProperty("baseVersion", "${versionName}");
 | 
			
		||||
    //保存编译标志配置
 | 
			
		||||
    FileOutputStream fos = new FileOutputStream(winbollBuildPropsFile)
 | 
			
		||||
    winbollBuildProps.store(fos, "${winbollBuildPropsDesc}");
 | 
			
		||||
    fos.close();
 | 
			
		||||
    
 | 
			
		||||
    // 返回编译版本号
 | 
			
		||||
    return "${versionName}." + winbollBuildProps['stageCount']
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
android {
 | 
			
		||||
    compileSdkVersion 32
 | 
			
		||||
    buildToolsVersion "33.0.3"
 | 
			
		||||
 | 
			
		||||
    defaultConfig {
 | 
			
		||||
        applicationId "cc.winboll.studio.autoinstaller"
 | 
			
		||||
        minSdkVersion 24
 | 
			
		||||
        targetSdkVersion 30
 | 
			
		||||
        versionCode 2
 | 
			
		||||
        // versionName 更新后需要手动设置 
 | 
			
		||||
        // .winboll/winbollBuildProps.properties 文件的 stageCount=0
 | 
			
		||||
        // Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
 | 
			
		||||
        versionName "5.0" 
 | 
			
		||||
        if(true) {
 | 
			
		||||
            versionName = genVersionName("${versionName}")
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    buildTypes {
 | 
			
		||||
        release {
 | 
			
		||||
            minifyEnabled false
 | 
			
		||||
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    compileOptions {
 | 
			
		||||
        sourceCompatibility JavaVersion.VERSION_11
 | 
			
		||||
        targetCompatibility JavaVersion.VERSION_11
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies {
 | 
			
		||||
	api 'cc.winboll.studio:winboll-shared:1.1.0'
 | 
			
		||||
    api 'io.github.medyo:android-about-page:2.0.0'
 | 
			
		||||
    api 'com.github.getActivity:ToastUtils:10.5'
 | 
			
		||||
    api 'com.jcraft:jsch:0.1.55'
 | 
			
		||||
    api 'org.jsoup:jsoup:1.13.1'
 | 
			
		||||
    api 'com.squareup.okhttp3:okhttp:4.4.1'
 | 
			
		||||
    
 | 
			
		||||
    api 'androidx.appcompat:appcompat:1.0.0'
 | 
			
		||||
    api 'androidx.fragment:fragment:1.0.0'
 | 
			
		||||
    api 'com.google.android.material:material:1.0.0'
 | 
			
		||||
    
 | 
			
		||||
    api 'androidx.vectordrawable:vectordrawable-animated:1.0.0'
 | 
			
		||||
    api 'androidx.lifecycle:lifecycle-livedata:1.0.0'
 | 
			
		||||
    
 | 
			
		||||
    //api 'cc.winboll.studio:libaes:6.3.2'
 | 
			
		||||
    //api 'cc.winboll.studio:libapputils:8.3.8'
 | 
			
		||||
    
 | 
			
		||||
    api fileTree(dir: 'libs', include: ['*.jar'])
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user