Skip to content

Commit

Permalink
not assign transitive value if it doesn't set
Browse files Browse the repository at this point in the history
  • Loading branch information
kezong committed Feb 23, 2021
1 parent 21e0966 commit 0979506
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/src/main/groovy/com/kezong/fataar/FatAarPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ class FatAarPlugin implements Plugin<Project> {

private void doAfterEvaluate() {
embedConfigurations.each {
it.transitive = project.fataar.transitive
if (project.fataar.transitive) {
it.transitive = true
}
}

project.android.libraryVariants.all { LibraryVariant variant ->
Expand Down

0 comments on commit 0979506

Please sign in to comment.