Skip to content

Commit

Permalink
version prints
Browse files Browse the repository at this point in the history
  • Loading branch information
lb-actoron committed Mar 25, 2022
1 parent 5ce34d0 commit c0b1d4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Expand Up @@ -58,6 +58,7 @@ if(timestamp==null) {
project.ext.timestamp = new Date().format('yyyyMMdd.HHmmss')
// println 'timestamp: '+project.ext.timestamp
}
println 'build timestamp: '+project.ext.timestamp

System.setOut(new PrintStream(new OutputStream() {
private ByteArrayOutputStream buffer = new ByteArrayOutputStream();
Expand Down Expand Up @@ -220,6 +221,7 @@ task createVersionInfo(type: Copy) {
include 'jadexversion.properties'
expand(SRCDIST_JADEXVERSION: version.toString(), SRCDIST_PATCH_LEVEL: version.patch ?: '', SRCDIST_TIMESTAMP: project.ext.timestamp)
}
println 'createVersionInfo: ' + project.buildDir.getCanonicalPath()+" "+version.toString()+" "+version.patch+" "+project.ext.timestamp;
}
createVersionInfo.mustRunAfter clean

Expand Down

0 comments on commit c0b1d4a

Please sign in to comment.