I got the following lint issue: ```
*../../build.gradle <http://mobiledev-mac-mini.local:8080/job/android-pull-request-2/13711/artifact/app/build.gradle>:278: A `repositories` block doesn't belong here.* *277 uploadArchives { * *278 repositories { * *279 mavenDeployer { * *280 repository(url: '...') { * *Priority: 2 / 10Category: CorrectnessSeverity: ErrorExplanation: Looks for build file statements that belong elsewhere in the build file.Most build file directives only make sense in certain contexts in the build file. If you put a statement in the wrong place, you can get errors or unexpected behavior.* *```* The `repositories` block seams at the correct place though. Am I doing something wrong? Find below the full gradle task: *```* *uploadArchives {* * repositories {* * mavenDeployer {* * repository(url: 'https://.../nexus/content/repositories/releases') {* * authentication(userName: nexusUser, password: nexusPassword);* * }* * snapshotRepository(* * url: 'https://.../nexus/content/repositories/snapshots') {* * authentication(userName: nexusUser, password: nexusPassword);* * }* * pom.project {* * artifactId 'android-app'* * name 'Android app'* * packaging 'apk'* * }* * }* * }* *}* *```* -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
