riku
2025-10-27 0f58aa8ea118c3bd0b28396febc58fdbd94eef75
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Top-level build file where you can add configuration options common to all sub-projects/modules.
 
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 {
        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: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///////////////////////////////////////////////
        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 '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()
    }
 
//    configurations.all {
//        resolutionStrategy {
//            eachDependency { DependencyResolveDetails details ->
//                if (details.requested.group == 'com.android.support') {
//                    details.useVersion "26.1.0"
//                }
//            }
//    }}
}
 
task clean(type: Delete) {
    delete rootProject.buildDir
}