IO.readLines("proguard.txt") is much more succinct and expressive of what 
is happening.

Also, default proguard configs generally do not need to be loaded, default 
rules cover most common setups (not including any 3rd party libraries).

On Wednesday, March 5, 2014 11:56:32 PM UTC-8, David Pérez wrote:
>
> What I use is:
>
> proguardOptions in Android ++= 
> io.Source.fromFile("proguard.txt").getLines.toSeq
>
>
> Am Donnerstag, 26. Dezember 2013 21:53:19 UTC+1 schrieb Michal Rus:
>>
>> Hah, IO.readLines, cool. :O Perry, thanks, will remember that! 
>>
>> m. 
>>
>> On Thu, Dec 26, 2013 at 9:51 PM, Michał Rus <[email protected]> wrote: 
>> > Hi, James! After all, proguard options are just strings (see 
>> > 
>> https://github.com/michalrus/agh-mindmap/blob/05ea61642dd9138158a7e35b747341473918d7bd/android/project/Build.scala#L71
>>  
>> > ), so if there's no such option (pfn?), you can read a file: 
>> > 
>> > io.Source.fromPath("some-proguard-conf.txt").getLines 
>> > 
>> > m. 
>> > 
>> > On Thu, Dec 26, 2013 at 9:42 PM, JamesJ <[email protected]> wrote: 
>> >> Hi, 
>> >> 
>> >> It's been about a year, since my last project and have been setting up 
>> a 
>> >> new/updated tool stack. 
>> >> 
>> >> I am using Sbt with android-sdk-plugin. 
>> >> 
>> >> Is there a way to specify a file for additional proguard options, 
>> instead of 
>> >> adding them line by line as shown on the plugin web site? 
>> >> 
>> >> 
>> >> Note: I also just started using Intellij 13.  I was able to just 
>> import the 
>> >> SBT project without any additional plugins and after tweaking some 
>> settings 
>> >> it seems to work well enough.   (Sorry, I don't remember which 
>> settings, but 
>> >> I think it has to do with telling the ide to use the Android platform) 
>> >> 
>> >> Although, I miss the color highlighting that differentiates between 
>> val and 
>> >> var instances. 
>> >> 
>> >> I also tried Scaloid, and have gotten some value. 
>> >> 
>> >> I am currently working on getting Akka working. 
>> >> 
>> >> 
>> >> Thanks 
>> >> 
>> >> 
>> >> -- 
>> >> You received this message because you are subscribed to the Google 
>> Groups 
>> >> "scala-on-android" 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/groups/opt_out. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" 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/groups/opt_out.

Reply via email to