Skip to content

Commit 4a4afca

Browse files
committed
Set up bintray
1 parent 7b14586 commit 4a4afca

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

app/build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ apply plugin: 'kotlin-android'
44

55
apply plugin: 'kotlin-android-extensions'
66

7+
apply plugin: 'com.novoda.bintray-release'
8+
79
android {
810
compileSdkVersion 28
911
defaultConfig {
@@ -16,6 +18,10 @@ android {
1618
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1719
}
1820
}
21+
lintOptions {
22+
abortOnError false
23+
}
24+
1925
}
2026

2127
dependencies {
@@ -24,3 +30,13 @@ dependencies {
2430
implementation 'com.google.android.material:material:1.0.0'
2531
implementation 'com.github.bufferapp:CounterView:115e659a89'
2632
}
33+
34+
publish {
35+
repoName = 'Maven'
36+
userOrg = 'buffer'
37+
groupId = 'org.buffer.android'
38+
artifactId = 'android-components'
39+
publishVersion = '0.2'
40+
desc = 'An Android library for frequently used UI components'
41+
website = 'https://github.com/bufferapp/android-components'
42+
}

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ buildscript {
1212
dependencies {
1313
classpath 'com.android.tools.build:gradle:3.2.0'
1414
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
15+
classpath 'com.novoda:bintray-release:0.9.1'
1516

1617
// NOTE: Do not place your application dependencies here; they belong
1718
// in the individual module build.gradle files

0 commit comments

Comments
 (0)