From db600f4fbf92866add0e4d1b39fe536fb81f5b64 Mon Sep 17 00:00:00 2001 From: Scott Murphy Heiberg Date: Mon, 11 Nov 2024 09:00:39 -0800 Subject: [PATCH] Configure script example to use publish snapshot with sdkmanrc settings --- sample-apps/gsp/script/.sdkmanrc | 2 ++ sample-apps/gsp/script/app.groovy | 1 + 2 files changed, 3 insertions(+) create mode 100644 sample-apps/gsp/script/.sdkmanrc diff --git a/sample-apps/gsp/script/.sdkmanrc b/sample-apps/gsp/script/.sdkmanrc new file mode 100644 index 0000000..2b29e06 --- /dev/null +++ b/sample-apps/gsp/script/.sdkmanrc @@ -0,0 +1,2 @@ +java=21.0.4-jbr +springboot=2.7.18 diff --git a/sample-apps/gsp/script/app.groovy b/sample-apps/gsp/script/app.groovy index e7819f5..7bbe71c 100644 --- a/sample-apps/gsp/script/app.groovy +++ b/sample-apps/gsp/script/app.groovy @@ -1,3 +1,4 @@ +@GrabResolver(name='grails-repo', root='https://repo.grails.org/grails/core/') @Grab("org.grails:grails-gsp-spring-boot:6.2.2-SNAPSHOT") import grails.gsp.TagLib