Skip to content

Commit a29b6f5

Browse files
committed
Publish library
1 parent c213af1 commit a29b6f5

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ buildscript {
88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:3.1.0'
11+
classpath 'com.novoda:bintray-release:0.8.0'
1112

1213

1314
// NOTE: Do not place your application dependencies here; they belong

support/build.gradle

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.novoda.bintray-release'
23

34
android {
45
compileSdkVersion 27
@@ -17,7 +18,28 @@ android {
1718
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1819
}
1920
}
21+
}
22+
23+
allprojects {
24+
tasks.withType(Javadoc).all { enabled = false }
25+
}
26+
if (JavaVersion.current().isJava8Compatible()) {
27+
allprojects {
28+
tasks.withType(Javadoc) {
29+
options.addStringOption('Xdoclint:none', '-quiet')
30+
}
31+
}
32+
}
2033

34+
publish {
35+
userOrg = 'nikart'
36+
groupId = 'com.github.nikartm'
37+
artifactId = 'process-button'
38+
publishVersion = '1.0.0'
39+
desc = 'Android library. Animated striped button to show loading process.'
40+
licences = ['Apache-2.0']
41+
uploadName='StripedProcessButton'
42+
website = 'https://github.com/nikartm/StripedProcessButton'
2143
}
2244

2345
dependencies {

0 commit comments

Comments
 (0)