Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Fix UP-TO-DATE annotations #320

Merged
merged 6 commits into from
Jan 8, 2019
Merged

Conversation

loosebazooka
Copy link
Contributor

@loosebazooka loosebazooka commented Jan 3, 2019

Fixes #318.

  • Input -> InputFiles on dockerFile for appengine-web.xml staging.
  • InputFiles on extraFilesDirectory method renamed to an actual
    getter.
  • Also renames the configuration generater to actual name.

- Input -> InputFiles on dockerFile for appengine-web.xml staging.
- InputFiles on extraFilesDirectory method renamed to an actual
  getter.
- Also renames the configuration generater to actual name.
@loosebazooka
Copy link
Contributor Author

I'm not sure how to write a test for this. The gradle source doesn't have much testing for this, so I'm a little confused. Added a question to the gradle forums: https://discuss.gradle.org/t/how-do-i-write-a-test-to-validate-my-use-of-inputfiles-or-any-other-types-of-up-to-date-annotations/30067
I guess we'll see what happens.

@loosebazooka
Copy link
Contributor Author

@TadCordle @chanseokoh updated with a test, PTAL.

@@ -16,15 +16,23 @@

package com.google.cloud.tools.gradle.appengine.appyaml;

import static org.gradle.testkit.runner.TaskOutcome.SUCCESS;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we be using static imports?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll fix this.

@loosebazooka loosebazooka requested a review from TadCordle January 7, 2019 18:36
@loosebazooka loosebazooka merged commit 6412e8b into master Jan 8, 2019
@loosebazooka loosebazooka deleted the fixGradleUpToDateChecksAndWarnings branch April 10, 2019 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants