2015-05-19 00:23:35 -04:00
|
|
|
/*
|
|
|
|
* 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 <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
|
|
|
*/
|
2015-03-31 14:01:57 -04:00
|
|
|
if ( !JavaVersion.current().java8Compatible ) {
|
|
|
|
throw new GradleException( "Gradle must be run with Java 8" )
|
|
|
|
}
|
|
|
|
|
2010-10-08 21:20:10 -04:00
|
|
|
include 'hibernate-core'
|
2013-11-26 18:48:25 -05:00
|
|
|
include 'hibernate-testing'
|
2010-10-09 14:24:27 -04:00
|
|
|
include 'hibernate-envers'
|
2011-07-23 09:39:27 -04:00
|
|
|
include 'hibernate-spatial'
|
2010-10-08 21:20:10 -04:00
|
|
|
|
2015-03-23 16:27:02 -04:00
|
|
|
include 'hibernate-osgi'
|
2013-01-23 18:22:03 -05:00
|
|
|
|
2010-10-09 14:27:47 -04:00
|
|
|
include 'hibernate-c3p0'
|
2010-10-09 14:31:54 -04:00
|
|
|
include 'hibernate-proxool'
|
2014-03-17 16:33:44 -04:00
|
|
|
include 'hibernate-hikaricp'
|
2010-10-09 14:27:47 -04:00
|
|
|
|
2014-03-19 21:43:42 -04:00
|
|
|
include 'hibernate-jcache'
|
2010-10-09 14:44:08 -04:00
|
|
|
include 'hibernate-ehcache'
|
2010-10-09 14:55:13 -04:00
|
|
|
include 'hibernate-infinispan'
|
2013-10-25 15:27:45 -04:00
|
|
|
|
2013-11-13 19:23:48 -05:00
|
|
|
include 'documentation'
|
|
|
|
include 'release'
|
|
|
|
|
2013-10-25 15:27:45 -04:00
|
|
|
include 'metamodel-generator'
|
|
|
|
project(':metamodel-generator').projectDir = new File(rootProject.projectDir, "tooling/metamodel-generator")
|
2015-03-23 15:36:41 -04:00
|
|
|
project(':metamodel-generator').name = 'hibernate-jpamodelgen'
|
2013-10-25 15:27:45 -04:00
|
|
|
|
2013-07-19 10:53:20 -04:00
|
|
|
include 'hibernate-gradle-plugin'
|
2013-11-13 19:23:48 -05:00
|
|
|
project(':hibernate-gradle-plugin').projectDir = new File(rootProject.projectDir, "tooling/hibernate-gradle-plugin")
|
2013-10-25 15:27:45 -04:00
|
|
|
|
2015-03-25 21:41:23 -04:00
|
|
|
include 'hibernate-enhance-maven-plugin'
|
|
|
|
project(':hibernate-enhance-maven-plugin').projectDir = new File(rootProject.projectDir, "tooling/hibernate-enhance-maven-plugin")
|
2010-10-12 16:39:33 -04:00
|
|
|
|
2010-10-08 21:20:10 -04:00
|
|
|
rootProject.children.each { project ->
|
|
|
|
project.buildFileName = "${project.name}.gradle"
|
|
|
|
assert project.projectDir.isDirectory()
|
2013-11-13 19:23:48 -05:00
|
|
|
assert project.buildFile.exists()
|
2010-10-08 21:20:10 -04:00
|
|
|
assert project.buildFile.isFile()
|
2011-03-22 11:39:53 -04:00
|
|
|
}
|