Skip to content

Commit a34c30e

Browse files
authored
fix: Groovy 3.0.20 compatibility (#1779)
1 parent 6411d77 commit a34c30e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ apply plugin: 'project-report'
3939
allprojects {
4040
repositories {
4141
mavenCentral()
42-
maven { url "https://repo.grails.org/grails/core" }
42+
maven { url = 'https://repo.grails.org/grails/core' }
4343
if(isSnapshot) {
44-
maven { url "https://repo.grails.org/grails/libs-snapshots-local" }
44+
maven { url = 'https://repo.grails.org/grails/libs-snapshots-local' }
4545
}
4646
if(groovyVersion && groovyVersion.endsWith('-SNAPSHOT')) {
4747
maven {
48-
name 'JFrog OSS snapshot repo'
49-
url 'https://oss.jfrog.org/oss-snapshot-local/'
48+
name = 'JFrog Groovy snapshot repo'
49+
url = 'https://groovy.jfrog.io/artifactory/libs-snapshot-local'
5050
}
5151
}
5252
}

grails-datastore-gorm-rx/src/main/groovy/org/grails/datastore/rx/collection/RxPersistentSet.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class RxPersistentSet extends PersistentSet implements RxPersistentCollection, R
104104
@Override
105105
List<Serializable> getAssociationKeys() {
106106
if(keys != null) {
107-
return keys.toList()
107+
return keys.toList() as List<Serializable>
108108
}
109109
else {
110110
return Collections.emptyList()

grails-datastore-gorm-rx/src/main/groovy/org/grails/datastore/rx/collection/RxPersistentSortedSet.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class RxPersistentSortedSet extends PersistentSet implements SortedSet, RxPersis
131131
@Override
132132
List<Serializable> getAssociationKeys() {
133133
if(keys != null) {
134-
return keys.toList()
134+
return keys.toList() as List<Serializable>
135135
}
136136
else {
137137
return Collections.emptyList()

0 commit comments

Comments
 (0)