1234567891011121314151617181920212223242526272829303132 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- //阿里
- maven { url 'https://maven.aliyun.com/repository/google' }// google()
- maven { url 'https://maven.aliyun.com/repository/jcenter' }// jcenter()
- maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }// mavenCentral()
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- //国外
- maven { url 'https://jitpack.io' }//github
- //
- maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
- }
- dependencies {
- classpath "com.android.tools.build:gradle:4.1.3"
- classpath 'io.github.rockerhieu:versionberg:1.0.2'
- classpath 'com.blankj:bus-gradle-plugin:latest.release'
- }
- }
- allprojects {
- repositories {
- maven { url 'https://maven.aliyun.com/repository/google' }// google()
- maven { url 'https://maven.aliyun.com/repository/jcenter' }// jcenter()
- maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }// mavenCentral()
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- //国外
- maven { url 'https://jitpack.io' }//github
- //
- maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
- }
- }
|