Dylan Kolson
10/15/2025, 4:21 PMPlugin with id 'org.apache.grails:grails-gsp' not found.
user
10/15/2025, 4:21 PMplugins {
id "org.apache.grails.grails-gsp"
}
According to the official docs, Grails 7 plugins use dot notation for Gradle plugin ids, and all dependencies must use the new org.apache.grails group and updated coordinates. See more at Grails 7 Upgrading Guide.
Would you like more detail on updating other dependencies or plugins?
Sources:
- https://docs.grails.org/latest/guide/theWebLayer.html#gsp
- https://grails.apache.org/docs/latest/guide/theWebLayer.html#gsp 👍 0 button 👎 2 button 💡 Hint: Mention @User in the thread for followups.user
10/15/2025, 4:21 PMuser
10/15/2025, 4:21 PMuser
10/15/2025, 4:22 PMgrails-gsp plugin is applied correctly using the apply plugin syntax instead of the plugins block. This can be particularly useful if your project is using an older Gradle configuration style or if you encounter compatibility issues with the plugins block.
You can update your build.gradle file as follows:
apply plugin: "org.apache.grails.grails-gsp"
This method explicitly applies the grails-gsp plugin and can help avoid potential issues with plugin resolution. Additionally, ensure that the grails-gsp dependency is included in your dependencies block:
dependencies {
implementation "org.apache.grails:grails-gsp:7.0.0-RC2"
}
According to the Grails Web Layer Documentation, the grails-gsp plugin must be correctly applied and the dependency must be included for GSP functionality to work in Grails 7.
This approach provides flexibility and ensures compatibility with older Gradle configurations. Would you like assistance verifying other dependencies or Gradle configurations in your project?
Sources:
- https://docs.grails.org/latest/guide/theWebLayer.html#gsp
- https://grails.apache.org/docs/latest/guide/theWebLayer.html#gsp 👍 0 button 👎 3 button 💡 Hint: Mention @User in the thread for followups.jdaugherty
10/15/2025, 4:23 PMDylan Kolson
10/15/2025, 4:35 PMjdaugherty
10/15/2025, 4:40 PMDylan Kolson
10/15/2025, 5:29 PMDylan Kolson
10/15/2025, 5:32 PMjdaugherty
10/15/2025, 5:52 PMorg.apache.grails:grails-gradle-plugins on the classpath for gradle in buildscript?Dylan Kolson
10/15/2025, 5:55 PMdependencies {
classpath "org.apache.grails:grails-gradle-plugins:7.0.0-RC2"
classpath platform("org.apache.grails:grails-bom:$grailsVersion")
}jdaugherty
10/15/2025, 6:06 PMjdaugherty
10/15/2025, 6:07 PMDylan Kolson
10/15/2025, 6:12 PMgradle-8.11.1
is ok?jdaugherty
10/15/2025, 6:13 PMjdaugherty
10/15/2025, 6:14 PMjdaugherty
10/15/2025, 6:15 PMjdaugherty
10/15/2025, 6:15 PMDylan Kolson
10/15/2025, 6:16 PMDylan Kolson
10/15/2025, 6:16 PMjdaugherty
10/15/2025, 6:19 PMDylan Kolson
10/15/2025, 6:37 PMjdaugherty
10/15/2025, 6:39 PMjdaugherty
10/15/2025, 6:40 PM