To avoid OutOfMemoryError, you can try to use gradle.properties at the same 
place of gradlew with following line:

org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=1024m

On Sunday, November 9, 2014 1:38:47 AM UTC+9, Kamil Lelonek wrote:
>
> That's what I'm using and failing to setup with additional dependencies. 
> On Nov 8, 2014 5:19 PM, "Vyacheslav Blinov" <[email protected] 
> <javascript:>> wrote:
>
>> There is a gradle pluginsfor android app with scala that everybody 
>> appears to be using:
>>
>> https://github.com/saturday06/gradle-android-scala-plugin
>>
>>
>> суббота, 8 ноября 2014 г., 0:39:22 UTC+3 пользователь Kamil Lelonek 
>> написал:
>>>
>>> I see a lot of topics here, event a new people that asking for help to 
>>> setup Android project with Scala.
>>>
>>> However almost all responses show the solution with SBT for managing 
>>> project build.
>>>
>>> Hence comes my question - has anyone built Android project written in 
>>> Scala using Gradle tool? I'm asking about that, because I cannot manage to 
>>> create a simple skeleton, which can fetch and compile external dependencies 
>>> using Gradle.
>>> It builds without any maven libraries, but when I add anything extra to 
>>> it dependencies, it crashes because java out of memory error.
>>>
>>  -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "scala-on-android" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/scala-on-android/r7xfxN-WF2M/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/d/optout.

Reply via email to