/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or . */ if ( !JavaVersion.current().java8Compatible ) { throw new GradleException( "Gradle must be run with Java 8" ) } include 'hibernate-core' include 'hibernate-entitymanager' include 'hibernate-testing' include 'hibernate-envers' // todo (6.0): re-enable hibernate-spatial //include 'hibernate-spatial' include 'hibernate-java8' include 'hibernate-osgi' include 'hibernate-c3p0' include 'hibernate-proxool' include 'hibernate-hikaricp' include 'hibernate-vibur' include 'hibernate-agroal' include 'hibernate-jcache' include 'hibernate-ehcache' include 'hibernate-infinispan' include 'hibernate-jipijapa' include 'hibernate-orm-modules' if ( JavaVersion.current().isJava11Compatible() ) { include 'hibernate-integrationtest-java-modules' } else { logger.warn( '[WARN] Skipping Java module path integration tests because the JDK does not support it' ) } include 'documentation' include 'release' include 'metamodel-generator' project(':metamodel-generator').projectDir = new File(rootProject.projectDir, "tooling/metamodel-generator") project(':metamodel-generator').name = 'hibernate-jpamodelgen' include 'hibernate-gradle-plugin' project(':hibernate-gradle-plugin').projectDir = new File(rootProject.projectDir, "tooling/hibernate-gradle-plugin") include 'hibernate-enhance-maven-plugin' project(':hibernate-enhance-maven-plugin').projectDir = new File(rootProject.projectDir, "tooling/hibernate-enhance-maven-plugin") rootProject.children.each { project -> project.buildFileName = "${project.name}.gradle" assert project.projectDir.isDirectory() assert project.buildFile.exists() assert project.buildFile.isFile() }