123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- //google()
- jcenter()
- maven { url 'https://jitpack.io' }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/public' }
- }
- dependencies {
- classpath "com.android.tools.build:gradle:4.0.1"
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- ext {
- compileSdkVersion = 31
- minSdkVersion = 21
- targetSdkVersion = 31
- coreKtxVersion = '1.6.0'
- appcompatVersion = '1.4.1'
- materialVersion = '1.6.0'
- constraintlayoutVersion = '2.0.3'
- legacySupportV4 ='1.0.0'
- lifecycleVersion = '2.4.0'
- junitVersion = '4.13.2'
- testExtJunitVersion='1.1.3'
- espressoCoreVersion='3.4.0'
- //jacksonVersion='2.13.2'
- jacksonVersion='2.9.8'
- retrofitVersion='2.9.0'
- room_version = '2.4.2'
- pahoMqtt='1.2.5'
- }
- repositories {
- //google()
- jcenter()
- maven { url 'https://jitpack.io' }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/public' }
- flatDir {
- dirs 'libs' // aar目录
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|