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
54 lines (46 loc) · 1.57 KB
/
build.gradle
File metadata and controls
54 lines (46 loc) · 1.57 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
48
49
50
51
52
53
54
apply {
plugin Config.depConfig.plugin_traute.pluginId
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.depConfig.gson.dep
compileOnly Config.depConfig.support_appcompat_v7.dep
compileOnly Config.depConfig.support_design.dep
testImplementation Config.depConfig.test_junit.dep
testImplementation Config.depConfig.test_robolectric.dep
testImplementation Config.depConfig.gson.dep
testImplementation Config.depConfig.support_appcompat_v7.dep
testImplementation Config.depConfig.support_design.dep
testImplementation Config.depConfig.eventbus_lib.dep
}
afterEvaluate {
verifyReleaseResources.enabled(false)
}
apply from: "${rootDir.path}/gradle/publish.gradle"
publish {
name = "UtilCode"
groupId = Config.depConfig.lib_utilcode.groupId
artifactId = Config.depConfig.lib_utilcode.artifactId
version = Config.depConfig.lib_utilcode.version
website = "https://github.com/Blankj/AndroidUtilCode"
}