This commit is contained in:
2023-05-26 11:43:28 +08:00
commit ba9a7688db
43 changed files with 2300 additions and 0 deletions

42
build.gradle Normal file
View File

@@ -0,0 +1,42 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven {url 'http://developer.huawei.com/repo/'}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven {url 'http://developer.huawei.com/repo/'}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
//设置jar相对包路径或绝对路径
options.compilerArgs.add('-Xbootclasspath/p:app/libs/framework.jar')
}
}
}
task clean(type: Delete) {
// delete rootProject.buildDir
}