yuyalong/Android_Mireo/build.gradle
2025-04-16 15:37:20 +08:00

42 lines
976 B
Groovy

apply from : 'configs.gradle'
buildscript {
apply from : 'maven.gradle'
repositories {
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
addCommonMaven(repositories)
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20'
classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10'
}
}
allprojects {
repositories {
maven { url 'https://repo1.maven.org/maven2' }
addCommonMaven(repositories)
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options {
encoding 'UTF-8'
charSet 'UTF-8'
links 'http://docs.oracle.com/javase/7/docs/api'
}
}
setBuildDir(new File(rootDir, "build/${path.replaceAll(':', '/')}"))
}
task clean(type: Delete) {
delete rootProject.buildDir
}