HibernateEnhance gradle task cannot resolve compileOnly dependecies

Description

I tried to update the existing hibernate Gradle plugin from 5.6.9.Final to 6.1.0.Final.
The new version, added 3 Gradle tasks:

  • compileJpaMetamodel

  • generateJpaMetamodel

  • hibernateEnhance
    The last task fails, if I use some compileOnly dependecies like:

I tried to use `implementation` instead of `compileOnly`, but this didn't help.

This is the reproducer: https://github.com/stefan-dan/hibernate_enhance_plugin

Activity

Show:

Andrea Boriero November 7, 2022 at 2:14 PM

Thanks .

Ștefan Dănilă November 7, 2022 at 2:02 PM

Hi @Andrea Boriero,

The issue was solved in 6.1.5.

Thank you.

Andrea Boriero November 7, 2022 at 10:34 AM

Hi ,

can you check if this issue still persists with 6.1.5?

Thanks

Out of Date

Details

Assignee

Reporter

Worked in

Components

Affects versions

Priority

Created June 21, 2022 at 7:03 AM
Updated November 7, 2022 at 2:15 PM
Resolved November 7, 2022 at 2:15 PM