Enhancement failed for Kotlin projects

Description

Grandle project failed on configuration phase. Looks like Hibernate Gradle plugin do not adapted for Kotlin Gradle Plugin 1.7+ changes ( or ).

Gradle log:

Attachments

1

Activity

Show:

Steve Ebersole February 19, 2025 at 6:19 PM

Hi , trying one last time to reach you about relicensing this contribution under the ASL.

If you agree, could you reply here or on the commit? Thanks!

Wolfgang Seifert December 7, 2022 at 7:29 AM

should fix the issue with AbstractCompile/destinationDirectory.

Georg Echterling December 2, 2022 at 8:47 AM
Edited

This bug has an easy testcase: Simply replace the Kotlin plugin version 1.6.21 with 1.7.21 in tooling/hibernate-gradle-plugin/src/test/resources/projects/simple-kotlin/build.gradle and run the KotlinProjectTests. The tests will fail as mentioned in the description.

Some information for the fix: The HibernateOrmPlugin requires the destinationDirectory property from the AbstractCompile task. The KotlinCompile task still has an identical destinationDirectory property, but it’s no longer inherited.

Fixed

Details

Assignee

Reporter

Worked in

Components

Fix versions

Affects versions

Priority

Created November 11, 2022 at 3:24 PM
Updated February 19, 2025 at 6:24 PM
Resolved February 6, 2023 at 5:02 PM