admin
2022-05-12 fa705507ba574c857b1667553737d23b1b7ff495
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        maven {
            url "https://maven.aliyun.com/repository/public"
        }
 
        maven {
            url "https://maven.aliyun.com/repository/google"
        }
        mavenCentral()
 
        //穿山甲
        maven {
            url 'https://artifact.bytedance.com/repository/pangle'
        }
 
        //火山引擎maven仓库地址
        maven { url 'https://artifact.bytedance.com/repository/Volcengine/' }
 
        jcenter()
 
        maven { url 'https://jitpack.io' }
 
        maven {
            url 'D:\\workspace\\codegenerator\\src\\main\\resources\\flutter_module\\build\\host\\outputs\\repo'
        }
        maven {
            url 'https://storage.googleapis.com/download.flutter.io'
        }
 
        // hms
        maven { url 'http://developer.huawei.com/repo/'}
        // fcm
        maven { url "https://maven.google.com" }
 
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.3'
        // fcm,若不集成 FCM 通道,可直接跳过
        classpath 'com.google.gms:google-services:4.3.8'
        // hms,若不集成华为厂商通道,可直接跳过
        classpath 'com.huawei.agconnect:agcp:1.6.0.300'
    }
}
 
allprojects {
 
    repositories {
        maven {
            url "https://maven.aliyun.com/repository/public"
        }
 
        maven {
            url "https://maven.aliyun.com/repository/google"
        }
        mavenCentral()
 
        //穿山甲
        maven {
            url 'https://artifact.bytedance.com/repository/pangle'
        }
 
        //火山引擎maven仓库地址
        maven { url 'https://artifact.bytedance.com/repository/Volcengine/' }
 
        jcenter()
 
        maven { url 'https://jitpack.io' }
 
        maven {
            url 'D:\\workspace\\codegenerator\\src\\main\\resources\\flutter_module\\build\\host\\outputs\\repo'
        }
        maven {
            url 'https://storage.googleapis.com/download.flutter.io'
        }
 
        // hms
        maven { url 'http://developer.huawei.com/repo/'}
        // fcm
        maven { url "https://maven.google.com" }
 
    }
 
}
 
task clean(type: Delete) {
    delete rootProject.buildDir
}