Skip to content

Commit

Permalink
Fixed Warn ch.qos.logback.classic.Level in Grails 5.1.1 to 5.1.7 (gra…
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan authored and Stephen Lynch committed Sep 16, 2022
1 parent 7a9e8fe commit 5b512ee
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import grails.compiler.ast.ClassInjector
import grails.core.ArtefactHandler
import grails.io.IOUtils
import grails.plugins.metadata.GrailsPlugin
import grails.util.Environment
import grails.util.GrailsNameUtils
import grails.util.GrailsUtil
import groovy.transform.CompilationUnitAware
import groovy.transform.CompileDynamic
import groovy.transform.CompileStatic
Expand Down Expand Up @@ -70,7 +68,7 @@ class GlobalGrailsClassInjectorTransformation implements ASTTransformation, Comp
def projectName = classNode.getNodeMetaData("projectName")
def projectVersion = classNode.getNodeMetaData("projectVersion")
if(projectVersion == null) {
projectVersion = Environment.getGrailsVersion()
projectVersion = getClass().getPackage().getImplementationVersion()
}

pluginVersion = projectVersion
Expand Down

0 comments on commit 5b512ee

Please sign in to comment.