Skip to content

Commit

Permalink
work on manifest and artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan5366x committed Jan 8, 2019
1 parent e7b2e32 commit 22a7556
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .idea/artifacts/temporal_legacy_insights.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions temporal_insights/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import java.text.SimpleDateFormat

sourceCompatibility = 7
targetCompatibility = 7

Expand Down Expand Up @@ -30,6 +32,14 @@ sourceSets {
jar {
archiveName 'temporal_insights.jar'
from configurations.compile.collect{ zipTree( it) }
manifest {
attributes(
'Build-Timestamp': new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
'Created-By' : "Gradle ${gradle.gradleVersion}",
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
'Build-OS' : "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}"
)
}
}


Expand Down

0 comments on commit 22a7556

Please sign in to comment.