拷贝APP_Bck20250119项目源码,移除libjc/jcc/libs/android-29.jar文件。
This commit is contained in:
		
							
								
								
									
										78
									
								
								build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								build.gradle
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,78 @@ | ||||
| // Top-level build file where you can add configuration options common to all sub-projects/modules. | ||||
| buildscript { | ||||
|     repositories { | ||||
|         google() | ||||
|         mavenCentral() | ||||
|     } | ||||
|     dependencies { | ||||
|         classpath 'com.android.tools.build:gradle:7.2.1' | ||||
|         // NOTE: Do not place your application dependencies here; they belong | ||||
|         // in the individual module build.gradle files | ||||
|     } | ||||
| } | ||||
|  | ||||
| allprojects { | ||||
|     repositories { | ||||
|         // Nexus Maven 库地址 | ||||
|         // "WinBoll Release" | ||||
|         maven { url "https://nexus.winboll.cc/repository/maven-public/" } | ||||
|         // "WinBoll Snapshot" | ||||
|         maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" } | ||||
|          | ||||
|         maven { url 'https://maven.aliyun.com/repository/public/' }  | ||||
|         maven { url 'https://maven.aliyun.com/repository/google/' } | ||||
|         maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' } | ||||
|         maven { url 'https://dl.bintray.com/ppartisan/maven/' } | ||||
|         maven { url "https://clojars.org/repo/" } | ||||
|         maven { url "https://jitpack.io" } | ||||
|         mavenCentral() | ||||
|         google() | ||||
|         mavenLocal() | ||||
|     } | ||||
|     ext { | ||||
|         // 定义全局变量,常用于版本管理 | ||||
|         // 变量在子模块的build.gradle中直接以: $NAME 的形式调用 | ||||
|         // 定义版本管理文件 | ||||
|         RootProjectDir = "${rootProject.projectDir}".replace("\\", "/") | ||||
|         bashCheckGitCommitStatusFilePath = ".winboll/bashCheckGitCommitStatus.sh" | ||||
|         bashCommitAppPublishBuildFlagInfoFilePath = ".winboll/bashCommitAppPublishBuildFlagInfo.sh" | ||||
|          | ||||
|         winbollFilePath = "winboll.properties" | ||||
|         keyPropsFilePath = "winboll-x/current.keystore" | ||||
|         // 定义 lint 输出文件 | ||||
|         lintXmlReportFilePath = "build/reports/lint-results.xml" | ||||
|         lintHTMLReportFilePath = "build/reports/lint-results.html" | ||||
|          | ||||
|         // 检查编译配置文件 | ||||
|         subProjectPath = "$RootProjectDir/$project.name" | ||||
|         println "Sub project path: $subProjectPath" | ||||
|         winbollBuildPropsDesc="Created by .winboll/winboll_app_build.gradle" | ||||
|         winbollBuildPropsFile = rootProject.file("$subProjectPath/build.properties") | ||||
|         winbollBuildPropsFilePath = winbollBuildPropsFile.getAbsolutePath(); | ||||
|         assert(winbollBuildPropsFile.exists()) | ||||
|         winbollBuildProps = new Properties() | ||||
|         // 读取编译标志位配置文件 | ||||
|         winbollBuildProps.load(new FileInputStream(winbollBuildPropsFile)) | ||||
|         // 读取编译标志位配置文件 | ||||
|         assert (winbollBuildProps['stageCount'] != null) | ||||
|         assert (winbollBuildProps['baseVersion'] != null) | ||||
|         assert (winbollBuildProps['publishVersion'] != null) | ||||
| 	    assert (winbollBuildProps['buildCount'] != null) | ||||
|     } | ||||
|      | ||||
|     afterEvaluate { | ||||
|         task cleanLintFile() { | ||||
|             dependsOn tasks.findAll { task -> task.name.startsWith('lint') } | ||||
|             doFirst { | ||||
|                 // 这里是将在Lint任务开始前执行的代码 | ||||
|                 println "Lint task will run after this setup." | ||||
|             } | ||||
| 	    } | ||||
|     } | ||||
| } | ||||
|  | ||||
| task clean(type: Delete) { | ||||
|     delete rootProject.buildDir | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen