Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 07529c309dcd8f9292a3f3140abb3fd7b13f128e
https://github.com/hibernate/hibernate-orm/commit/07529c309dcd8f9292a3f31...
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).