123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- google()
- maven {
- url 'http://maven.keleyanyi.com/repository/benyanyi/'
- }
- jcenter()
- maven { url 'http://maven.benyanyi.com/nexus/content/repositories/mylove/' }
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:4.1.3'
- classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
- }
- }
- allprojects {
- repositories {
- google()
- maven {
- url 'http://maven.keleyanyi.com/repository/benyanyi/'
- }
- jcenter()
- maven { url 'http://maven.benyanyi.com/nexus/content/repositories/mylove/' }
- //解决中文乱码问题
- tasks.withType(Javadoc) { //兼容中文
- options.addStringOption('Xdoclint:none', '-quiet')
- options.addStringOption('encoding', 'UTF-8')
- options {
- encoding "UTF-8"
- charSet 'UTF-8'
- links "http://docs.oracle.com/javase/7/docs/api"
- }
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|