Skip to content

Commit de938d2

Browse files
Add sourcesJar and javadocsJar to maven publish configuration. (#220)
Signed-off-by: Steven Shropshire <steven.shropshire@getbraintree.com> Co-authored-by: Sarah Koop <skoop@paypal.com>
1 parent a35ce5e commit de938d2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Drop-In/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ task sourcesJar(type: Jar) {
9898
from android.sourceSets.main.java.srcDirs
9999
}
100100

101-
artifacts {
102-
archives javadocsJar
103-
archives sourcesJar
104-
}
105-
106101
signing {
107102
required {
108103
!version.endsWith("SNAPSHOT") && !version.endsWith("DEVELOPMENT")
@@ -124,6 +119,9 @@ afterEvaluate {
124119
release(MavenPublication) {
125120
from components.release
126121

122+
artifact sourcesJar
123+
artifact javadocsJar
124+
127125
groupId = 'com.braintreepayments.api'
128126
artifactId = 'drop-in'
129127
version = rootProject.versionName

0 commit comments

Comments
 (0)