云炬Android开发笔记 使用新版本Android studio快速Build低版本项目的仓库代码(标红部分)
生活随笔
收集整理的這篇文章主要介紹了
云炬Android开发笔记 使用新版本Android studio快速Build低版本项目的仓库代码(标红部分)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
buildscript {repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} //使用阿里云鏡像替換原有的jecter()
}dependencies {classpath 'com.android.tools.build:gradle:2.2.2'classpath 'com.jakewharton:butterknife-gradle-plugin:8.5.1'classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'// NOTE: Do not place your application dependencies here; they belong// in the individual module build.gradle files}
}allprojects {repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} //使用阿里云鏡像替換原有的jecter()maven { url 'https://www.jitpack.io' }maven { url 'https://maven.google.com' }maven { url "https://dl.gooqle.com/dl/android/maven2/"}}
}
task clean(type: Delete) {delete rootProject.buildDir
}
總結
以上是生活随笔為你收集整理的云炬Android开发笔记 使用新版本Android studio快速Build低版本项目的仓库代码(标红部分)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C++:究竟还有没有未来?
- 下一篇: 云炬Android开发笔记 5-1,2