Branch: refs/heads/6.1
Home:
https://github.com/hibernate/hibernate-orm
Commit: 41c6a70dc8a642a7c31ac51fb76bdc9638e9340d
https://github.com/hibernate/hibernate-orm/commit/41c6a70dc8a642a7c31ac51...
Author: Tomas Cerskus <tomas-c(a)users.noreply.github.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M
tooling/hibernate-gradle-plugin/src/main/java/org/hibernate/orm/tooling/gradle/HibernateOrmPlugin.java
Log Message:
-----------
HHH-15707 - Fix Gradle plugin with Kotlin 1.7.0 or higher
Since Kotlin version 1.7.0 the KotlinCompile task no longer extends
Gradle's AbstractCompile.
This commit updates Hibernate Gradle enhancement plugin to not cast to
AbstractCompile and instead use reflection to invoke the
"getDestinationDirectory" method.
It also updates the Kotlin version on used to test the Gradle
enhancement (but remains backwards compatible with previous Kotlin
versions).