I want to downgrade proguard as it looks like 5.1 contains recently introduced bug (according to bug reports). I know that some gradle plugins providing a way to choose tool versions, like pmd, findbugs, etc Anyway thanks for a hint with ResolutionStrategy, I'll try this. 06 янв. 2015 г. 19:59 пользователь "Xavier Ducrohet" <x...@android.com> написал: > > We are already using 5.1 which is the latest version available on MavenCentral. > > Changing the version is not easily doable because it's a direct dependency on our plugin. I don't think Gradle has a dependency resolution strategy for buildscript > > You can read here about how to provide a custom resolution strategy: http://www.gradle.org/docs/current/dsl/org.gradle.api.artifacts.ResolutionStrategy.html > > You can try doing this in the buildscript {} section and see if this works. > > On Tue, Jan 6, 2015 at 2:14 AM, Vyacheslav Blinov < blinov.vyaches...@gmail.com> wrote: >> >> Hi. >> >> Im using gradle plugin version 1.0.0, and expiriencing problems with proguard - it crashes with ArrayIndexOutOfBounds. I want to try different version of proguard to see if the problem has already been fixed. How can I change the proguard version in use by android plugin? I can easily do this with sbt plugin by just supplying different dependency for my build definition, is this the same for gradle+android plugin? >> >> -- >> 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 adt-dev+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > > > -- > Xavier Ducrohet > Android SDK Tech Lead > Google Inc. > http://developer.android.com | http://tools.android.com > > Please do not send me questions directly. Thanks! > > -- > 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 adt-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.
-- 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 adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.