Skip to content

Commit 957bd7f

Browse files
authored
Merge pull request #2085 from matrei/update-develocity
build: update Develocity Plugin to v4
2 parents 5c6d2f6 + 879e109 commit 957bd7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/CustomAutoTimestampSpec.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CustomAutoTimestampSpec extends GormDatastoreSpec {
3737
when:"An entity is persisted"
3838
def r = new RecordCustom(name: "Test")
3939
def now = new Date()
40-
r.created = new Date()
40+
r.created = new Date(now.time)
4141
r.modified = r.created
4242
r.save(flush:true, failOnError:true)
4343
session.clear()
@@ -68,7 +68,7 @@ class CustomAutoTimestampSpec extends GormDatastoreSpec {
6868

6969
def r = new RecordCustom(name: "Test")
7070
def now = new Date()
71-
r.created = new Date()
71+
r.created = new Date(now.time)
7272
r.modified = r.created
7373
r.save(flush:true, failOnError:true)
7474
session.clear()

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
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
2+
id 'com.gradle.develocity' version '4.0'
33
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.2.1'
44
}
55

0 commit comments

Comments
 (0)