-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
executable file
·54 lines (49 loc) · 1.59 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
buildscript {
ext.kotlin_version = '1.6.21'
ext.coroutines = '1.6.4'
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
classpath 'org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.17'
//classpath "androidx.benchmark:benchmark-gradle-plugin:1.0.0"
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
google()
}
}
Properties properties = new Properties()
try {
def localFile = project.rootProject.file('local.properties')
if (localFile != null && localFile.exists()) {
properties.load(localFile.newDataInputStream())
}
} catch (Exception ignored) {
}
ext {
compileVer = 33
minsdkVer = 21
assignor = '1.0.0'
supportVer = "1.0.0"
buildVer = "33.0.2"
gsonVer = "2.10.1"
pagingVersion = "3.1.1"
mmkv = '1.2.7'
fileName = properties.getProperty("fileName")
storePassword = properties.getProperty("storePassword")
keyAlias = properties.getProperty("keyAlias")
keyPassword = properties.getProperty("keyPassword")
}