+ some Gradle fixes with uploads

This commit is contained in:
Costin Leau
2011-07-06 17:53:02 +03:00
parent 45fe990b74
commit 3a81a4c979
3 changed files with 5 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ buildscript {
addArtifactPattern 'http://cloud.github.com/downloads/costin/gradle-stuff/[organization].[module]-[revision].[ext]'
}
mavenCentral()
mavenLocal()
mavenRepo name: "springsource-org-release", urls: "http://repository.springsource.com/maven/bundles/release"
mavenRepo name: "springsource-org-external", urls: "http://repository.springsource.com/maven/bundles/external"
}

View File

@@ -66,11 +66,11 @@ task docSiteLogin(type: org.springframework.gradle.tasks.Login) {
}
// upload task
task uploadApi(type: org.springframework.gradle.tasks.ScpUpload) {
dependsOn rootProject.javadoc, docbook
task uploadDocs(type: org.springframework.gradle.tasks.ScpUpload) {
dependsOn rootProject.javadoc, reference
description = "Upload API Distribution"
group = "Distribution"
remoteDir = "./static.spring/spring-data/data-keyvalue/docs/${project.version}"
remoteDir = "./static.spring/spring-data/data-redis/docs/${project.version}"
login = docSiteLogin
with(apiSpec)

View File

@@ -101,6 +101,7 @@ def customizePom(pom) {
}
}*.optional = true
p.groupId = "org.springframework.data"
}
pom.project {