News for hackers. Stuff that matters.
Re:Android Studio 2.0 Is Google’s New, Improved Development ... by airless_cotton on Friday April 29, 2016 @04:59PM (#11598721)
Migrating to sbt-android has been a revelation coming from Gradle.

It's bizarre that a one-man-team beats the mighty Google in pretty much everything.

The build is so freaking fast that it runs ProGuard by default – and beats a Gradle build without ProGuard.

That dev implemented and shipped Instant Run way before Google "invented" it, and it's still faster compared to Google's implementation.

Re:Android Studio 2.0 Is Google’s New, Improved Development ... by pjmlp on Friday April 29, 2016 @05:20PM (#11598838)
I really don't get their hype around Gradle, if it wasn't for it, most likely no one would care about Groovy any more.

Since my focus is the NDK, which keeps being half-done in Gradle, I keep using Ant + ndk-build and have migrated to Visual Studio 2015 for my Android hobby coding.

Re:Android Studio 2.0 Is Google’s New, Improved Development ... by airless_cotton on Friday April 29, 2016 @05:36PM (#11598932)
As far as I know, sbt-android just recently got even more support/features for NDK (on top of the existing support):

The plugin can now manage and auto-install SDKs, tools, support repos and NDKs, so no messing around with Google's `android` tool anymore!

Maybe this is of use to you.

https://github.com/scala-android/sbt-android/commit/7b32e55f... https://github.com/scala-android/sbt-android/commit/53b855de...

Re:Android Studio 2.0 Is Google’s New, Improved Development ... by pjmlp on Friday April 29, 2016 @05:57PM (#11599036)
Thanks!
Re:Android Studio 2.0 Is Google’s New, Improved Development ... by xirdstl on Friday April 29, 2016 @11:46PM (#11600242)
Was it ever popular in SV? No. That doesn't mean no one is using or cares about it.

For my day job, we use Groovy for our Spring Boot app. I love it.

I've also done a lot of Grails development, which I enjoyed also.

Re:Android Studio 2.0 Is Google’s New, Improved Development ... by pjmlp on Saturday April 30, 2016 @12:59AM (#11600443)
It was popular in Germany around 2007. All JUGs were doing presentations about Groovy and Grails.

It was even on JEE roadmap to be an alternative language for JSF applications, presented at JSF Days in Vienna.

Nowadays if it wasn't for Gradle, I wouldn't even notice it exists.

Re:Android Studio 2.0 Is Google’s New, Improved Development ... by mhd on Saturday April 30, 2016 @04:17AM (#11600887)
I remember those days. Not a lot came out of those presentations, though. It was a lot about Java guys having a bit of dynamic language envy, while having to code with Struts and 1.4 Swing all day. A way of getting that hype and with it some new tech to play with into the enterprise by a backdoor. Which is way too hard to do.

Mobile dev being new, even Java developers get to play with more shiny toys. For good or ill...

Re:Android Studio 2.0 Is Google’s New, Improved Development ... by vorg on Friday April 29, 2016 @06:44PM (#11599229)
It's a stretch to say Gradle "uses Groovy". In practise, it more like uses a tiny non-Turing Complete subset of Groovy.
Re:Android Studio 2.0 Is Google’s New, Improved Development ... by amake on Friday April 29, 2016 @08:37PM (#11599685)
No, large parts of Gradle are actually implemented in Groovy. You're referring to the DSL, which can be used purely declaratively, but it's not limited to such use (you can use all Groovy language featured in Gradle scripts).
Re:Android Studio 2.0 Is Google’s New, Improved Development ... by vorg on Saturday April 30, 2016 @05:33AM (#11601055)
> large parts of Gradle are actually implemented in Groovy

I thought it was just the plugin and DSL handling code. That would explain why Gradle's so slow, then.

> the DSL, which can be used purely declaratively, but it's not limited to such use

Virtually no-one uses Groovy procedurally, only declaratively, in Gradle build scripts, so although that's true in theory, in practise only the non-Turing Complete portions of Groovy are used. Calling it a programming language there is like calling HTML one because you can embed Javascript in HTML.