so

Build tools

Volume 9, Issue 7; 25 May 2025

It would be difficult to develop and release a complex piece of software without a build tool. At the same time, a build tool is a complex piece of software that is very frustrating when it gets in the way.

The message above brought to you by:

An exception occurred applying plugin request [id: 'org.jreleaser',
version: '1.18.0']
> Failed to apply plugin 'org.jreleaser'.
   > class org.jreleaser.gradle.plugin.Banner$Inject cannot be cast
   to class org.jreleaser.gradle.plugin.Banner (org.jreleaser.gradl
   e.plugin.Banner$Inject is in unnamed module of loader org.gradle
   .internal.classloader.VisitableURLClassLoader$InstrumentingVisit
   ableURLClassLoader @6974a3cb; org.jreleaser.gradle.plugin.Banner
   is in unnamed module of loader org.gradle.internal.classloader.V
   isitableURLClassLoader$InstrumentingVisitableURLClassLoader @2a6
   9b5f6)

I have no idea if that’s a Gradle bug or a JReleaser bug. JReleaser works perfectly well in one subproject and does that if I just use it in another subproject:

plugins {
  id("org.jreleaser") version "1.18.0"
}

¯\(ツ)

#Programming