1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- google()
- jcenter()
- maven {
- // allowInsecureProtocol = true
- url 'http://maven.keleyanyi.com/repository/benyanyi/'
- }
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:4.1.3'
- classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
- // classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.2'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- google()
- jcenter()
- maven {
- url 'http://www.idescout.com/maven/repo/'
- name 'IDEScout, Inc.'
- }
- maven {
- // allowInsecureProtocol = true
- url 'http://maven.keleyanyi.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
- }
|