scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

Support Gradle builds

Open fthomas opened this issue 2 years ago • 4 comments

It would be nice if Scala Steward could also extract/update dependencies from/in Gradle builds.

Note that @jvican had a preliminarily PR for Nebula/Gradle support in https://github.com/scala-steward-org/scala-steward/pull/2630.

fthomas avatar Jan 13 '23 12:01 fthomas

As I understand it, Gradle is a popular choice for Kotlin projects and that would allow Scala Steward to also keep those Kotlin projects up-to-date.

fthomas avatar Feb 15 '23 18:02 fthomas

https://github.com/gradle/gradle/issues/21894 is interesting in this context and would allow Scala Steward to easily extract dependencies from Gradle builds.

fthomas avatar Mar 27 '23 09:03 fthomas

TIL that there is a BSP implementation for Gradle:

  • https://github.com/microsoft/build-server-for-gradle
  • https://devblogs.microsoft.com/java/new-build-server-for-gradle/
  • https://devblogs.microsoft.com/java/announcing-the-build-server-for-gradle-open-source-repository/

With #2640 we could partially support Gradle builds via BSP.

fthomas avatar Nov 15 '23 07:11 fthomas