Skip to content

Commit

Permalink
Revert "Add empty resource rule if using resource union. (#438)"
Browse files Browse the repository at this point in the history
This reverts commit 406e95e.
  • Loading branch information
Gautam Korlam committed May 30, 2017
1 parent b29730d commit e9f1e2c
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 20 deletions.
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ dependencies {
compile deps.external.xlogAndroidIdle
compile deps.apt.autoValue

compile project(':libraries:emptyResourceLibrary')
compile project(':libraries:emptylibrary')
devCompile project(path: ':dummylibrary', configuration: 'freeRelease')
prodCompile project(path: ':dummylibrary', configuration: 'paidRelease')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class AndroidResourceRule extends BuckRule {
@Override
protected final void printContent(PrintStream printer) {
printer.println("\tpackage = '${mPackage}',")
if (mRes || mResourceUnion) {
if (mRes) {
printer.println("\tres = res_glob([")
mRes.each {
printer.println("\t\t('${it}', '**'),")
Expand Down
6 changes: 0 additions & 6 deletions libraries/emptyResourceLibrary/build.gradle

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
include 'app'
include 'another-app'
include 'dummylibrary'
include 'libraries:emptyResourceLibrary'
include 'libraries:common'
include 'libraries:customLintLibrary'
include 'libraries:emptylibrary'
Expand Down

0 comments on commit e9f1e2c

Please sign in to comment.