Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
excluding duplication resource files from build artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
myrle-krantz committed Jul 12, 2017
1 parent fc4d246 commit e875a0a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
@@ -1,6 +1,6 @@
buildscript {
repositories {
jcenter();
jcenter()
}
}

Expand Down Expand Up @@ -61,6 +61,11 @@ publishing {
}
}

jar {
from sourceSets.main.allSource
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

license {
header rootProject.file('HEADER')
strictCheck true
Expand Down

0 comments on commit e875a0a

Please sign in to comment.