-
Notifications
You must be signed in to change notification settings - Fork 19
MF-8059 add AGP 9 newDsl support #112
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
Changes from all commits
fd3aa1e
81f17a4
e5b132d
9ea0ecd
21e31c6
04afb29
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../gradle |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,11 @@ import org.gradle.api.tasks.Destroys | |
| import org.gradle.api.tasks.Input | ||
| import org.gradle.api.tasks.TaskAction | ||
| import org.gradle.process.ExecOperations | ||
| import org.gradle.work.DisableCachingByDefault | ||
|
|
||
| @DisableCachingByDefault( | ||
| because = "The task interacts with the connected test device, so caching is not applicable." | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this true? These tasks still have input, so if the input hasn't changed or dependent tasks aren't executed then there should be no work to do here.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clean tasks generally aren't cached but, this task should probably also have a since it interacts with adb and input tracking will not be accurate |
||
| ) | ||
| public abstract class ClearScreenshotsTask : DefaultTask() { | ||
|
|
||
| @get:Input | ||
|
|
@@ -22,6 +26,8 @@ public abstract class ClearScreenshotsTask : DefaultTask() { | |
| init { | ||
| description = "Removes the test screenshots from the test device." | ||
| group = "verification" | ||
|
|
||
| outputs.upToDateWhen { false } | ||
| } | ||
|
|
||
| @TaskAction | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.