欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

云炬Android开发笔记 使用新版本Android studio快速Build低版本项目的仓库代码(标红部分)

程序员文章站 2022-07-03 14:55:13
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:butter....
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
}

本文地址:https://blog.csdn.net/qq_39154376/article/details/107954694