Skip to content

Commit

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

ext.sourceDocumentation = file('src/documentation')
ext.buildDocs = file("$buildDir/docs")
ext.buildDocs = layout.buildDirectory.dir("docs")
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,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 68f0644

Please sign in to comment.