Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Gradle DSL: What are advantages and disadvantages of using Kotlin or Groovy

 
Ranch Hand
Posts: 212
7
Android Python Oracle Postgres Database Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gradle build scripts can be written in either Kotlin or Groovy? What is actually the difference using them? Kotlin was introduced later: does that mean that Groovy will be deprecated at some time?
 
Saloon Keeper
Posts: 7573
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that's unlikely. Kotlin is the go-to language in the Android world (where using Gradle is required), so most Android programmers know Kotlin much better than Groovy. But Kotlin use in the wider Java world is much less pronounced, so I don't think Groovy will be dropped.
 
Saloon Keeper
Posts: 27685
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah. Kotlin is pretty much specific to Android and is largely the product of the Android crowd needing constructs that Java wasn't well-suited to provide and to have a place prepared to bail to in the event that Oracle's lawyers ever managed to bring the hammer down on Dalvik Java.

Groovy, on the other hand, is a general-purpose language with no special ties to any platform.
 
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic