Skip to content

Commit

Permalink
Exclude all inner classes of R from upload jars.
Browse files Browse the repository at this point in the history
Fixes #2322.
  • Loading branch information
sjudd committed Sep 4, 2017
1 parent a786126 commit 1325d87
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/upload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,7 @@ afterEvaluate { project ->
from compileReleaseJavaWithJavac.destinationDir
exclude '**/R.class'
exclude '**/BuildConfig.class'
exclude '**/R$attr.class'
exclude '**/R$dimen.class'
exclude '**/R$id.class'
exclude '**/R$styleable.class'
exclude '**/R$*.class'
baseName "${JAR_PREFIX}${project.name}${JAR_POSTFIX}"
}

Expand Down

0 comments on commit 1325d87

Please sign in to comment.