Skip to content

Commit

Permalink
RC2 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
SavvasMisaghMoayyed committed Sep 19, 2016
1 parent 3b3fcb8 commit 9bed2d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,11 @@ subprojects {
ext.buildDate = null
ext.buildJarFile = new File(project.buildDir, "libs/${project.name}-${project.version}.jar")

compileJava.options.fork = true
compileJava.options.fork = true

def currentTime = java.time.ZonedDateTime.now()
compileJava.doLast {
buildDate = java.time.ZonedDateTime.now()
buildDate = currentTime
jar.manifest {
attributes("Implementation-Date": project.buildDate)
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ gradleVersion=3.0
sourceCompatibility=1.8
targetCompatibility=1.8
group=org.apereo.cas
version=5.0.0.RC2-SNAPSHOT
version=5.0.0.RC2

aspectjVersion=1.8.9
junitVersion=4.12
Expand Down
4 changes: 3 additions & 1 deletion webapp-mgmt/cas-management-webapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ bootRepackage {
}

war {
def currentTime = java.time.ZonedDateTime.now()

manifest {
attributes("Implementation-Title": project.name,
"Implementation-Vendor": project.group,
"Created-By": project.group,
"Implementation-Date": java.time.ZonedDateTime.now(),
"Implementation-Date": currentTime,
"Implementation-Version": project.version)
}
enabled = !rootProject.publishReleases && !rootProject.publishSnapshots
Expand Down
3 changes: 2 additions & 1 deletion webapp/cas-server-webapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ javadoc {
}

war {
def currentTime = java.time.ZonedDateTime.now()
manifest {
attributes("Implementation-Title": project.name,
"Implementation-Vendor": project.group,
"Created-By": project.group,
"Implementation-Date": java.time.ZonedDateTime.now(),
"Implementation-Date": currentTime,
"Implementation-Version": project.version)
}
from "${project.buildDir}/generated-src/main/resources", { into "WEB-INF/classes" }
Expand Down

0 comments on commit 9bed2d2

Please sign in to comment.