Skip to content

Commit

Permalink
Update to minimum Java 11 (#12783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet Behl committed Dec 1, 2022
1 parent de9a126 commit fa0103c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['8', '11', '14']
java: ['11', '14']
env:
WORKSPACE: ${{ github.workspace }}
GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -419,8 +419,8 @@ subprojects { project ->
if(project.name == 'grails-dependencies') return
if(project.name == 'grails-bom') return

sourceCompatibility = "1.8"
targetCompatibility = "1.8"
sourceCompatibility = "1.11"
targetCompatibility = "1.11"

if(project.name =~ /^(grails-web|grails-plugin-|grails-test-suite|grails-test)/) {
dependencies {
Expand Down
Expand Up @@ -170,7 +170,7 @@ class MainClassFinder {
boolean found = false

MainMethodFinder() {
super(Opcodes.ASM4)
super(Opcodes.ASM7)
}

@Override
Expand Down
Expand Up @@ -120,7 +120,7 @@ private static void initializeState() {
final ClassReader classReader = new ClassReader(inputStream);
final String astTransformerClassName = AstTransformer.class.getSimpleName();
final ClassLoader finalClassLoader = classLoader;
classReader.accept(new ClassVisitor(Opcodes.ASM4) {
classReader.accept(new ClassVisitor(Opcodes.ASM7) {
@Override
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
try {
Expand Down

0 comments on commit fa0103c

Please sign in to comment.