Monday, November 23, 2015

How to exclude `src/main/resources` from a jar file in Gradle

To exclude `src/main/resources` from a jar file in Gradle, add the following to `build.gradle`:

processResources {
    exclude '**'
}

No comments:

Post a Comment