Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove asset pipeline from example test projects #781

Open
wants to merge 2 commits into
base: 9.0.x
Choose a base branch
from

Conversation

jamesfredley
Copy link
Contributor

No description provided.

@jamesfredley jamesfredley self-assigned this Dec 20, 2024
@jamesfredley jamesfredley changed the title move asset-pipeline Gradle plugin version to one location remove asset pipeline from example test projects Dec 20, 2024
@@ -29,7 +25,6 @@ dependencies {
implementation "org.springframework.boot:spring-boot-starter-tomcat"
implementation "org.springframework.boot:spring-boot-starter-validation"
console "org.grails:grails-console"
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails"
Copy link
Contributor

@matrei matrei Dec 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one should be kept, as there are assets in the app. It's only the gradle plugin that can be removed. The gradle plugin will pre-compile assets when packaging the app. We won't do that with a test app. However the library is still needed at runtime when running tests to serve assets.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I got a little over excited to remove it completely, so that is never needed updated again in the example test projects. I'll update this one and the PR on gorm-hibernate5.

@@ -24,7 +20,6 @@ dependencies {
implementation "org.springframework.boot:spring-boot-starter-tomcat"
implementation "org.springframework.boot:spring-boot-starter-validation"
console "org.grails:grails-console"
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep

@@ -27,7 +23,6 @@ dependencies {
implementation "org.springframework.boot:spring-boot-starter-tomcat"
implementation "org.springframework.boot:spring-boot-starter-validation"
console "org.grails:grails-console"
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep

@@ -1,4 +1,5 @@
projectVersion=9.0.0-SNAPSHOT
assetPipelineVersion=5.0.4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not used, right? Remove?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants