Skip to content

Commit

Permalink
Exclude R inner classes from jar files for android libs.
Browse files Browse the repository at this point in the history
Progress towards #1972.
  • Loading branch information
sjudd committed Jun 16, 2017
1 parent 1ec2a3e commit ee8a8ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/upload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ 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'
baseName "${JAR_PREFIX}${project.name}${JAR_POSTFIX}"
}

Expand Down

0 comments on commit ee8a8ed

Please sign in to comment.