How would I include a properties file in Gradle?
For example in Ant, I could do the following:
Here is how I include a .csv file in my .jar that Gradle builds:
sourceSets {
main {
java {
srcDir 'src/main/java'
output.classesDir = 'build/classes/main'
}
resources {
srcDir 'src/main/resources'
include '*.csv'
output.resourcesDir = 'build/resources/main'
}
}
}
Then, when my application loads the resource, that is done independently of Gradle.