Skip to content

Commit 3306cb8

Browse files
committed
Adjust web and base profiles to match default applications generated from Forge
1 parent aeae5e7 commit 3306cb8

File tree

4 files changed

+16
-26
lines changed

4 files changed

+16
-26
lines changed

grails-profiles/base/profile.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,10 @@ build:
2727
- eclipse
2828
- idea
2929
- org.apache.grails.gradle.grails-app
30+
- groovy
3031
dependencies:
3132
- scope: build
3233
coords: "org.apache.grails:grails-gradle-plugins"
33-
- scope: testAndDevelopmentOnly
34-
coords: "org.webjars.npm:bootstrap"
35-
- scope: testAndDevelopmentOnly
36-
coords: "org.webjars.npm:bootstrap-icons"
37-
- scope: testAndDevelopmentOnly
38-
coords: "org.webjars.npm:jquery"
3934
- scope: implementation
4035
coords: "org.springframework.boot:spring-boot-starter-logging"
4136
- scope: implementation
@@ -46,7 +41,13 @@ dependencies:
4641
coords: "org.springframework.boot:spring-boot-starter"
4742
- scope: implementation
4843
coords: "org.apache.grails:grails-core"
44+
- scope: implementation
45+
coords: "org.apache.grails:grails-i18n"
4946
- scope: testImplementation
5047
coords: "org.apache.grails:grails-testing-support-datamapping"
5148
- scope: console
5249
coords: "org.apache.grails:grails-console"
50+
- scope: runtimeOnly
51+
coords: "org.fusesource.jansi:jansi"
52+
- scope: testImplementation
53+
coords: "org.spockframework:spock-core"

grails-profiles/base/skeleton/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repositories {
2222

2323
dependencies {
2424
implementation platform("org.apache.grails:grails-bom:$grailsVersion")
25-
developmentOnly("org.springframework.boot:spring-boot-devtools") // Spring Boot DevTools may cause performance slowdowns or compatibility issues on larger applications
25+
developmentOnly "org.springframework.boot:spring-boot-devtools" // Spring Boot DevTools may cause performance slowdowns or compatibility issues on larger applications
2626
integrationTestImplementation testFixtures("org.apache.grails:grails-geb")
2727
@dependencies@
2828
}

grails-profiles/rest-api/profile.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ description: Profile for REST API applications
1616
features:
1717
defaults:
1818
- hibernate5
19-
- events
2019
required:
2120
- json-views
2221
build:
@@ -34,31 +33,17 @@ dependencies:
3433
coords: "org.apache.grails:grails-url-mappings"
3534
- scope: implementation
3635
coords: "org.apache.grails:grails-rest-transforms"
37-
- scope: implementation
38-
coords: "org.apache.grails:grails-codecs"
3936
- scope: implementation
4037
coords: "org.apache.grails:grails-interceptors"
4138
- scope: implementation
4239
coords: "org.apache.grails:grails-services"
43-
- scope: implementation
44-
coords: "org.apache.grails:grails-datasource"
4540
- scope: implementation
4641
coords: "org.apache.grails:grails-databinding"
4742
- scope: implementation
4843
coords: "org.apache.grails:grails-web-boot"
4944
- scope: implementation
5045
coords: "org.apache.grails:grails-logging"
51-
- scope: implementation
52-
coords: "org.apache.grails:grails-cache"
53-
- scope: implementation
54-
coords: "org.apache.grails:grails-async"
55-
- scope: testImplementation
56-
coords: "io.micronaut:micronaut-http-client:4.6.5"
57-
- scope: testImplementation
58-
coords: "org.apache.grails:grails-testing-support-web"
5946
- scope: testImplementation
6047
coords: "org.apache.grails:grails-testing-support-datamapping"
6148
- scope: testImplementation
6249
coords: "org.apache.grails:grails-testing-support-views-gson"
63-
- scope: testImplementation
64-
coords: "org.hibernate.validator:hibernate-validator"

grails-profiles/web/profile.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,21 @@ dependencies:
3939
coords: "org.apache.grails:grails-rest-transforms"
4040
- scope: implementation
4141
coords: "org.apache.grails:grails-databinding"
42-
- scope: implementation
43-
coords: "org.apache.grails:grails-i18n"
4442
- scope: implementation
4543
coords: "org.apache.grails:grails-services"
4644
- scope: implementation
4745
coords: "org.apache.grails:grails-url-mappings"
46+
- scope: implementation
47+
coords: "org.apache.grails:grails-layout"
4848
- scope: implementation
4949
coords: "org.apache.grails:grails-interceptors"
5050
- scope: implementation
5151
coords: "org.apache.grails:grails-scaffolding"
5252
- scope: testImplementation
5353
coords: "org.apache.grails:grails-testing-support-web"
54-
- scope: testImplementation
55-
coords: "org.spockframework:spock-core"
54+
- scope: testAndDevelopmentOnly
55+
coords: "org.webjars.npm:bootstrap"
56+
- scope: testAndDevelopmentOnly
57+
coords: "org.webjars.npm:bootstrap-icons"
58+
- scope: testAndDevelopmentOnly
59+
coords: "org.webjars.npm:jquery"

0 commit comments

Comments
 (0)