forked from ymback/NGA-CLIENT-VER-OPEN-SOURCE
-
Notifications
You must be signed in to change notification settings - Fork 34
/
build.gradle
49 lines (41 loc) · 1.2 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
buildscript {
ext.kotlin_version = '1.7.20'
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
//TODO Remove all dependencies in jcenter
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://www.jitpack.io' }
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
project.ext {
minSdkVersion = 29
targetSdkVersion = 33
compileSdkVersion = 34
appVersionName = '4.0.2'
appVersionCode = 4002
fastJson = '1.1.71.android'
rxAndroid = '2.1.1'
lifecycle_version = "2.2.0"
androidxAppcompat = '1.2.0-alpha03'
androidxMaterial = '1.2.0'
room_version = "2.4.1"
preference_version = "1.1.1"
}