Skip to content

Commit be2f75c

Browse files
authored
Exclude *.java from being added to library jars (#992)
1 parent f50720f commit be2f75c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ def RELEASE_MODULES = ["services",
8585
"services-turf"]
8686

8787
subprojects { subproject ->
88+
89+
tasks.withType(Jar) {
90+
exclude "**/*.java"
91+
}
92+
8893
if (TESTABLE_MODULES.contains(subproject.name)) {
8994
subproject.apply plugin: "com.vanniktech.android.junit.jacoco"
9095
subproject.apply from: "${rootDir}/gradle/jacoco.gradle"

0 commit comments

Comments
 (0)