android_art_huaNan/build.gradle
2025-07-31 15:49:01 +08:00

66 lines
2.1 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Top-level build file where you can add configuration options common to all sub-projects/modules.
/**
* 导入全局gradle文件
*/
apply from: "config.gradle"
buildscript {
repositories {
google()
mavenCentral() // add repository
// jcenter()
// maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven {
url 'https://maven.aliyun.com/repository/public/'
}
maven {
allowInsecureProtocol = true
url 'https://www.airkoon.cn/nexus/repository/airkoon-maven'
credentials{
username("hongrd")
password("hongrd123")
}
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.0'
//避免butterKnife在library中使用出现id冲突
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
classpath 'org.aspectj:aspectjtools:1.8.9'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
}
}
allprojects {
repositories {
google()
mavenCentral() // add repository
// jcenter()
maven { url "https://jitpack.io" }
maven {
url 'https://maven.aliyun.com/repository/public/'
}
// maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven {
allowInsecureProtocol = true
url 'https://www.airkoon.cn/nexus/repository/airkoon-maven'
credentials{
username("wum")
password("12345678")
}
}
/*flatDir {
// 由于Library module中引用了 gif 库的 aar在多 module 的情况下,
// 其他的module编译会报错所以需要在所有工程的repositories
// 下把Library module中的libs目录添加到依赖关系中
dirs project(':common_base').file('libs')
}*/
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}