Skip to content

Incremental compilation #16

@ajoberstar

Description

@ajoberstar

As of 0.1.0, gradle-clojure partially participates in the incremental build feature of Gradle. This is where inputs and outputs of a task are declared, and if either changes the whole task will re-run.

We have not yet annotated all of our task properties to participate in this fully.

In addition, to have true incremental compilation we need to use a task that takes an IncrementalTaskInputs, which lists each file that changed or was removed from the inputs.

I think by combining that information with tools.namespace for detecting namespaces in files and understanding the dependency tree between the namespaces, we should be able to do this incrementally. The main challenge is cleaning the classes that were output.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions