/* * ******************************************************************************************************************** * * iFHS7. * ;BBMBMBMc rZMBMBR BMB * MBEr:;PBM, 7MBMMEOBB: BBB RBW * XK: BO SB. :SZ MBM. c;; ir BBM :FFr :SSF: ;xBMB:r iuGXv. i:. iF2; * DBBM0r. :D S7 ;XMBMB GMBMu. MBM: BMB MBMBBBMBMS WMBMBMBBK MBMBMBM BMBRBMBW .MBMBMBMBB * :JMRMMD .. , 1MMRM1; ;MBMBBR: MBM ;MB: BMB: MBM. RMBr sBMH BM0 UMB, BMB. KMBv * ;. XOW B1; :uM: 1RE, i .2BMBs rMB. MBO MBO JMB; MBB MBM BBS 7MBMBOBM: MBW :BMc * OBRJ.SEE MRDOWOR, 3DE:7OBM . ;BMB RMR7BM BMB MBB. BMB ,BMR .BBZ MMB rMB, BMM rMB7 * :FBRO0D0 RKXSXPR. JOKOOMPi BMBSSWBMB; BMBB: MBMB0ZMBMS .BMBOXRBMB MBMDE RBM2;SMBM; MBB xBM2 * iZGE O0SHSPO. uGZ7. sBMBMBDL :BMO OZu:BMBK, rRBMB0; ,EBMB xBMBr:ER. RDU :OO; * ,BZ, 1D0 RPSFHXR. xWZ .SMr . .BBB * :0BMRDG RESSSKR. 2WOMBW; BMBMR * i0BM: SWKHKGO MBDv * .UB OOGDM. MK, Copyright (c) 2015-2019. 斯伯坦机器人 * , XMW .. * r All rights reserved. * * ******************************************************************************************************************** */ group 'cn.sagacloud.android' version SAGACLOUD_VERSION buildscript { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} mavenCentral() jcenter() google() } dependencies { classpath group: 'com.android.tools.build', name: 'gradle', version: GRADLE_VERSION classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: KOTLIN_VERSION classpath group: 'org.jetbrains.kotlin', name: 'kotlin-android-extensions', version: KOTLIN_VERSION classpath group: 'org.jetbrains.dokka', name: 'dokka-android-gradle-plugin', version: DOKKA_VERSION } } allprojects { repositories { maven{ url MAVEN_REPO_PUBLIC_URL} maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} mavenCentral() jcenter() google() } tasks.withType(Javadoc) { options{ encoding 'UTF-8' charSet 'UTF-8' links 'http://docs.oracle.com/javase/8/docs/api' } } } tasks.withType(JavaCompile) { // 全局编码设置 options.encoding = 'UTF-8' } // 生成文档 task dokkaAll(type: org.jetbrains.dokka.gradle.DokkaTask) { jdkVersion = JDK_VERSION.toInteger() noStdlibLink = true outputFormat = 'javadoc' outputDirectory = $/$buildDir/javadoc/$ // sourceDirs = files( // "$projectDir/sybotan-android-core/src/main/java", // "$projectDir/sybotan-android-devices/src/main/java", // "$projectDir/sybotan-android-graphy/src/main/java", // "$projectDir/sybotan-android-views/src/main/java") } //task clean(type: Delete) { // delete rootProject.buildDir //}