forked from Blankj/AndroidUtilCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (40 loc) · 1.35 KB
/
Copy pathbuild.gradle
File metadata and controls
47 lines (40 loc) · 1.35 KB
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
apply {
plugin "readme-core"
}
readme {
readmeFile file('./README.md')
readmeCnFile file('./README-CN.md')
}
android {
compileSdkVersion Config.compileSdkVersion
defaultConfig {
minSdkVersion Config.minSdkVersion
versionCode Config.versionCode
versionName Config.versionName
consumerProguardFiles 'proguard-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
consumerProguardFiles 'proguard-rules.pro'
}
}
}
dependencies {
implementation Config.libs.gson.path
implementation Config.libs.androidx_appcompat.path
compileOnly Config.libs.androidx_material.path
testImplementation Config.libs.test_junit.path
testImplementation Config.libs.test_robolectric.path
testImplementation Config.libs.androidx_appcompat.path
testImplementation Config.libs.androidx_material.path
testImplementation Config.libs.eventbus_lib.path
}
ext {
groupId = Config.modules.lib_utilcode.groupId
artifactId = Config.modules.lib_utilcode.artifactId
version = Config.modules.lib_utilcode.version
website = "https://github.com/Blankj/AndroidUtilCode"
}
apply from: "${rootDir.path}/config/publish.gradle"