File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed
Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 1+ import java.text.SimpleDateFormat
2+
3+ static String buildDate () {
4+ def df = new SimpleDateFormat (" yyyy-MM-dd" )
5+ df. setTimeZone(TimeZone . getTimeZone(" UTC" ))
6+ return df. format(new Date ())
7+ }
8+
19asciidoctor {
210 logDocuments true
311 baseDirFollowsSourceDir()
Original file line number Diff line number Diff line change 1- import java.text.SimpleDateFormat
2-
31buildscript {
42 repositories {
53 maven { url " https://repo.grails.org/grails/core" }
@@ -64,12 +62,6 @@ dependencies {
6462
6563bootJar. enabled = false
6664
67- static String buildDate () {
68- def df = new SimpleDateFormat (" yyyy-MM-dd" )
69- df. setTimeZone(TimeZone . getTimeZone(" UTC" ))
70- return df. format(new Date ())
71- }
72-
7365task wrapper (type : Wrapper ) {
7466 gradleVersion = gradleWrapperVersion
7567}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments