Skip to content

Commit 047a3fe

Browse files
committed
Added library module
1 parent 2bf4650 commit 047a3fe

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

autolinklibrary/build.gradle

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

35
android {
46
compileSdkVersion 24
@@ -12,6 +14,7 @@ android {
1214
}
1315
buildTypes {
1416
release {
17+
tasks.withType(Javadoc).all { enabled = false }
1518
minifyEnabled false
1619
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1720
}
@@ -22,3 +25,12 @@ dependencies {
2225
compile fileTree(dir: 'libs', include: ['*.jar'])
2326
compile 'com.android.support:appcompat-v7:24.2.1'
2427
}
28+
29+
publish {
30+
groupId = 'com.github.armcha'
31+
artifactId = 'AutoLinkTextView'
32+
publishVersion = '0.1.0'
33+
desc = 'Auto Link Text View'
34+
licences = ['MIT']
35+
website = 'https://github.com/armcha/AutoLinkTextView'
36+
}

build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
21

32
buildscript {
43
repositories {
54
jcenter()
65
}
76
dependencies {
87
classpath 'com.android.tools.build:gradle:2.2.0'
9-
10-
// NOTE: Do not place your application dependencies here; they belong
11-
// in the individual module build.gradle files
8+
classpath 'com.novoda:bintray-release:0.3.4'
129
}
1310
}
1411

0 commit comments

Comments
 (0)