-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
45 lines (33 loc) · 1.03 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
apply plugin: 'com.android.library'
ext {
groupId = 'com.jst.componentinitializer'
artifactId = 'componentinitializer'
version = '1.0.0'
//Because the components are created only during the afterEvaluate phase (https://developer.android.com/studio/build/maven-publish-plugin)
afterEvaluate{
maven_component = components.release
}
//Bintray 网站上的 package name
bintrayName = 'component-initializer-api'
}
android {
compileSdkVersion 30
defaultConfig {
minSdkVersion 17
targetSdkVersion 30
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
api 'com.jst.componentinitializer:annotation:1.0.0'
//调试时可以使用源码依赖
// api project(':component-initializer-annotation')
}
apply from: '../maven-publish.gradle'
apply from: '../bintray.gradle'