Skip to content

Commit 638edc7

Browse files
authored
1 parent 5c2c916 commit 638edc7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ apply plugin: 'project-report'
3737

3838
allprojects {
3939
repositories {
40+
mavenCentral()
4041
maven { url "https://repo.grails.org/grails/core" }
4142
if(isSnapshot) {
4243
maven { url "https://repo.grails.org/grails/libs-snapshots-local" }

grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/services/transform/ServiceTransformation.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import grails.gorm.services.Service
1919
import grails.gorm.transactions.NotTransactional
2020
import groovy.transform.CompilationUnitAware
2121
import groovy.transform.CompileStatic
22+
import groovyjarjarasm.asm.Opcodes
2223
import org.codehaus.groovy.ast.AnnotationNode
2324
import org.codehaus.groovy.ast.ClassHelper
2425
import org.codehaus.groovy.ast.ClassNode
@@ -191,7 +192,7 @@ class ServiceTransformation extends AbstractTraitApplyingGormASTTransformation i
191192
ClassNode superClass = isInterface ? ClassHelper.OBJECT_TYPE : classNode.plainNodeReference
192193
String serviceClassName = classNode.nameWithoutPackage
193194
ClassNode impl = new ClassNode("${packageName}\$${serviceClassName}Implementation", // class name
194-
ACC_PUBLIC, // public
195+
Opcodes.ACC_PUBLIC, // public
195196
superClass,
196197
interfaces)
197198

0 commit comments

Comments
 (0)