Skip to content

Commit de6dfa8

Browse files
committed
add maven POM meta data to build script
1 parent e4c248b commit de6dfa8

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

expandabletextview/build.gradle

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,48 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
4848
classifier = 'javadoc'
4949
from javadoc.destinationDir
5050
}
51+
5152
artifacts {
5253
archives javadocJar
5354
archives sourcesJar
5455
}
5556

57+
install {
58+
repositories.mavenInstaller {
59+
pom.project {
60+
name 'Android ExpandableTextview'
61+
description 'An expandable TextView for Android.'
62+
url 'https://github.com/Blogcat/Android-ExpandableTextView'
63+
inceptionYear '2016'
64+
65+
packaging 'aar'
66+
groupId 'at.blogc'
67+
artifactId 'expandabletextview'
68+
version '1.0.0'
69+
70+
licenses {
71+
license {
72+
name 'The Apache Software License, Version 2.0'
73+
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
74+
distribution 'repo'
75+
}
76+
}
77+
scm {
78+
connection 'https://github.com/Blogcat/Android-ExpandableTextView.git'
79+
url 'https://github.com/Blogcat/Android-ExpandableTextView'
80+
81+
}
82+
developers {
83+
developer {
84+
id 'cliffus'
85+
name 'Cliff Ophalvens'
86+
email 'cliff.ophalvens@gmail.com'
87+
}
88+
}
89+
}
90+
}
91+
}
92+
5693
bintray {
5794
user = "${bintray_user}"
5895
key = "${bintray_apikey}"

0 commit comments

Comments
 (0)