We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ccd36 commit 36b0a89Copy full SHA for 36b0a89
grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/web/gsp/GroovyPagePlugin.groovy
@@ -72,10 +72,15 @@ class GroovyPagePlugin implements Plugin<Project> {
72
war.classpath = war.classpath + project.files(destDir)
73
}
74
allTasks.withType(Jar) { Jar jar ->
75
- if(!(jar instanceof War) && (jar.name == 'bootJar')) {
76
- jar.dependsOn compileGroovyPages
77
- jar.from(destDir) {
78
- into("BOOT-INF/classes")
+ if(!(jar instanceof War)) {
+ if (jar.name == 'bootJar') {
+ jar.dependsOn compileGroovyPages
+ jar.from(destDir) {
79
+ into("BOOT-INF/classes")
80
+ }
81
+ } else if(jar.name == 'jar') {
82
83
+ jar.from destDir
84
85
86
0 commit comments