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

Merge 6.2.x into 7.0.x #526

Merged
merged 10 commits into from
Oct 31, 2024
7 changes: 7 additions & 0 deletions gradle/grails-plugin-config.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tasks.named('bootJar') {
enabled = false // Plugins should not create a bootJar
}
tasks.named('jar', Jar) {
enabled = true // Enable the jar task again, as the bootJar task has been disabled
archiveClassifier = '' // Remove '-plain' suffix from jar file name
}
8 changes: 3 additions & 5 deletions grails-plugin-gsp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ dependencies {

testRuntimeOnly "org.grails:grails-plugin-url-mappings:$grailsVersion"
}
// disable main class
bootJar {
mainClass.set('dummy.Application')
}
findMainClass.onlyIf { false }

test {
if (isCiBuild) {
maxParallelForks = 1
Expand All @@ -63,3 +59,5 @@ test {
System.out.flush()
}
}

apply from: rootProject.layout.projectDirectory.file('gradle/grails-plugin-config.gradle')
Loading