Permalink
Browse files

deployment of source and javadoc jars now working

  • Loading branch information...
graemerocher committed May 18, 2011
1 parent 1f9079b commit 66605baba4e85508cdbbb8ef9cad6ef2a4ab0fa1
Showing with 6 additions and 0 deletions.
  1. +6 −0 build.gradle
View
@@ -156,6 +156,11 @@ subprojects { project ->
repositories.mavenDeployer {
repository(url: url) {
+ beforeDeployment { deployment ->
+ ["sources", "javadoc"].each { type ->
+ deployment.addArtifact configurations.meta.artifacts.find { it.classifier == type }
+ }
+ }
final username = project.properties["artifactoryPublishUsername"]
final password = project.properties["artifactoryPublishPassword"]
@@ -168,6 +173,7 @@ subprojects { project ->
}
}
}
+ uploadArchives.dependsOn sourcesJar, javadocJar
}

0 comments on commit 66605ba

Please sign in to comment.