Created
December 25, 2016 18:18
-
-
Save HIPERCUBE/1c3660afddd4d58b709825a244766ce6 to your computer and use it in GitHub Desktop.
Groovy List Sample Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Declare list with initial items. | |
test.includes = ['org/gradle/api/**'. 'org/gradle/internal/**'] | |
// Set list using ArrayList | |
List<String> list = new ArrayList<String>() | |
list.add('org/gradle/api/**') | |
list.add('org/gradle/internal/**') | |
test.includes = list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment