1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- google()
- jcenter()
- maven { url "https://jitpack.io" }
- maven { url "https://www.benyanyi.com/repository/benyanyi/" }
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:7.0.0'
- // classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
- // classpath 'me.tatarka:gradle-retrolambda:3.2.1'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- google()
- jcenter()
- maven { url "https://jitpack.io" }
- maven {
- url "https://www.benyanyi.com/repository/benyanyi/"
- }
- //解决中文乱码问题
- 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
- }
|