-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathbuild.gradle
59 lines (51 loc) · 1.55 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
56
57
58
59
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.github.ben-manes.versions'
buildscript {
repositories {
mavenCentral()
// jcenter()
google()
maven {
url "http://mvn.mob.com/android/";
allowInsecureProtocol = true;
}
}
dependencies {
// https://developer.android.com/studio/releases/gradle-plugin.html
classpath 'com.android.tools.build:gradle:8.7.2'
// https://github.com/ben-manes/gradle-versions-plugin
classpath 'com.github.ben-manes:gradle-versions-plugin:+'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// 注册MobSDK
classpath 'com.mob.sdk:MobSDK:+'
}
}
allprojects {
repositories {
mavenCentral()
// jcenter()
google()
maven { url "https://jitpack.io" }
maven { url "https://maven.scijava.org/content/repositories/public/" }
maven {
url "https://repo1.maven.org/maven2/"
}
maven {
url "https://repo.spring.io/libs-milestone/"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
minSdkVersion = 17
targetSdkVersion = 29
compileSdkVersion = 31
// https://developer.android.com/studio/releases/build-tools
buildToolsVersion = '34.0.0'
FRESCO_VERSION = '1.14.2'
RXJAVA2_VERSION = '2.2.21'
RXANDROID2_VERSION = '2.1.1'
}