+ some Gradle fixes with uploads
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -101,6 +101,7 @@ def customizePom(pom) {
|
||||
}
|
||||
}*.optional = true
|
||||
|
||||
p.groupId = "org.springframework.data"
|
||||
}
|
||||
|
||||
pom.project {
|
||||
|
||||
Reference in New Issue
Block a user