r/gradle • • 11d ago

JMH Visualizer 1.1.0 & Related Gradle Plugin Released

Thumbnail
mlangc.github.io
6 Upvotes

r/gradle • • 12d ago

Let's Talk About Black October

Thumbnail
blog.gradle.org
6 Upvotes

r/gradle • • 12d ago

i need help using gradle for something

0 Upvotes

so i have this cool mc zip and ive been trying to use gradle to compile it into a jar and all i keep getting is errors pls someone help/do it for me


r/gradle • • 15d ago

Side Quest: How Gradle Is Removing Ant

Thumbnail
blog.gradle.org
9 Upvotes

r/gradle • • 20d ago

Gradle Agentic Skills 1.1.0

Thumbnail github.com
9 Upvotes

r/gradle • • 24d ago

Found a way to run gradle on musl-based systems

Thumbnail elisoli.fly.dev
5 Upvotes

r/gradle • • Oct 01 '26

Agentic Gradle Plugin 1.0.0

3 Upvotes

r/gradle • • Sep 25 '26

šŸ“£ Gradle 9.8.0 is out!

10 Upvotes

https://docs.gradle.org/9.8.0/release-notes.html

Bug fixes and…

  • ā˜• Java 27 support

  • šŸŖžMaven mirror settings reuse

  • šŸ”— Linked problem locations in build output

Please report any šŸ› on GitHub!


r/gradle • • Sep 22 '26

šŸš€ Gradle 9.8.0-rc-3 is here!

Post image
1 Upvotes

The latest Gradle release candidate brings several useful updates for Java developers — and the biggest one is Java 27 support. ā˜•ļø

What’s new?

šŸ”¹ Java 27 support for Gradle daemon & toolchains

šŸ”¹ Reuse Maven mirror settings

šŸ”¹ Up to 45% faster builds on affected Windows systems

šŸ”¹ Lazy destinationDirectory for Copy & Sync tasks

šŸ”¹ Smarter Maven POM generation with up-to-date checks

šŸ”¹ Improved build error and problem reporting

šŸ”¹ Better Groovydoc support for modern Java syntax

For developers moving toward Java 27, Gradle 9.8 is an important update to watch.

Java 27 + Gradle 9.8 = modern Java builds getting better. šŸš€

#Java #Java27 #Gradle #SpringBoot #JavaDeveloper #BackendDevelopment #SoftwareDevelopment #Programming #DevTools #BuildTools #Developer #TechUpdates #SessionBytes


r/gradle • • Sep 17 '26

Do you use custom gradle tasks much?

2 Upvotes

I've mostly stuck with the standard tasks and only added custom ones when I really needed them .

Curious how common custom task are in other people,s projects.Do you use them often ?


r/gradle • • Sep 17 '26

What's the first thing you check when a build suddenly breaks?

1 Upvotes

Had one of those moments where a build that worked fine yesterday suddenly started complaining today.

ā€Ž

ā€ŽWhen that happens, what's usually the first thing you check?


r/gradle • • Sep 16 '26

I built a Gradle VSIX packager plugin, and a custom Color Theme DSL (CT)

Post image
4 Upvotes

I’ve been working on a unified color theme pipeline to solve a personal headache: keeping my VS Code, Ghostty, and terminal color schemes synchronized without manually tweaking hex codes across multipleĀ settings.jsonĀ and config files.

Along the way, I ended up building a custom language, with its own Gradle plugin, and a zero-Node VSIX packaging Gradle plugin. Here is a breakdown of what was just released:


1. CT (Color Transformation) Language an Plugin

CTĀ is a lightweight DSL designed specifically for defining color palettes and compiling them into target theme formats (VS Code, Ghostty, iTerm2, etc.).

  • Color Primitives: Supports 6-digit RGB (#00FF00) and 8-digit RGBA hex colors (#00FF00FF).

  • Variables & Collections: Define reusable color variables and structured palettes (Palette human = { ... }).

  • Color Functions: Built-in methods likeĀ hsbaLerp(...)Ā andĀ brightness(...)Ā for procedural palette generation.

  • Template Blocks: Interpolate values directly usingĀ {{{ ... }}}Ā template blocks.

We also just added native VS Code syntax highlighting support forĀ .ctĀ files!


2. Pure Java/Gradle VSIX Packaging Plugin (cascara-gradle-plugins.vsix)

If you build VS Code extensions using JVM languages, you usually have to shell out toĀ npx @vscode/vsceĀ or set up Node/npm in CI.

To keep the build 100% self-contained on the JVM, I built a declarative Gradle plugin that packages VSIX extension bundles natively:

  • Zero Node.js /Ā vsceĀ dependency: Runs purely inside Java/Gradle.

  • In-Memory Manifest Generation: Automatically synthesizes and managesĀ package.json,Ā extension.vsixmanifest, and Open Packaging Conventions ([Content_Types].xml).

  • Built-in Lifecycle Tasks: RunĀ ./gradlew packageVsix,Ā ./gradlew installVsix, orĀ ./gradlew uninstallVsixdirectly from your terminal.


3. Example:Ā cascara-retro-theme

To showcase the pipeline, I created a retro CRT terminal theme pack featuring amber and green phosphor palettes on beige and heavy metal dark backgrounds.

Here is how clean theĀ build.gradleĀ file looks when combining the CT compiler and VSIX packager:

plugins {
    id 'io.github.qishr.cascara-gradle-plugins.ct' version '0.1.0'
    id 'io.github.qishr.cascara-gradle-plugins.vsix' version '0.2.2'
    id 'base'
}

ct {
    formats {
        // When a configuration (e.g. 'retroAmber') for a format (e.g. ghostty)
        // doesn't specify an output filename, the output filename is assembled
        // based on the configuration name (e.g. 'retroAmber') changed into
        // -kebab-case- and the suffix is obtained from the format definition
        // (e.g. res://ghostty.tc)
        ghostty {
            retroAmber { entry = "retro-amber-on-bright-beige.ct"; }
            retroGreen { entry = "retro-green-on-bright-beige.ct"; }
        }

        iterm2 {
            retroAmber { entry = "retro-amber-on-bright-beige.ct"; }
            retroGreen { entry = "retro-green-on-bright-beige.ct"; }
        }

        vscode {
            retroAmberOnBrightBeige { entry = "retro-amber-on-bright-beige.ct"; }
            retroAmberOnDullBeige   { entry = "retro-amber-on-dull-beige.ct";   }
            retroAmberOnHeavyMetal  { entry = "retro-amber-on-heavy-metal.ct";  }
            retroGreenOnBrightBeige { entry = "retro-green-on-bright-beige.ct"; }
            retroGreenOnDullBeige   { entry = "retro-green-on-dull-beige.ct";   }
            retroGreenOnHeavyMetal  { entry = "retro-green-on-heavy-metal.ct";  }
        }
    }
}

vsix {
    name        = "cascara-retro-theme"
    displayName = "Cascara Retro Theme"
    description = "Retro theme pack for Visual Studio Code"
    version     = project.version.toString()
    publisher   = "Cascara"
    icon        = "images/icon.png"

    categories "Themes"

    engines = [ "vscode": "^1.103.0" ]

    readme    = layout.projectDirectory.file("README.md")
    license   = layout.projectDirectory.file("LICENSE")
    imagesDir = layout.projectDirectory.dir("src/main/resources/vscode/images")

    // Automatically pulls compiled output from cascara-gradle-plugins.ct
    themes.from(layout.buildDirectory.dir("themes"))
}

// Lifecycle hooks
tasks.named('packageVsix') { dependsOn compileAllCt }
tasks.named('build') { dependsOn tasks.named('packageVsix') }

Links & Availability

Would love to hear any thoughts or feedback on the VSIX packaging setup or the CT language!



r/gradle • • Sep 11 '26

Help with compiling

3 Upvotes

Hi sorry to be a bother but i could really use some help with compiling some minecraft mods from github. Ive tried doing it but they keep throwing up erros and I just don't know how to resolve the issues even after hours of google searching (although im i completly inexpericed with these things)

https://github.com/Asek3/sodium-1.12

https://github.com/Asek3/Oculus/tree/1.12.2

https://github.com/westernbear/Oculus-1.12

any help and I would be so gratefull!!!


r/gradle • • Sep 09 '26

Testing Astra 6 v Fable 5.1 on Gradle

Thumbnail
blog.gradle.org
5 Upvotes

r/gradle • • Aug 31 '26

About the Gradle Security Subscription

Post image
7 Upvotes

Today, we launched our new Gradle Security Subscription offering. And I made an infographic about it. But, because I am me, I also made a blog post about it. Choose wisely (or read both šŸ˜‰).


r/gradle • • Aug 29 '26

why is the build failing

4 Upvotes

drspider@pop-os:~$ git clone https://github.com/armandoxtraceroespalda-dev/ScalableLux-Sable.git

Cloning into 'ScalableLux-Sable'...

remote: Enumerating objects: 1297, done.

remote: Counting objects: 100% (88/88), done.

remote: Compressing objects: 100% (64/64), done.

remote: Total 1297 (delta 16), reused 57 (delta 5), pack-reused 1209 (from 1)

Receiving objects: 100% (1297/1297), 483.15 KiB | 7.00 MiB/s, done.

Resolving deltas: 100% (554/554), done.

drspider@pop-os:~$ cd ScalableLux-Sable

drspider@pop-os:~/ScalableLux-Sable$ ./gradlew build

bash: ./gradlew: Permission denied

drspider@pop-os:~/ScalableLux-Sable$ chmod +x gradlew

drspider@pop-os:~/ScalableLux-Sable$ ./gradlew build

Downloading https://services.gradle.org/distributions/gradle-8.12-all.zip

.....................10%......................20%......................30%......................40%......................50%......................60%......................70%......................80%......................90%......................100%

Welcome to Gradle 8.12!

Here are the highlights of this release:

- Enhanced error and warning reporting with the Problems API

- File-system watching support on Alpine Linux

- Build and test Swift 6 libraries and apps

For more details see https://docs.gradle.org/8.12/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.12/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.

Daemon will be stopped at the end of the build

[Incubating] Problems report is available at: file:///home/drspider/ScalableLux-Sable/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:

Included build '/home/drspider/FlowSched' does not exist.

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 24s

drspider@pop-os:~/ScalableLux-Sable$


r/gradle • • Aug 21 '26

Is this a loop?

Thumbnail
ibb.co
0 Upvotes

New to build systems exploring the existing, I was happy to find out I do not have to install something only to find out I have to install it :(, -1 to gradle for giving me false hope.


r/gradle • • Aug 19 '26

šŸ“£ #Gradle 9.7.1 is out!

9 Upvotes

https://docs.gradle.org/9.7.1/release-notes.html

Fixes regressions reported against 9.7.0.

Report new šŸ› on GitHub!


r/gradle • • Aug 19 '26

Gradle Agent Skills Vote

8 Upvotes

We're building a set of Gradle Agent Skills. There are five candidates below:

  1. gradle-cli — Run Gradle the right way. Teaches the agent correct ./gradlew invocation: which task to run, which flags matter, what's version-specific, and how to read the output. No more --stacktrace on everything and hoping.

  2. gradle-bestpractices — Lint your build against current conventions. Scans your build logic and flags what's off: legacy APIs, subprojects {} sprawl, misused configurations, and missing version catalogs. Points to the current recommended pattern for each finding.

  3. gradle-init — Bootstrap a new Gradle project. Sets up a working project from scratch: sensible defaults, version catalog, and a starter layout for KMP, Android, or Spring. Skips the hour of copy-pasting from an old repo or adding random libraries.

  4. gradle-upgrade — Upgrade Gradle and clear deprecations. Version-aware upgrade path: bumps the wrapper, finds deprecated usages in your build logic, and rewrites them for the target version. Handles the multi-step hops so you're not stuck three majors behind.

  5. gradle-cc-migrate — Make your build Configuration Cache compatible. Reads your build logic, finds what breaks the configuration cache, and refactors it — script-level state, Project access at execution time, non-serializable task inputs. The single biggest build-speed win, minus the archaeology.

Which would help you most? Which one would you actually use? Do you have a better idea?


r/gradle • • Aug 13 '26

Resilient Sync in Gradle 9.7 and IntelliJ 2026.2

Post image
19 Upvotes

Until now, a single broken build script would fail the entire sync. Every script turned red and no more autocomplete.

Resilient sync fixes this. Gradle builds tooling models for every project that configured successfully and reports only the failures, so one broken convention plugin no longer takes down the other projects. You keep code completion and highlighting in the build logic you're repairing.

Write-up here: https://blog.gradle.org/resilient-sync


r/gradle • • Aug 12 '26

IntelliJ now displays the Gradle version catalog data as hints

Post image
24 Upvotes

Small IntelliJ IDEA win for Gradle users: version catalog accessors now show their resolved coordinates inline.


r/gradle • • Aug 11 '26

We put Develocity failure grouping on every gradle/gradle PR

5 Upvotes

Our CI bot now reads failures out of Develocity, groups them, and posts a short summary on the PR. If you want to see it in action, here's my write-up with screenshots: https://blog.gradle.org/dogfooding-failure-summaries


r/gradle • • Aug 06 '26

Gradle 9.7.0 is out!

20 Upvotes

https://docs.gradle.org/9.7.0/release-notes.html

Bug fixes and…

  • 🌱 Isolated Projects graduates to incubating

  • ⚔ Broader Configuration Cache compatibility

  • šŸ” More source locations in problem reports

Please report any šŸ› on GitHub!


r/gradle • • Aug 06 '26

Isolated Projects is now incubating in Gradle 9.7.0

14 Upvotes

Isolated Projects moved from experimental to incubating in 9.7.0. With it enabled, each project in a build is isolated from the others, which lets Gradle configure them in parallel.

Some numbers from the blog post:

  • Gradle's own build (300 subprojects): median IDE sync 84s → 47s

  • A 2,500-project Java monorepo: configuration with build-script recompilation 10m53s → 2m59s

  • An Android monorepo of 5,000+ projects: Android Studio sync 5m09s → 2m44s

Configuration Cache is a prerequisite.

You can enable it with org.gradle.isolated-projects=true in gradle.properties.

Here's the full blog post: https://blog.gradle.org/introducing-isolated-projects.