Skip to content

Commit fda4d44

Browse files
committed
Merge branch '7.0.x' into more-url-cleanup
# Conflicts: # grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/reloading/Springloaded.java
2 parents df6774b + 3a8f7fa commit fda4d44

File tree

15 files changed

+14
-109
lines changed

15 files changed

+14
-109
lines changed

grails-doc/src/en/guide/commandLine/creatingProject.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ The "create-*" commands are used to produce a fundamental Grails project, allowi
175175
----
176176
177177
| -f, --features
178-
| The features to use. Possible values: h2, gorm-hibernate5, spring-boot-starter-jetty, springloaded, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, properties
178+
| The features to use. Possible values: h2, gorm-hibernate5, spring-boot-starter-jetty, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, properties
179179
|
180180
[source,shell]
181181
----

grails-doc/src/en/guide/commandLine/interactiveMode.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Creates an application
6767
[NAME] The name of the application to create.
6868
-f, --features=FEATURE[,FEATURE...]
6969
The features to use. Possible values: h2, scaffolding, gorm-hibernate5,
70-
spring-boot-starter-jetty, springloaded, spring-boot-starter-tomcat,
70+
spring-boot-starter-jetty, spring-boot-starter-tomcat,
7171
micronaut-http-client, cache-ehcache, hibernate-validator, postgres,
7272
mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb,
7373
assertj, mockito, spring-boot-starter-undertow,
@@ -131,7 +131,6 @@ Available Features
131131
assertj AssertJ fluent assertions framework
132132
hamcrest Hamcrest matchers for JUnit
133133
jrebel Adds support for class reloading with JRebel (requires separate JRebel installation)
134-
springloaded Adds support for class reloading with Spring Loaded
135134
136135
Documentation
137136
asciidoctor Adds support for creating Asciidoctor documentation

grails-doc/src/en/guide/gettingStarted/downloadingAndInstalling.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Partial list, for illustration purposes:
5656
| `./grails test run-app` | `./gradlew bootRun -Dgrails.env=test` | run-app is a Grails Script from the Base Grails Profile commands directory and ultimately calls the Gradle bootRun task
5757
| `./grails package` | `./gradlew assemble -Dgrails.env=prod` | package is a YAML file from the Base Grails Profile commands directory which is converted by YamlCommandFactory, when Grails CLI starts, into a Grails Command which ultimately calls the Gradle assemble task
5858
| `./grails generate-all org.bookstore.Author` | `./gradlew runCommand -Pargs="generate-all org.bookstore.Author"` | None. The Grails Script GenerateAll.groovy and the Grails Command GenerateAllCommand.groovy both come from the Scaffolding Plugin and have duplicate functionality
59-
| `./grails dbm-update` | `./gradlew dbmUpdate` | None. Separate script and command in Database Migration Plugin
60-
| `./grails dbm-generate-changelog person-domain.groovy` | `./gradlew dbmGenerateChangelog -Pargs=" person-domain.groovy"` | None. Separate script and command in Database Migration Plugin
59+
| `./grails dbm-update` | `./gradlew dbmUpdate` | Both are provided by DbmUpdateCommand.groovy in the database migration plugin
60+
| `./grails dbm-generate-changelog person-domain.groovy` | `./gradlew dbmGenerateChangelog -Pargs="person-domain.groovy"` | Both are provided by DbmGenerateChangelogCommand.groovy in the database migration plugin
6161
| `./grails s2-quickstart com.yourapp User Role` | `./gradlew runCommand -Pargs="s2-quickstart com.yourapp User Role"` | None. The Grails Script s2-quickstart.groovy and the Grails Command S2QuickstartCommand.groovy both come from the Grails Spring Security Core Plugin and have duplicate functionality
6262

6363
|===

grails-doc/src/en/ref/Command Line/create-plugin.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Options include specifying features, configuring the GORM implementation, select
7070

7171
Here are the available options for the create-plugin command:
7272

73-
- -f, --features=FEATURE[,FEATURE...]: Specifies the features to include in the plugin. Available options include h2, gorm-hibernate5, spring-boot-starter-jetty, springloaded, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, properties.
73+
- -f, --features=FEATURE[,FEATURE...]: Specifies the features to include in the plugin. Available options include h2, gorm-hibernate5, spring-boot-starter-jetty, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, properties.
7474
- -g, --gorm=GORM Implementation: Specifies the GORM Implementation to configure for the plugin. Possible values are hibernate, mongodb, neo4j.
7575
- -h, --help: Displays the help message and exits.
7676
- -i, --inplace: Creates a service within the current directory.

grails-doc/src/en/ref/Command Line/create-restapi.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The `create-restapi` command accepts the following options:
4040

4141
- `NAME`: The desired name for the REST API application.
4242

43-
- `-f, --features=FEATURE[,FEATURE...]`: Specifies the features to include. Available options include h2, scaffolding, gorm-hibernate5, spring-boot-starter-jetty, springloaded, spring-boot-starter-tomcat, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, asset-pipeline-grails, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, geb, properties.
43+
- `-f, --features=FEATURE[,FEATURE...]`: Specifies the features to include. Available options include h2, scaffolding, gorm-hibernate5, spring-boot-starter-jetty, spring-boot-starter-tomcat, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, asset-pipeline-grails, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, geb, properties.
4444

4545
- `-g, --gorm=GORM Implementation`: Specifies the GORM Implementation to configure, with options like hibernate, mongodb, neo4j.
4646

grails-doc/src/en/ref/Command Line/create-web-plugin.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ grails create-web-plugin [OPTIONS] NAME
3838

3939
Here are the available options for the `create-web-plugin` command:
4040

41-
- `-f, --features=FEATURE[,FEATURE...]`: Specifies the features to include in the plugin. Available options include h2, gorm-hibernate5, spring-boot-starter-jetty, springloaded, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, properties.
41+
- `-f, --features=FEATURE[,FEATURE...]`: Specifies the features to include in the plugin. Available options include h2, gorm-hibernate5, spring-boot-starter-jetty, micronaut-http-client, cache-ehcache, hibernate-validator, postgres, mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb, assertj, mockito, spring-boot-starter-undertow, github-workflow-java-ci, jrebel, testcontainers, sqlserver, grails-console, views-markup, views-json, gorm-neo4j, asciidoctor, embedded-mongodb, grails-web-console, logbackGroovy, mongo-sync, shade, properties.
4242

4343
- `-g, --gorm=GORM Implementation`: Specifies the GORM Implementation to configure for the plugin. Possible values are hibernate, mongodb, neo4j.
4444

grails-doc/src/en/ref/Command Line/help.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Creates an application
140140
[NAME] The name of the application to create.
141141
-f, --features=FEATURE[,FEATURE...]
142142
The features to use. Possible values: h2, scaffolding, gorm-hibernate5,
143-
spring-boot-starter-jetty, springloaded, spring-boot-starter-tomcat,
143+
spring-boot-starter-jetty, spring-boot-starter-tomcat,
144144
micronaut-http-client, cache-ehcache, hibernate-validator, postgres,
145145
mysql, cache, database-migration, grails-gsp, hamcrest, gorm-mongodb,
146146
assertj, mockito, spring-boot-starter-undertow,

grails-doc/src/en/ref/Command Line/list-features.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ Available Features
8080
assertj AssertJ fluent assertions framework
8181
hamcrest Hamcrest matchers for JUnit
8282
jrebel Adds support for class reloading with JRebel (requires separate JRebel installation)
83-
springloaded Adds support for class reloading with Spring Loaded
8483
8584
Documentation
8685
asciidoctor Adds support for creating Asciidoctor documentation

grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/templates/buildGradle.rocker.raw

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,6 @@ run {
114114

115115
}
116116

117-
@if (features.contains("springloaded")) {
118-
run {
119-
jvmArgs("-noverify", "-javaagent:agent/springloaded-1.2.8.RELEASE.jar")
120-
}
121-
122-
}
123-
124117
@if (features.contains("spock")) {
125118
tasks.withType(Test) {
126119
useJUnitPlatform()

grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/reloading/SpringBootDevTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public boolean isVisible() {
6161

6262
@Override
6363
public boolean shouldApply(ApplicationType applicationType, Options options, Set<Feature> selectedFeatures) {
64-
return true;
64+
return selectedFeatures.stream().noneMatch(f -> f instanceof ReloadingFeature);
6565
}
6666

6767
@Override

0 commit comments

Comments
 (0)