[
https://issues.apache.org/jira/browse/GEODE-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494479#comment-15494479
]
Jared Stewart commented on GEODE-1899:
--------------------------------------
This custom 'clean' task is being defined for the root project, and is intended
to make sure that the top level build directory is cleaned any time clean is
executed for one of the subprojects:
{code}
task clean(type: Delete) {
delete rootProject.buildDir
if (!buildRoot.isEmpty()) {
delete buildRoot
}
}
{code}
{code}
subprojects {
// Make sure clean task for rootProject runs last
clean.finalizedBy rootProject.clean
}
{code}
We simply need to rename our custom 'clean' task to something like 'cleanRoot'
instead and wire it in appropriately.
> Address the custom 'clean' gradle task warning
> ----------------------------------------------
>
> Key: GEODE-1899
> URL: https://issues.apache.org/jira/browse/GEODE-1899
> Project: Geode
> Issue Type: Improvement
> Components: build, management
> Reporter: Jared Stewart
> Assignee: Kirk Lund
> Priority: Minor
>
> Geode cannot be built using the latest release of Gradle:
> {code}Defining custom 'clean' task when using the standard Gradle lifecycle
> plugins has been deprecated and is scheduled to be removed in Gradle 3.0{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)