Skip to content

Commit

Permalink
Fixing aggregateJavadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Ryan committed Jun 20, 2013
1 parent b0585da commit 6df65bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gradle/convention.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def docTasks = [:]
def shortName = docClass.simpleName.toLowerCase()
def docTask = task "aggregate${shortName.capitalize()}"(type: docClass, description: "Aggregate subproject ${shortName}s") {
source = allSources
destinationDir = file("${project.buildDir}/docs/${shortName}")
doFirst {
def classpaths = allprojects.findAll { it.plugins.hasPlugin(JavaPlugin) }.collect { it.sourceSets.main.compileClasspath }
classpath = files(classpaths)
Expand All @@ -84,7 +85,7 @@ def docTasks = [:]
}

githubPages {
repoUri = "[email protected]:quidryan/${rootProject.githubProjectName}.git"
repoUri = "[email protected]:Netflix/${rootProject.githubProjectName}.git"
pages {
docTasks.each { shortName, docTask ->
from(docTask.outputs.files) {
Expand Down

0 comments on commit 6df65bf

Please sign in to comment.