Skip to content

Commit

Permalink
Exclude *.java from being added to library jars (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
osana authored Apr 11, 2019
1 parent f50720f commit be2f75c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ def RELEASE_MODULES = ["services",
"services-turf"]

subprojects { subproject ->

tasks.withType(Jar) {
exclude "**/*.java"
}

if (TESTABLE_MODULES.contains(subproject.name)) {
subproject.apply plugin: "com.vanniktech.android.junit.jacoco"
subproject.apply from: "${rootDir}/gradle/jacoco.gradle"
Expand Down

0 comments on commit be2f75c

Please sign in to comment.