From 30d896a19a9ac73578ddab9795a5a662097b3982 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Tue, 24 May 2022 11:53:26 +0200 Subject: [PATCH] HHH-15297 Invalid Automatic-Module-Name org.hibernate.orm.community-dialects --- gradle/java-module.gradle | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gradle/java-module.gradle b/gradle/java-module.gradle index 23c5129b08..55d2fbea37 100644 --- a/gradle/java-module.gradle +++ b/gradle/java-module.gradle @@ -44,7 +44,7 @@ apply plugin: 'org.jetbrains.gradle.plugin.idea-ext' ext { java9ModuleNameBase = project.name.startsWith( 'hibernate-' ) ? name.drop( 'hibernate-'.length() ): name - java9ModuleName = "org.hibernate.orm.$project.java9ModuleNameBase" + java9ModuleName = "org.hibernate.orm.$project.java9ModuleNameBase".replace('-','.') forbiddenAPITargetJDKCompatibility = '11' } @@ -360,15 +360,6 @@ test { } -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// Artifacts (jar, sources, javadoc) - -ext { - java9ModuleNameBase = project.name.startsWith( 'hibernate-' ) ? name.drop( 'hibernate-'.length() ): name - java9ModuleName = "org.hibernate.orm.$project.java9ModuleNameBase" -} - - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Jar