2016-12-20 22:07:00 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2019-02-01 09:19:44 +08:00
|
|
|
google()
|
2024-02-06 21:23:28 +08:00
|
|
|
maven { url 'https://dl.bintray.com/umsdk/release' }
|
|
|
|
maven {
|
|
|
|
url "https://jitpack.io"
|
|
|
|
}
|
2019-02-01 09:19:44 +08:00
|
|
|
// maven {
|
|
|
|
// name 'Sonatype SNAPSHOTs'
|
|
|
|
// url 'https://oss.sonatype.org/content/repositories/snapshots/'
|
|
|
|
// }
|
|
|
|
|
2024-02-06 21:23:28 +08:00
|
|
|
maven { url "https://jitpack.io" }
|
2016-12-20 22:07:00 +08:00
|
|
|
}
|
|
|
|
dependencies {
|
2024-02-06 21:23:28 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:4.2.2'
|
2019-02-01 09:19:44 +08:00
|
|
|
//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'
|
2016-12-20 22:07:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2019-02-01 09:19:44 +08:00
|
|
|
// gradle.projectsEvaluated {
|
|
|
|
// tasks.withType(JavaCompile) {
|
2017-02-15 22:47:05 +08:00
|
|
|
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
2019-02-01 09:19:44 +08:00
|
|
|
|
|
|
|
// }
|
|
|
|
// }
|
2016-12-20 22:07:00 +08:00
|
|
|
repositories {
|
2019-02-01 09:19:44 +08:00
|
|
|
google()
|
2024-02-06 21:23:28 +08:00
|
|
|
jcenter()
|
|
|
|
/* maven {
|
2019-02-15 23:48:25 +08:00
|
|
|
url "https://raw.githubusercontent.com/umeng/mvn-repo-umeng/master/repository"
|
2024-02-06 21:23:28 +08:00
|
|
|
}*/
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
maven { url 'https://dl.bintray.com/umsdk/release' }
|
|
|
|
flatDir {
|
|
|
|
dirs 'libs'
|
|
|
|
}
|
2019-02-01 09:19:44 +08:00
|
|
|
// maven {
|
|
|
|
// name 'Sonatype SNAPSHOTs'
|
|
|
|
// url 'https://oss.sonatype.org/content/repositories/snapshots/'
|
|
|
|
// }
|
2019-02-15 23:48:25 +08:00
|
|
|
|
2016-12-20 22:07:00 +08:00
|
|
|
}
|
|
|
|
}
|
2019-02-01 09:19:44 +08:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|
2016-12-20 22:07:00 +08:00
|
|
|
//tasks.withType(JavaCompile) {
|
|
|
|
// options.encoding = "GBK"
|
|
|
|
//}
|