Skip to content

Commit

Permalink
Replace deprecated uses of buildDir
Browse files Browse the repository at this point in the history
  • Loading branch information
mrotteveel committed Sep 19, 2024
1 parent 1272bd7 commit b13a027
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-properties.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ ext.isReleaseVersion = provider {
}

ext.sourceDocumentation = file('src/documentation')
ext.buildDocs = file("$buildDir/docs")
ext.buildDocs = layout.buildDirectory.dir("docs")
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ tasks.named('asciidoctor', AsciidoctorTask).configure {

task dist(type: Zip) {
dependsOn assemble, asciidoctor
destinationDirectory = file("$buildDir/dist")
destinationDirectory = layout.buildDirectory.dir("dist")

from jar.outputs
from javadocJar.outputs
Expand Down Expand Up @@ -247,7 +247,7 @@ test {

doFirst {
// ensure the 'standard' database directory exists before the test runs
def standardDbDir = file("$buildDir/tmp/db")
def standardDbDir = layout.buildDirectory.dir("tmp/db")
mkdir standardDbDir
// ensures a Firebird server can create, use and drop databases from this directory
ant.chmod(dir: standardDbDir, perm: '777')
Expand Down

0 comments on commit b13a027

Please sign in to comment.