forked from anggrayudi/MaterialPreference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbintray-publish.gradle
More file actions
35 lines (30 loc) · 906 Bytes
/
bintray-publish.gradle
File metadata and controls
35 lines (30 loc) · 906 Bytes
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
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
bintray {
user = POM_DEVELOPER_ID
key = properties["bintray.apiKey"]
configurations = ['archives']
pkg {
repo = 'maven'
name = POM_ARTIFACT_ID
websiteUrl = POM_SCM_URL
vcsUrl = VCS_URL
githubRepo = "anggrayudi/MaterialPreference"
issueTrackerUrl = "https://github.com/anggrayudi/MaterialPreference/issues"
licenses = [POM_LICENCE_NAME]
publish = true
publicDownloadNumbers = true
version.gpg {
sign = true
}
}
}