1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- apply plugin: 'com.jakewharton.butterknife'
- buildscript {
- ext.kotlin_version = '1.3.72'
- repositories {
- maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
- maven { url 'https://developer.huawei.com/repo/' }
- maven { url 'https://jitpack.io' }
- maven { url 'https://repo1.maven.org/maven2/' }
- jcenter()
- mavenCentral()
- google()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.4.1'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"// add plugin
- classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
- classpath "com.alibaba:arouter-register:1.0.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/repositories/releases/' }
- maven { url 'https://developer.huawei.com/repo/' }
- maven { url 'https://jitpack.io' }
- maven { url 'https://repo1.maven.org/maven2/' }
- jcenter()
- mavenCentral()
- google()
- }
- }
- ext {
- compileSdkVersion = 29
- buildToolsVersion = '29.0.3'
- minSdkVersion = 21
- targetSdkVersion = 29
- appTargetSdkVersion = 29
- versionCode = 1123
- versionName = '11.2.3'
- sdkSourceCompatibility = 1.8
- sdkTargetCompatibility = 1.8
- appSourceCompatibility = 1.8
- appTargetCompatibility = 1.8
- support = '28.0.0'
- constraint = '1.1.3'
- eventbus = '3.2.0'
- chadAdapter = '2.9.50'
- smartRefresh = '2.0.3'
- glide = '4.2.0'
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|