1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // 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'
- ext.butterknife = '9.0.0'
- 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:${butterknife}"
- classpath "com.alibaba:arouter-register:1.0.2"
- 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 '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'
- butterknife = '9.0.0'
- //true 作为模块运行 false 作为独立APP运行
- isDebtModule = true
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|