Gradle Project Properties TODEPLETE: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:


=Overview=
=Overview=
The current project properties can be displayed with:
<syntaxhighlight lang='groovy'>
task displayProjectProperties {
    doLast() {
        for(Map.Entry p: project.getProperties()) {
           
            println p;
        }
    }
}
</syntaxhighlight>

Revision as of 18:33, 4 June 2018

Internal

Overview

The current project properties can be displayed with:

task displayProjectProperties {

    doLast() {

        for(Map.Entry p: project.getProperties()) {
            
            println p;
        }
    }
}