riku
2025-10-30 e9aa93f381afcf9f9cf0c39f2b9e32375ed49528
build.gradle
@@ -1,37 +1,58 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    ext.kotlin_version = '1.3.41'
    ext.lifecycle_version = '1.1.1'
    ext.anko_version = '0.10.8'
    ext.event_bus = '3.1.1'
    ext.image_picker_version = '2.2.7'
    ext.glide_version = '4.9.0'
buildscript {
    ext {
        kotlin_version = '1.3.72'
        lifecycle_version = '1.1.1'
        anko_version = '0.10.8'
        event_bus = '3.1.1'
        image_picker_version = '2.2.7'
        glide_version = '4.9.0'
        adaper_version = '2.9.46'
        file_download_version = '1.0.7'
        progressbar_version = '3.0.3'
    }
    repositories {
        jcenter()
        maven { url 'https://maven.aliyun.com/repository/public'}
        maven { url 'https://maven.aliyun.com/repository/central' }
        maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
        maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
        maven { url "https://jitpack.io" }
        mavenCentral()
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.2'
        classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
        classpath 'com.android.tools.build:gradle:4.2.0'
        classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        // in the individual module build.gradle files///////////////////////////////////////////////
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
        // 添加emas-services插件
//        classpath 'com.aliyun.ams:emas-services:1.0.1'
//        classpath "gradle.plugin.ua.eshepelyuk:ManifestClasspath:1.0.0"
    }
}
//apply plugin: "ua.eshepelyuk.ManifestClasspath"
allprojects {
    repositories {
        maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/central' }
        maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
        maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
        maven { url "https://jitpack.io" }
        jcenter()
        mavenCentral()
        google()
        jcenter()
    }
//    configurations.all {