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

META-INF/grails.build.info is created by assemble results in tests executing in production environment #10641

Closed
graemerocher opened this Issue May 18, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@graemerocher
Member

graemerocher commented May 18, 2017

Steps to Reproduce

  1. Run gradle assemble
  2. Run a unit test in the IDE

Expected Behaviour

The unit test should run in the dev environment

Actual Behaviour

The unit test runs in the production environment

Environment Information

  • Grails Version: All versions of 3.x

Example Application

N/A

Proposed solution Solution

The buildProperties task should only be run for Jartasks and should delete the grails.build.info file once the Jartask completes.

See https://github.com/grails/grails-core/blob/master/grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy#L241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment