Skip to content

Commit

Permalink
Remove execution-time reference to project
Browse files Browse the repository at this point in the history
To resolve deprecation warning
  • Loading branch information
marcphilipp committed Jul 15, 2024
1 parent 5739773 commit 6d2ae1d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions documentation/documentation.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,14 @@ tasks {
// Temporary workaround for https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/599
inputs.dir(sourceDir).withPropertyName("sourceDir").withPathSensitivity(RELATIVE)

val platformVersion: String by project
val vintageVersion: String by project

attributeProviders += AsciidoctorAttributeProvider {
mapOf(
"jupiter-version" to version,
"platform-version" to project.property("platformVersion"),
"vintage-version" to project.property("vintageVersion"),
"platform-version" to platformVersion,
"vintage-version" to vintageVersion,
"bom-version" to version,
"junit4-version" to libs.versions.junit4.get(),
"apiguardian-version" to libs.versions.apiguardian.get(),
Expand Down

0 comments on commit 6d2ae1d

Please sign in to comment.