pda/build.gradle

78 lines
2.5 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
// aliyun maven
maven { url 'https://maven.aliyun.com/repository/public' }
// gradle-plugin
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
// google()
maven { url 'https://maven.aliyun.com/repository/google' }
// jcenter()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
// central()
maven { url 'https://maven.aliyun.com/repository/central' }
// google()
// jcenter()
maven { url 'https://dl.bintray.com/umsdk/release' }
maven {
url "https://jitpack.io"
}
// maven {
// name 'Sonatype SNAPSHOTs'
// url 'https://oss.sonatype.org/content/repositories/snapshots/'
// }
// maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
//classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
allprojects {
// gradle.projectsEvaluated {
// tasks.withType(JavaCompile) {
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
// }
// }
repositories {
// aliyun maven
maven { url 'https://maven.aliyun.com/repository/public' }
// gradle-plugin
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
// google()
maven { url 'https://maven.aliyun.com/repository/google' }
// jcenter()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
// central()
maven { url 'https://maven.aliyun.com/repository/central' }
// google()
// jcenter()
/* maven {
url "https://raw.githubusercontent.com/umeng/mvn-repo-umeng/master/repository"
}*/
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/umsdk/release' }
flatDir {
dirs 'libs'
}
// maven {
// name 'Sonatype SNAPSHOTs'
// url 'https://oss.sonatype.org/content/repositories/snapshots/'
// }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//tasks.withType(JavaCompile) {
// options.encoding = "GBK"
//}