#Gradle

bondolobondolo
2025-05-21

Does the recipe for jacoco code coverage change with *every* Gradle
Plugin and every version? It requires voodoo science to keep it working. IMHO it is AGP’s responsibility to continue to make it work.

2025-05-20

I did some maintenance work today on our build system. The #Gradle Best Practices docs have really helped. Great work there.

docs.gradle.org/current/usergu

I'm also trying to aggressively eliminate #Java 3rd party dependencies where possible, but I recognize this is a long term goal.

Benedikt Ritter (he/him)britter@chaos.social
2025-05-16

New blog post! 📝
Using immutables.org with Gradle — the right way.

The docs are Maven-only, but Gradle gives us more control. I show how to set up annotation processors cleanly with `compileOnly` + `annotationProcessor`.

Lean, fast, secure builds. 🐘
👉 britter.dev/blog/2025/05/16/im

#Gradle #Java #Immutables #Kotlin #BuildTools #FOSS

JAVAPROjavapro
2025-05-16

Do you think legacy software belongs in a museum? @MBoegie shows how 20-year-old code gets a second life—smarter & faster. Learn about recipes, concurrency & tooling ( ) with : 👉 javapro.io/2025/05/13/jump-20-

@OpenRewrite

android4n00bsandroid4n00bs
2025-05-14

🚀 Speed Up Your Android Builds!

Sick of slow APK builds? Disabling unnecessary lint tasks in your Gradle config can significantly boost CI efficiency. I saw a 15% speed increase in one project! Try `-PdisableReleaseLint` for a quick win. Share your results!
👉 More details in Telegram: t.me/android4n00bs

2025-05-14

Switching a lib from #Java to #Kotlin because of the latter's multiplatform support.
Switching from #maven to #gradle for the exact same reason.
I'm not sure how I feel about this.

2025-05-14

Overriding a Gradle project property which has . and _ characters, without modifying the buildscript

How to use `GRADLE_OPTS` to safely override a Gradle property (with special characters in its name) without modifying the buildscript.

fed.brid.gy/r/https://www.jvt.

Featured image for sharing metadata for article
BoDBoD
2025-05-13

This simple trick will save you dozens of seconds!

```
alias gw='./gradlew'

alias gww='./gradlew --stop && ./gradlew --no-build-cache --no-configuration-cache --rerun-tasks'
```

Miroslav Kraveckravemir@fosstodon.org
2025-05-12

Developing #Java with #Gradle on #NixOS and needing multiple or different specific #JDK(s) (toolchain versions) might be a tricky with NixOS, as it's not following FHS and installed JDK(s) aren't placed in standard Linux locations.

Sharing a configuration to be added/imported into `configuration.nix`, that makes multiple JDK(s) available in /opt/java, and therefore Gradle's JDK auto-detection picks them.

discourse.nixos.org/t/system-w

2025-05-12

Let’s make the build tool configuration be tightly coupled to the version of the build tool, so that the configuration file can use _all_ the available power of the build tool! That will be awsome!

Let’s have every project pick their own exact version of the build tool! That just makes sense!

Oh, wait…
#gradle

2025-05-11

Пишем (и используем) ИИ-агент на Gradle и Ollama

Справедливое желание автоматизировать всё подряд заставляет чуть иначе взглянуть на использование языковых моделей для написания кода. В этой статье мы напишем ИИ-агент на основе Gradle и Ollama. Этот ИИ-агент должен будет генерировать работающий программный код, основываясь только на промптах и написанном ранее коде. В конце статьи мы немного поэкспериментируем с написанием промптов для создания простейшего приложения, и, ретроспективно взглянув на проделанную работу, сделаем вывод, что писать легче — код или промпты. Промпты мы будем хранить в виде текстовых файлов том же проекте, где и код. ИИ-кодогенерация будет рассматриваться нами как потенциальный этап компиляции. Такой подход есть реализация концепции Prompt As Code (PAC).

habr.com/ru/articles/908412/

#gradle #ollama #кодогенерация #промпты

barto nemo (they/them)bartokopec@pol.social
2025-05-10

Game changer in my #mobile #coding was, when i figured out that i don't need #androidstudio to compile and sign #apk !
Just plain java development kit, android sdk and platform tools, #gradle and #apksigner

Btw, i use #ionic with #vue to make mobile apps.

2025-05-09

An update is available for my pythonbuilder, the core build system written and specified in Python.

codeberg.org/harald/pythonbuil

This improves logging with the default being less verbose as it adds a VERBOSE level which gives back the previous verbosity.

#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#softwaredevelopment
#programming
#python
#make
#gradle
#ant
#blt
#cmake

2025-05-09

Seems like #Gradle does not want to adapt to Sonatpye's new protocol: github.com/gradle/gradle/issue :-(

2025-05-09

Just learned (from an email in my spam folder) that Sonatype’s OSSRH publishing to Maven Central will be disabled end of June. Gradle publish plug-in does not support the new Central Portal (yet?). How do other Gradle-based JVM libraries deal with it?

#jvm #java #gradle #maven #sonatype

2025-05-08

An update is available for my pythonbuilder, the core build system written and specified in Python.

codeberg.org/harald/pythonbuil

The things to build, previously represented as just strings, are now arbitrary Python objects, which makes it in particular easier to use Python's modern Path in all places where file or directory references are needed.

#pythonbuilder #buildmachine #bashbuilder #buildsystem #softwaredevelopment #programming #python #make #gradle #ant #blt #cmake

2025-05-06

1/2

My third implementation of the core of a build system: codeberg.org/harald/pythonbuil

I contrast build system with script. While a script just runs all the commands according to the code you write, a build system has a means of determining whether a command really has to be run or can be skipped because the input has not changed, so no new output can be expected.

#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#softwaredevelopment
#programming
#make
#gradle
#ant
#blt
#cmake

android4n00bsandroid4n00bs
2025-05-06

🤔 Android Multi-Module Project Naming

Tired of clunky module prefixes in your Android projects? AGP now handles .kotlin_module collisions, making clean names possible! We ditched prefixes for better readability. Weigh the risks, embrace simplicity!
👉 More details in Telegram: t.me/android4n00bs

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst