simon_brooke, to debian
@simon_brooke@mastodon.scot avatar

12 -- current stable -- provides Gradle 4.4.1. The current stable version of Gradle is 8.7.

Yes, the reason I choose and use Debian is because it is conservative, which means things don't break often. But that seems wildly out of date!

https://packages.debian.org/search?keywords=gradle

https://gradle.org/install/

simon_brooke,
@simon_brooke@mastodon.scot avatar

And the problem? Well, that problem was this one:

"It appears that between 5.0 and 5.1, using a classifier when publishing JARs using the Maven Publishing plugin has been deprecated. I mention this because many of the fields are now marked deprecated in the v5.1 docs 6, but they were not in the v5.0 docs 2. I didn’t however see any mention of this deprecation in the v5.1 release notes"

But I fixed that and now there are more...

https://discuss.gradle.org/t/publishing-jars-with-classifiers-after-v5-0/30144

trisha_gee, to Java
@trisha_gee@jvm.social avatar

I put together productivity tips for using some of my favourite tools in this video. Which of these do you already use everyday? Did you learn something new?

https://youtu.be/dX6d2vHBdzo

kerfuffle, to random
@kerfuffle@mastodon.online avatar

After 3,5 years of working with I'm back with and one thing I'm enjoying is the uniformity of how to configure Maven. With Gradle, it seems there are several ways of doing the same thing, and they don't all work when combined.

mrhaki, to Java
@mrhaki@mastodon.online avatar
mrhaki, to Java
@mrhaki@mastodon.online avatar

New post JDriven blog: Gradle Goodness: Using Maven Toolchains Configuration For Gradle Java Toolchain Resolution https://blog.jdriven.com/2024/02/Gradle-Goodness-Using-Maven-Toolchains-Configuration-For-Gradle-Java-Toolchain-Resolution/

odrotbohm, to TimeTravel
@odrotbohm@chaos.social avatar

TIL about , a tool to exclude build target folders for various tech stacks from a backup. Be sure to install the latest head (for support) and have your folder permissions set correctly (I had to fix mine to see my projects). https://github.com/stevegrunwell/asimov

vatbub, to random

At a job interview, I was asked why I prefer @ASFMavenProject over @Gradle and here's another example: I am facing a minor issue with https://github.com/detekt/detekt . Nothing big, in fact, fixing the issue is a matter of 10 lines of code. Nevertheless, it's a show-stopper for me, so, I can't wait for my PR to be merged. So, what do I do? I clone the repo onto our private GitLab, change the group-id and publish a patched version of detekt into our internal maven repo.

vatbub,

@ASFMavenProject @Gradle
Easy with , not so much with : Because Gradle allows for so much customization, the build is very hard to understand for anyone not familiar with the project. In this case, changing the group-id (which should only be used during publishing the artifacts) also broke some tests for whatever reason. And even though I did a project-wide search and replace, I was unable to find that broken dependency.

msfjarvis, to androiddev
@msfjarvis@androiddev.social avatar
melix, to random
@melix@mastodon.xyz avatar

I'm glad to see efforts to have a clearer separation between build definition and build logic in . There has been huge progress in terms of guidance in the past years, but no enforcement. This is a step forward!

https://blog.gradle.org/declarative-gradle

jendrik, to Kotlin

JetBrains introduces Amper. An experimental project description language for Multiplatform. The underlying system using the notation is still .

Happy to see such developments. The / build system is Gradle's killer application. But in its core it's a powerful framework to create build systems on top of.

The huge feature set of vanilla Gradle is probably it's biggest weakness when used directly by end users. Excited to see where this goes.

https://blog.jetbrains.com/blog/2023/11/09/amper-improving-the-build-tooling-user-experience/

ljrk, to Java
@ljrk@todon.eu avatar

Broke: Using i/o or because it's functional and that's better!

Woke: Using Clojure because is just the better build system and , and suck.

brianverm, to Java

Hi Gradle users, I have a question. How do you replace or update a transitive dependency?
Is the preferred way to register the transitive dependency as a direct one, or are there better ways?
Is there an equivalent to dependencyManagement in Maven?

mrhaki, to Software
@mrhaki@mastodon.online avatar

New post JDriven blog: Gradle Cheat Sheet Development https://blog.jdriven.com/2023/10/Gradle-Cheat-Sheet/

eighthave, to debian

Perhaps the most difficult case ever for packagers: They do all the things that make packaging a nightmare:

thanks ebourg for keeping on!

kerfuffle, (edited ) to Kotlin
@kerfuffle@mastodon.online avatar

Planning a new article on , , , , . Probably , although I'm more and more interested in rediscovering . Maybe to include some OHS/ACL ( Context Mapping), but maybe this is already a lot to combine just for an exploration.

kerfuffle, to Java
@kerfuffle@mastodon.online avatar

A few years back, I wrote a Magazine article with an accompanying Github repo to explore using modules to express & enforce

https://github.com/jasperbogers/hexagonal-architecture-gradle-java

Today I attended a talk by Damir Murat where he explained a demo project, Klokwrk, where he explores a code folder structure to express . He calls it Strategic Structure, referring to Strategic DDD with domains and bounded contexts. It's quite detailed, and I like this approach.

https://github.com/croz-ltd/klokwrk-project/blob/master/support/documentation/article/modules-and-packages/modulesAndPackages.md

evanchooly, to random

I made an almost certainly silly thing. It's a plugin to support building modules in an otherwise maven project. Crazy? Maybe but it scratches an itch of mine. :)

https://github.com/evanchooly/graven

jendrik, to random

org.gradle.api.provider.Property<>

org.gradle.api.provider.Provider<>

These concepts changed how projects (should) look today.

I talk about why they were introduced and when/how you work with them.

https://www.youtube.com/watch?v=n8Tgr4aLB18&list=PLWQK2ZdV4Yl2k2OmC_gsjDpdIBTN0qqkE

jendrik, to Java

supports different options to write plugins. This is good, because it gives you the choice to use what fits your context. Any you should always write plugins - if only to organize your project's build configuration.

But it is confusing 😖. That's why I created this overview:
https://github.com/jjohannes/gradle-plugins-howto

Learn by exploring the difference between writing the same Gradle plugins in:

octylFractal, to Java

I wrote a blog post about how avoids compilation and how that compares to header JARs, with performance measurements! https://blog.gradle.org/our-approach-to-faster-compilation

lucapette, to Kotlin
@lucapette@hachyderm.io avatar

I like all right (given it's a build tool that's a compliment 😆) but I've been always annoyed with the groovy to conversion for little tasks I need.

ChatGPT was very helpful today. A use-case I had not considered yet!

btwritescode, to Flutter

A one-day build idea:

I use the HTTP request actions in to automate the creation of time entries in , but that's been pretty darn flaky for me recently. Not sure if that's my internet, my phone, or Toggl's API blocking my requests.

Tasker provides a library and POC code for creating native plugins. So, let's try that! It's an excuse to get back into some development, and it'll force me to get exposed to and .

Time to give it a shot!

frankel, to Java
@frankel@mastodon.top avatar

In this post, I’d like to shed some light on my stance regarding , so I can direct people to it instead of debunking the same "reasoning" repeatedly.

https://blog.frankel.ch/final-take-gradle/

jendrik, to random

How to structure software projects with ?

A thread 👇

https://github.com/jjohannes/gradle-project-setup-howto

kenkousen, to Kotlin

Video version of Tales from the jar side, for the week of July 10 - 17, 2023. Creating and expanding zips and jars in Gradle (featuring Groovy vs Kotlin), experiments with AI, and the usual silly assortment of tweets, toots, skeets, etc

https://youtu.be/Z8pgIp5nP_g

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • Durango
  • cisconetworking
  • mdbf
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • osvaldo12
  • Youngstown
  • ethstaker
  • slotface
  • kavyap
  • JUstTest
  • thenastyranch
  • normalnudes
  • modclub
  • khanakhh
  • everett
  • tacticalgear
  • cubers
  • GTA5RPClips
  • anitta
  • Leos
  • tester
  • provamag3
  • lostlight
  • All magazines