forked from FSpaceCore/SpaceCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (61 loc) · 1.89 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
60
61
62
63
64
65
66
67
68
69
70
71
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.5.30"
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://repo1.maven.org/maven2/' }
maven {url "https://plugins.gradle.org/m2/"}
google()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.CodingGay:BlackObfuscator-ASPlugin:3.7"
classpath 'com.github.kezong:fat-aar:1.3.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
flatDir {
dirs 'libs'
}
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://repo1.maven.org/maven2/' }
jcenter() // Warning: this repository is going to shut down soon
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
compileSdkVersion = 31
buildToolsVersion = "31.0.0"
targetSdkVersion = 28
versionName = '1.0'
versionCode = 1
appcompatVersion = "1.4.2"
lifecycleVersion = "2.4.1"
coroutinesVersion = "1.5.2"
materialDialogVersion = "3.3.0"
fastAdapterVersion = "5.6.0"
RxJavaVersion = '1.3.4'
RxAndroidVersion = '1.2.1'
retrofitVersion = '2.9.0'
retrofitAdapterVersion = '2.9.0'
retrofitConverterVersion = '2.9.0'
okhttp3 = '4.9.2'
immersionbarVersion = "3.2.2"
blackReflection = '1.1.4'
mmkv = '1.2.10'
}