Skip to content

Commit 226ccc5

Browse files
committed
1 parent 030690c commit 226ccc5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jreleaser {
6868
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
6969
closeRepository.set(true)
7070
releaseRepository.set(true)
71-
stagingRepositories.add("${rootProject.buildDir}/staging")
71+
stagingRepositories.add("${rootProject.layout.buildDirectory}/staging")
7272
}
7373
}
7474
}

buildSrc/src/main/kotlin/smithy-gradle-plugin.plugin-conventions.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ publishing {
2929
repositories {
3030
maven {
3131
name = "stagingRepository"
32-
url = uri("${rootProject.buildDir}/staging")
32+
url = uri("${rootProject.layout.buildDirectory}/staging")
3333
}
3434
}
3535
// Add license spec to all maven publications
@@ -157,7 +157,7 @@ tasks.jacocoTestReport {
157157
reports {
158158
xml.required.set(false)
159159
csv.required.set(false)
160-
html.outputLocation.set(file("$buildDir/reports/jacoco"))
160+
html.outputLocation.set(file("${layout.buildDirectory}/reports/jacoco"))
161161
}
162162
}
163163

0 commit comments

Comments
 (0)