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

Gradle migration #144

Merged
merged 4 commits into from
Jul 2, 2021
Merged

Gradle migration #144

merged 4 commits into from
Jul 2, 2021

Conversation

spikymonkey
Copy link
Contributor

No description provided.

@spikymonkey spikymonkey force-pushed the gareth/gradle branch 3 times, most recently from b2ac64f to 408efc2 Compare June 30, 2021 17:02
@spikymonkey spikymonkey requested a review from habuma June 30, 2021 17:04
@@ -78,7 +77,7 @@ public void postProcessEnvironment(ConfigurableEnvironment environment,

increaseInvocationCount();
if (CloudPlatform.CLOUD_FOUNDRY.isActive(environment)) {
CfEnv cfEnv = CfEnvSingleton.getCfEnvInstance();
CfEnv cfEnv = new CfEnv();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Required to get CfEnv to reparse the environment. Otherwise it's cached in the singleton, which then causes failures in tests which expect CfEnv to be looking at an updated (mocked) env.

include "java-cfenv-boot"
include "java-cfenv-boot-pivotal-scs"
include "java-cfenv-boot-pivotal-sso"
//include "java-cfenv-docs"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Parity with the Maven setup - we haven't written any docs yet.

* Consistency with other Spring projects
* Simplifies upcoming publication pipeline work
* Faster build
@spikymonkey spikymonkey marked this pull request as draft July 1, 2021 16:08
@spikymonkey spikymonkey removed the request for review from habuma July 1, 2021 16:09
@spikymonkey spikymonkey marked this pull request as ready for review July 2, 2021 09:09
@spikymonkey spikymonkey merged commit 0215147 into main Jul 2, 2021
@spikymonkey spikymonkey deleted the gareth/gradle branch July 2, 2021 09:10
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.

1 participant