So you are using IntelliJ IDEA and not the Android Studio distribution? If
using IntelliJ IDEA, are you manually installing the Android Studio
extensions (UI editors, SDK/AVD/ADM shortcuts, etc...)? I was under the
impression that the original IntelliJ android plugins were deprecated in
light of Android Studio.
Also, I noticed some differences between the sample on the
gradle-android-scala-plugin and the app.gradle build script in the default
Android Studio template. The gradle-android-scala-plugin sample has the
'android' plugin:
apply plugin: 'android'
Where the Android studio template uses the 'com.android.application' plugin:
apply plugin: 'com.android.application'
What's the difference? The rest of the build seems to be the same,
including everything under android {...}. Is gradle-android-scala-plugin
compatible with both? Also the AS template uses the 'jcenter' repository
and the other uses mavenCentral. Do these conflict?
Thanks!
Jeremy
On Friday, July 18, 2014 8:14:40 AM UTC-4, David Pérez wrote:
>
> I'm using it successfully.
> It is compatible with IDEA+Scala plugin.
> I recommend to use IDEA 14 EAP, as they have solve some bugs.
>
> Main problems:
>
> - It doesn't do incremental compilation
> - The doc says its unstable, but goes quite well.
>
> Advantages:
>
> - Gradle is becoming the new standard.
> - I've found many useful Gradle plugins
>
> Maybe, I'll give a try to sbt.
>
> Am Freitag, 18. Juli 2014 09:19:12 UTC+2 schrieb Nick Stanchenko:
>>
>> Hi,
>>
>> I’ve heard of people using
>> https://github.com/saturday06/gradle-android-scala-plugin, although it’s
>> still marked as “unstable for production”.
>>
>> Nick
>>
>> On Friday, July 18, 2014 8:03:02 AM UTC+1, Jeremy Bell wrote:
>>>
>>> I'm researching the feasibility of integrating Scala with an existing
>>> Android application. The application uses Android Studio and the Gradle
>>> build system. I've had experience getting Scala to work with Gradle in a
>>> server-side application, and it was fairly seamless. However, the Android
>>> Studio version of the android gradle plugin does not seem to be compatible
>>> with the gradle scala plugin, which is a deal breaker. This project, for
>>> various Reasons™, cannot be migrated to sbt to make use of the existing
>>> android sbt plugin (much as I would like to).
>>>
>>> Is there any movement on getting scala working in Android Studio's
>>> Gradle project format? If so, could you provide any relevant links to
>>> discussions or issue tickets, etc..? Thanks! I've been searching for
>>> information on this for about 3 days and no luck so far (other than a
>>> couple of 2013 posts saying it's not working yet).
>>>
>>> If no bugs have been filed, where would the most appropriate place to
>>> file them be? On Gradle's issue tracker? Google's Android Studio issue
>>> tracker?
>>>
>>> -Regards,
>>> Jeremy
>>>
>>
--
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.