android 新版阿里云maven仓库

陶弘业
2023-12-01

buildscript {

repositories {

    maven { url "https://jitpack.io" }
    maven { url 'https://maven.aliyun.com/repository/releases' }
    maven { url 'https://maven.aliyun.com/repository/jcenter' }
    maven { url 'https://maven.aliyun.com/repository/google' }
    maven { url 'https://maven.aliyun.com/repository/central' }
    maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
    maven { url 'https://maven.aliyun.com/repository/public' }

    google()
    mavenCentral()

}

dependencies {

    classpath "io.realm:realm-gradle-plugin:4.3.1"
    classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-rc2'
    //classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30-RC'
    // classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31'
    classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.1'
    classpath 'com.android.tools.build:gradle:4.2.1'
    classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'
    // 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/releases' }
    maven { url 'https://maven.aliyun.com/repository/jcenter' }
    maven { url 'https://maven.aliyun.com/repository/google' }
    maven { url 'https://maven.aliyun.com/repository/central' }

    google()
    mavenCentral()
    maven { url 'https://maven.google.com' }
    maven { url 'https://jitpack.io' }
    //maven { url 'https://gitee.com/liuchaoya/libcommon/raw/master/repository/' }
}

}

task clean(type: Delete) {
delete rootProject.buildDir
}

 类似资料: