-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathbuild.gradle
58 lines (47 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
50
51
52
53
54
55
56
57
58
buildscript {
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.novoda:bintray-release:0.9'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
apply plugin: 'com.android.library'
repositories {
google()
jcenter()
}
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 4
targetSdkVersion 28
consumerProguardFiles fileTree(dir: '.', include: '*.pro').getFiles().toArray()
}
}
dependencies {
}
apply plugin: 'com.novoda.bintray-release'
def getRepositoryUsername() {
return hasProperty('BINTRAY_USER') ? BINTRAY_USER : ""
}
def getRepositoryPassword() {
return hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ""
}
publish {
userOrg = 'yongjhih'
groupId = 'com.infstory'
artifactId = 'rxjava-pro'
publishVersion = '2.0.0'
desc = 'rxjava'
website = 'https://github.com/yongjhih/android-proguards'
bintrayUser = getRepositoryUsername()
bintrayKey = getRepositoryPassword()
dryRun = false
}
apply plugin: 'com.github.dcendents.android-maven'
apply from: 'javadoc.gradle'