Skip to content

Commit

Permalink
lib/build.gradle: print the Java version during the "jar" task
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Oct 25, 2023
1 parent 2c6ec27 commit 323dfe9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MinieLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ tasks.register('release') {

jar {
archiveBaseName = project.ext.baseName
doLast {
println "using Java ${JavaVersion.current()} (${System.getProperty("java.vendor")})"
}
exclude('**/empty')
if (project.ext.jarType == 'nativesOnly') {
exclude '**/*.class' // no class files
Expand Down

0 comments on commit 323dfe9

Please sign in to comment.