Skip to content

Commit

Permalink
Migrate from buildDir to layout.buildDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
arhohuttunen committed Dec 9, 2024
1 parent 240c276 commit 98d057f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {

val snapshot = rootProject.version.toString().contains("SNAPSHOT")
val docsVersion = if (snapshot) "snapshot" else rootProject.version
val docsDir = file("$buildDir/gh-pages-docs")
val docsDir = file("${layout.buildDirectory}/gh-pages-docs")

gitPublish {
repoUri.set("https://github.com/arhohuttunen/awstestkit.git")
Expand Down Expand Up @@ -94,7 +94,7 @@ tasks {
dependsOn(asciidoctor)
outputs.dir(docsDir)

from("$buildDir/checksum") {
from("${layout.buildDirectory}/checksum") {
include("published-checksum.txt")
}
from(asciidoctor.map { it.outputDir }) {
Expand Down

0 comments on commit 98d057f

Please sign in to comment.