-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
55 lines (52 loc) · 1.87 KB
/
build.gradle
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
apply from: "config.gradle"
buildscript {
ext.kotlin_version = '1.5.10'
ext.hilt_version = '2.37'
ext.dokitx_version = '3.4.2'
ext.nav_version = "2.3.5"
repositories {
maven {
url "https://mvn.mob.com/android"
}
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
maven { url "https://maven.aliyun.com/repository/google" }
maven { url "https://maven.aliyun.com/repository/public" }
google()
mavenCentral()
// jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
//Gradle Android Maven plugin
// classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
//Gradle Bintray Plugin
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
classpath "com.mob.sdk:MobSDK:2018.0319.1724"
// classpath 'com.novoda:bintray-release:0.9.1'
classpath "com.alibaba:arouter-register:1.0.2"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "io.github.didi.dokit:dokitx-plugin:${dokitx_version}"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
}
}
allprojects {
repositories {
maven {
url "https://mvn.mob.com/android"
}
maven { url "https://jitpack.io" }
// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
// maven {
// url "https://dl.bintray.com/tencentqcloudterminal/maven"
// }
maven { url "https://maven.aliyun.com/repository/google" }
maven { url "https://maven.aliyun.com/repository/public" }
google()
mavenCentral()
// jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}