geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Stewart (JIRA)" <>
Subject [jira] [Commented] (GEODE-1899) Address the custom 'clean' gradle task warning
Date Thu, 15 Sep 2016 20:44:20 GMT


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:
task clean(type: Delete) {
  delete rootProject.buildDir
  if (!buildRoot.isEmpty()) {
    delete buildRoot
subprojects {
  // Make sure clean task for rootProject runs last
  clean.finalizedBy rootProject.clean

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:
>             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

View raw message