美文网首页
aliyun gradle 配置

aliyun gradle 配置

作者: chsh | 来源:发表于2019-06-12 17:19 被阅读0次

    buildscript {

        ext.kotlin_version = '1.3.31'

        repositories {

            maven { url 'https://jitpack.io' }

            maven { url 'https://maven.aliyun.com/repository/google' }

            maven { url 'https://maven.aliyun.com/repository/jcenter' }

            maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }

        }

        dependencies {

            classpath 'com.android.tools.build:gradle:3.4.1'

            classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

            // NOTE: Do not place your application dependencies here; they belong

            // in the individual module build.gradle files

        }

    }

    allprojects {

        repositories {

            maven { url 'https://jitpack.io' }

            maven { url 'https://maven.aliyun.com/repository/google' }

            maven { url 'https://maven.aliyun.com/repository/jcenter' }

            maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }

        }

    }

    task clean(type: Delete) {

        delete rootProject.buildDir

    }

    相关文章

      网友评论

          本文标题:aliyun gradle 配置

          本文链接:https://www.haomeiwen.com/subject/ydxrfctx.html