Skip to content

Commit

Permalink
Use classesDirectory property instead of deprecated outputDir
Browse files Browse the repository at this point in the history
Closes gh-22
  • Loading branch information
rainboyan committed Nov 13, 2024
1 parent 03310f4 commit 7e27015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publishing/mavenCentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ publishing {

afterEvaluate {
if (project.name.startsWith('grace-plugin')) {
artifact source: "${project.sourceSets.main.groovy.outputDir}/META-INF/grails-plugin.xml",
artifact source: "${project.sourceSets.main.groovy.classesDirectory.get()}/META-INF/grails-plugin.xml",
classifier: "plugin",
extension: 'xml'
}
Expand Down

0 comments on commit 7e27015

Please sign in to comment.