domix
08/17/2025, 9:15 PMdomix
08/17/2025, 9:16 PMgradle tasks and I'm getting this error:
FAILURE: Build failed with an exception.
* Where:
Build file '/media/domix/dmxData/developer/tmp/grails7/pupitre/PupitreAdmin/build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'PupitreAdmin'.
> Plugin with id 'org.apache.grails.gradle.grails-web' not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 679ms
1 actionable task: 1 up-to-datedomix
08/17/2025, 9:17 PMJames Fredley
08/17/2025, 9:26 PMplugin {id} since they are published to maven central and not to the gradle plugin portal. the gradle plugin portal does not support snapshots, so we stick with apply plugin which does snapshots during development and non-spapshots during release.
buildscript {
repositories {
mavenCentral()
maven {
url = '<https://repo.grails.org/grails/restricted>'
}
}
dependencies { // Not Published to Gradle Plugin Portal
classpath "cloud.wondrify:asset-pipeline-gradle"
classpath platform("org.apache.grails:grails-bom:$grailsVersion")
classpath "org.apache.grails:grails-data-hibernate5"
classpath "org.apache.grails:grails-gradle-plugins"
}
}
plugins {
id "war"
id "idea"
id "eclipse"
}
// Not Published to Gradle Plugin Portal
apply plugin: "org.apache.grails.gradle.grails-web"
apply plugin: "org.apache.grails.gradle.grails-gsp"
apply plugin: "cloud.wondrify.asset-pipeline"James Fredley
08/17/2025, 9:27 PMdomix
08/17/2025, 9:28 PMJames Fredley
08/17/2025, 9:32 PMdomix
08/17/2025, 9:33 PMcurl --location --request GET '<https://next.grails.org/create/web/pupitre.admin.PupitreAdmin?gorm=HIBERNATE&servlet=TOMCAT&test=SPOCK&javaVersion=JDK_24&features=asciidoctor&features=cache-ehcache&features=cache&features=database-migration&features=geb-with-webdriver-binaries&features=github-workflow-java-ci&features=gradle-settings-file&features=gradle-build-src&features=grails-web-console&features=grails-quartz&features=hibernate-validator&features=logbackGroovy&features=spring-boot-virtual-threads&features=postgres&features=testcontainers>' --output PupitreAdmin.zipJames Fredley
08/17/2025, 9:43 PMJames Fredley
08/17/2025, 9:48 PMJames Fredley
08/17/2025, 9:54 PMdomix
08/17/2025, 9:56 PMdomix
08/17/2025, 9:56 PMJames Fredley
08/17/2025, 10:07 PM<https://snapshot.grails.org/create/web/pupitre.admin.PupitreAdmin?gorm=HIBERNATE&servlet=TOMCAT&test=SPOCK&javaVersion=JDK_24&features=asciidoctor&features=cache&features=database-migration&features=github-workflow-java-ci&features=gradle-settings-file&features=gradle-build-src&features=grails-web-console&features=grails-quartz&features=hibernate-validator&features=spring-boot-virtual-threads>
plus adjusting the following versions gives a working application
implementation "org.apache.grails:grails-quartz:4.0.0-M3"
runtimeOnly "org.grails.plugins:grails-web-console:7.0.0-M3"
and I believe this will work also with postgres and test container
<https://snapshot.grails.org/create/web/pupitre.admin.PupitreAdmin?gorm=HIBERNATE&servlet=TOMCAT&test=SPOCK&javaVersion=JDK_24&features=asciidoctor&features=cache&features=database-migration&features=github-workflow-java-ci&features=gradle-settings-file&features=gradle-build-src&features=grails-web-console&features=grails-quartz&features=hibernate-validator&features=spring-boot-virtual-threads&features=postgres&features=testcontainers>James Fredley
08/17/2025, 10:11 PMJames Fredley
08/17/2025, 10:21 PMJames Fredley
08/17/2025, 10:32 PM