Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Warn ch.qos.logback.classic.Level in Grails 5.1.1 to 5.1.7 (Missing in 5.2 branch) #12701

Merged
merged 1 commit into from
Oct 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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