Andy Wilkinson (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-15558 (
https://hibernate.atlassian.net/browse/HHH-15558?atlOrigin=eyJpIjoiNmYyYT...
)
Re: Hibernate's Gradle plugin does not work with three-part source set names (
https://hibernate.atlassian.net/browse/HHH-15558?atlOrigin=eyJpIjoiNmYyYT...
)
Thanks, Steve.
There is a task named compileThreePartNameJava. The sample above is trying to run that
task but it’s failing within Hibernate’s plugin as it doesn’t like the task’s name. Here’s
the output of running the script with --stacktrace :
./gradlew compileThreePartNameJava --stacktrace
FAILURE: Build failed with an exception.
* What went wrong:
Unexpected compilation task name : compileThreePartNameJava
* Try:
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
* Exception is:
java.lang.RuntimeException: Unexpected compilation task name : compileThreePartNameJava
at
org.hibernate.orm.tooling.gradle.Helper.determineCompileNameParts(Helper.java:53)
at
org.hibernate.orm.tooling.gradle.Helper.determineCompileSourceSetName(Helper.java:28)
at
org.hibernate.orm.tooling.gradle.HibernateOrmPlugin.lambda$prepareEnhancement$1(HibernateOrmPlugin.java:67)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
at
org.hibernate.orm.tooling.gradle.HibernateOrmPlugin.lambda$prepareEnhancement$2(HibernateOrmPlugin.java:63)
…
(
https://hibernate.atlassian.net/browse/HHH-15558#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15558#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:38b2e23 )