Comments (8)
Thanks for looking into it. Next week, I will create a minimal reproducible project and link to it.
from jandex-gradle-plugin.
Here's the repository to reproduce the issue. It has the same structure as the actual project, but contains only the very basic files.
Instructions to reproduce are in the readme file.
from jandex-gradle-plugin.
It's a Quarkus 2.15
project using Gradle 7.5.1
from jandex-gradle-plugin.
I just realized this is only in a single module of a multi-module project. The projects has 8 modules 2 of which apply Jandex. If I remove it from the module that generates the error and leave it in the other module the build still works fine.
from jandex-gradle-plugin.
We get the exactly same error when trying to upgrade from 1.0.0 to 1.1.0.
We're using Quarkus 2.16.5 and Gradle 8.0.2.
from jandex-gradle-plugin.
Cannot replicate with Quarkus 2.16.5, Gradle 8.0.2.
These are the classes created by the plugin
$ tree build/classes/
build/classes/
└── groovy
└── main
└── org
└── kordamp
└── gradle
└── plugin
└── jandex
├── Banner$Params.class
├── Banner.class
├── JandexExtension.class
├── JandexPlugin$1.class
├── JandexPlugin$2.class
├── JandexPlugin$3.class
├── JandexPlugin$4.class
├── JandexPlugin$5.class
├── JandexPlugin$_apply_closure1.class
├── JandexPlugin.class
├── internal
│ ├── DefaultVersions.class
│ └── JandexExtensionImpl.class
└── tasks
├── JandexTask$1.class
├── JandexTask$2.class
├── JandexTask$3.class
├── JandexTask.class
├── JandexWorkAction$ClassFileVisitor.class
├── JandexWorkAction.class
└── JandexWorkParameters.class
I don't see a org.kordamp.gradle.plugin.jandex.Banner$Inject
class. It might be coming from some internal Gradle plumbing.
from jandex-gradle-plugin.
Do you have a reproducible repository you may link to?
from jandex-gradle-plugin.
I know this is an old issue but I had a similar problem, which is how I can across this. Eventually I found putting the following at the top of the root build.gradle.kts
(I'm using kotlin instead of groovy) sorted it out. For groovy I think the only change you need to make is remove the second line where we define the value.
I currently don't know why this solved my problem and it is possible that is is something to do with my setup. I have not tried it with the reproducer but it might be worth trying if you are stuck. For reference this was not necessary if I was using version 1.0.0
of the jandex plugin, this is using gradle 8.6 and quarkus 3.8.2.
buildscript {
val quarkusPluginVersion: String by project
repositories {
gradlePluginPortal()
}
dependencies {
classpath("io.quarkus:io.quarkus.gradle.plugin:$quarkusPluginVersion")
}
}
from jandex-gradle-plugin.
Related Issues (20)
- Jcenter dependency issue with maven-model-builder/3.6.3 HOT 2
- gradle 7 HOT 8
- Cannot resolve external dependency org.jboss:jandex:2.2.2.Final because no repositories are defined HOT 3
- java.lang.NoClassDefFoundError: org/gradle/internal/classpath/Instrumented HOT 15
- ClassInfo.annotationsMap() not compatible with older versions of Jandex
- Jandex 3.0 HOT 4
- Configurable persistent index format version
- Jandex issue when upgrate to 1.0.0 HOT 4
- Task "jandex" up-to-date check passes as long as the jandex.idx exists (and will not rebuild for new source) HOT 3
- Add support to gradle configuration cache HOT 2
- Jandex plugin breaks standalone Quarkus module Tests HOT 3
- Add file path to the exception message
- [Bug]: Error during building - jandex-gradle-plugin HOT 4
- Avoid adding index file to the resources by default HOT 10
- Add jandex task per sourceset HOT 1
- What do you think of Kotlin for the plugin implementation? HOT 2
- MissingPropertyException: Could not set unknown property 'sources' for task ':jandex' of type org.kordamp.gradle.plugin.jandex.tasks.JandexTask HOT 5
- Please document how to use fileSets HOT 2
- Gradle 7 makes optimizations disabled HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jandex-gradle-plugin.