Skip to content

Commit

Permalink
buildscripts: log the Java version during the "jar" tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed May 10, 2024
1 parent 98dbf8d commit b817550
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ dependencies {

jar {
archiveBaseName = project.ext.baseName
doLast {
println "using Java ${JavaVersion.current()} (${System.getProperty("java.vendor")})"
}
manifest {
attributes 'Created-By': "${JavaVersion.current()} (${System.getProperty("java.vendor")})"
}
Expand Down
3 changes: 3 additions & 0 deletions vorbis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ext {

jar {
archiveBaseName = project.ext.baseName
doLast {
println "using Java ${JavaVersion.current()} (${System.getProperty("java.vendor")})"
}
manifest {
attributes 'Created-By': "${JavaVersion.current()} (${System.getProperty("java.vendor")})"
}
Expand Down

0 comments on commit b817550

Please sign in to comment.