Skip to content

Commit

Permalink
Update to the latest nightly to get more deprecation trace, and fix s…
Browse files Browse the repository at this point in the history
…ome more deprecation warnings in our build.
  • Loading branch information
ldaley committed Feb 6, 2012
1 parent 20dfa8c commit 9d35bdd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 21 deletions.
4 changes: 2 additions & 2 deletions gradle/codeQuality.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ checkstyleConfigDir = "$configDir/checkstyle"

checkstyle {
configFile = new File(checkstyleConfigDir, "checkstyle.xml")
configProperties = [checkstyleConfigDir: checkstyleConfigDir]
configProperties.checkstyleConfigDir = checkstyleConfigDir
}

codenarc {
Expand All @@ -20,7 +20,7 @@ plugins.withType(GroovyBasePlugin) {
configFile = new File(checkstyleConfigDir, "checkstyle-groovy.xml")
source sourceSet.allGroovy
classpath = sourceSet.compileClasspath
reportsFile = new File(checkstyle.reportsDir, "${sourceSet.name}-groovy.xml")
reports.xml.destination new File(checkstyle.reportsDir, "${sourceSet.name}-groovy.xml")
}
}
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Feb 06 17:32:36 GMT 2012
#Mon Feb 06 18:46:37 GMT 2012
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://downloads.gradle.org/distributions-snapshots/gradle-1.0-milestone-8-20120206163847+0100-bin.zip
distributionUrl=http\://downloads.gradle.org/distributions-snapshots/gradle-1.0-milestone-8-20120206191800+0100-bin.zip
26 changes: 9 additions & 17 deletions subprojects/docs/docs.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,9 @@ task dslHtml(type: Docbook2Xhtml) {
source dslStandaloneDocbook
destDir = new File(docsDir, 'dsl')
stylesheetName = 'dslHtml.xsl'
resources = fileTree {
from cssSrcDir
resources = fileTree(cssSrcDir) {
include '*.css'
} + fileTree {
from dslSrcDir
} + fileTree(dslSrcDir) {
include '*.js'
}
}
Expand Down Expand Up @@ -184,12 +182,10 @@ task userguideHtml(type: Docbook2Xhtml) {
source userguideDocbook
destDir = userguideDir
stylesheetName = 'userGuideHtml.xsl'
resources = fileTree {
from userguideSrcDir
resources = fileTree(userguideSrcDir) {
include 'img/*.png'
}
resources += fileTree {
from cssSrcDir
resources += fileTree(cssSrcDir) {
include '*.css'
}
}
Expand All @@ -198,12 +194,10 @@ task userguideSingleHtml(type: Docbook2Xhtml) {
source userguideDocbook
destFile = new File(userguideDir, 'userguide_single.html')
stylesheetName = 'userGuideSingleHtml.xsl'
resources = fileTree {
from userguideSrcDir
resources = fileTree(userguideSrcDir) {
include 'img/*.png'
}
resources += fileTree {
from cssSrcDir
resources += fileTree(cssSrcDir) {
include '*.css'
}
}
Expand All @@ -212,12 +206,10 @@ task userguideXhtml(type: Docbook2Xhtml) {
source pdfUserguideDocbook
destFile = new File(buildDir, 'tmp/userguidePdf/userguidePdf.html')
stylesheetName = 'userGuidePdf.xsl'
resources = fileTree {
from userguideSrcDir
resources = fileTree(userguideSrcDir) {
include 'img/*.png'
}
resources += fileTree {
from cssSrcDir
resources += fileTree(cssSrcDir) {
include '*.css'
}
}
Expand Down Expand Up @@ -254,7 +246,7 @@ task checkstyleApi(type: Checkstyle) {
source javadoc.source
configFile = file("$checkstyleConfigDir/checkstyle-api.xml")
classpath = files()
reportFile = file("$checkstyle.reportsDir/checkstyle-api.xml")
reports.xml.destination = file("$checkstyle.reportsDir/checkstyle-api.xml")
}

//TODO SF - generates for java as well, rename to codedoc?
Expand Down

0 comments on commit 9d35bdd

Please sign in to comment.