+ gradle updates
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -104,15 +104,7 @@ javaprojects = rootProject
|
||||
sourceCompatibility = 1.6
|
||||
targetCompatibility = 1.6
|
||||
|
||||
apply from: "$rootDir/maven.gradle"
|
||||
|
||||
javadoc {
|
||||
group = "Documentation"
|
||||
description = "Builds aggregated JavaDoc HTML for all core project classes."
|
||||
|
||||
// this task is a bit ugly to configure. it was a user contribution, and
|
||||
// Hans tells me it's on the roadmap to redesign it.
|
||||
|
||||
srcDir = file("${projectDir}/docs/src/api")
|
||||
destinationDir = file("${buildDir}/api")
|
||||
tmpDir = file("${buildDir}/api-work")
|
||||
@@ -208,5 +200,7 @@ task uploadDist(type: org.springframework.gradle.tasks.S3DistroUpload, dependsOn
|
||||
projectName = 'Spring Data Key Value'
|
||||
}
|
||||
|
||||
apply from: "$rootDir/maven.gradle"
|
||||
|
||||
assemble.dependsOn = ['jar', 'sourceJar', 'javadocJar']
|
||||
defaultTasks 'clean', 'build'
|
||||
@@ -1,12 +1,10 @@
|
||||
-breakiterator
|
||||
-header "Spring Data Key-Value"
|
||||
-header "Spring Data Redis"
|
||||
-source 1.6
|
||||
-protected
|
||||
-quiet
|
||||
-docfilessubdirs
|
||||
-group "Spring Data Key Value Core" "org.springframework.data.keyvalue*"
|
||||
-group "Spring Data Redis Support" "org.springframework.data.redis*"
|
||||
-group "Spring Data Riak Support" "org.springframework.data.keyvalue.riak*"
|
||||
-link http://static.springframework.org/spring/docs/3.0.x/javadoc-api
|
||||
-link http://download.oracle.com/javase/6/docs/api/
|
||||
-exclude org.springframework.data.redis.config
|
||||
|
||||
@@ -7,9 +7,9 @@ task sourceJar(type: Jar, dependsOn: jar) {
|
||||
}
|
||||
|
||||
// Create a javadoc jar for uploading
|
||||
task javadocJar(type: Jar, dependsOn: rootProject.javadoc) {
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
classifier = 'javadoc'
|
||||
from rootProject.javadoc.destinationDir
|
||||
from javadoc.destinationDir
|
||||
}
|
||||
|
||||
artifacts {
|
||||
|
||||
Reference in New Issue
Block a user