diff options
author | Yigit Boyar <yboyar@google.com> | 2015-10-30 10:05:15 -0700 |
---|---|---|
committer | Yigit Boyar <yboyar@google.com> | 2015-10-30 10:05:15 -0700 |
commit | 0a39d327fc5dedb0a766f1ad44d7b1fc7048ef84 (patch) | |
tree | b13f85b3c3a2b5a551a85685f460dcf7c10a3fab /developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/MavenDependencyCollectorPlugin.groovy | |
parent | 02added29288636abb4bc0bea9105e240b6e3979 (diff) | |
download | data-binding-0a39d327fc5dedb0a766f1ad44d7b1fc7048ef84.tar.gz |
Update notice
Change-Id: I3d5e2a07075603fbc2ee9b6c93490f6ea2d7c594
Diffstat (limited to 'developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/MavenDependencyCollectorPlugin.groovy')
-rw-r--r-- | developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/MavenDependencyCollectorPlugin.groovy | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/MavenDependencyCollectorPlugin.groovy b/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/MavenDependencyCollectorPlugin.groovy index c3a318d3..fd163da4 100644 --- a/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/MavenDependencyCollectorPlugin.groovy +++ b/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/MavenDependencyCollectorPlugin.groovy @@ -34,11 +34,12 @@ public class MavenDependencyCollectorPlugin implements Plugin<Project> { project.allprojects { afterEvaluate { p -> - project.tasks.create("collectDependenciesOf${it.getName().capitalize()}", MavenDependencyCollectorTask, { - it.localizeTask = localizeDependenciesTask - localizeDependenciesTask.dependsOn it - }) - + if (!p.name.equals("dataBinding")) { + project.tasks.create("collectDependenciesOf${it.getName().capitalize()}", MavenDependencyCollectorTask, { + it.localizeTask = localizeDependenciesTask + localizeDependenciesTask.dependsOn it + }) + } } } project.tasks.create("buildLicenseNotice", ExportLicensesTask) { |