Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CustomAutoTimestampSpec extends GormDatastoreSpec {
when:"An entity is persisted"
def r = new RecordCustom(name: "Test")
def now = new Date()
r.created = new Date()
r.created = new Date(now.time)
r.modified = r.created
r.save(flush:true, failOnError:true)
session.clear()
Expand Down Expand Up @@ -68,7 +68,7 @@ class CustomAutoTimestampSpec extends GormDatastoreSpec {

def r = new RecordCustom(name: "Test")
def now = new Date()
r.created = new Date()
r.created = new Date(now.time)
r.modified = r.created
r.save(flush:true, failOnError:true)
session.clear()
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'com.gradle.develocity' version '3.19.2' // Do not upgrade to v4 until Groovy can build with it: https://lists.apache.org/thread/z3ohqxxmdm9p1y18j6mk1cpp6fvnz6k7
id 'com.gradle.develocity' version '4.0'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.2.1'
}

Expand Down
Loading