import org.apache.tools.ant.filters.ReplaceTokens /* * 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 . */ buildscript { repositories { mavenCentral() jcenter() maven { name "jboss-snapshots" url "http://snapshots.jboss.org/maven2/" } } dependencies { classpath 'org.hibernate.build.gradle:gradle-maven-publish-auth:2.0.1' classpath 'org.hibernate.build.gradle:hibernate-matrix-testing:2.0.0-SNAPSHOT' classpath 'org.hibernate.build.gradle:version-injection-plugin:1.0.0' classpath 'org.hibernate.build.gradle:gradle-xjc-plugin:1.0.2.Final' classpath 'com.github.lburgazzoli:lb-karaf-features-gen:1.0.0-SNAPSHOT' classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' classpath 'de.thetaphi:forbiddenapis:2.5' } } plugins { id 'com.gradle.build-scan' version '1.9' id 'me.champeau.buildscan-recipes' version '0.1.7' } allprojects { repositories { mavenCentral() maven { name "jboss-snapshots" url "http://snapshots.jboss.org/maven2/" } } // minimize changes, at least for now (gradle uses 'build' by default).. buildDir = "target" apply from: rootProject.file( 'gradle/base-information.gradle' ) } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Release Task task release { description = "The task performed when we are performing a release build. Relies on " + "the fact that subprojects will appropriately define a release task " + "themselves if they have any release-related activities to perform" } task publish { description = "The task performed when we want to just publish maven artifacts. Relies on " + "the fact that subprojects will have a task named pubappropriately define a release task " + "themselves if they have any release-related activities to perform" } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CI Build Task task ciBuild { description = "The task performed when one of the 'main' jobs are triggered on the " + "CI server. Just as above, relies on the fact that subprojects will " + "appropriately define a release task themselves if they have any tasks " + "which should be performed from these CI jobs" } task wrapper(type: Wrapper) { gradleVersion = '4.6' distributionType = 'ALL' } buildScan { licenseAgreementUrl = 'https://gradle.com/terms-of-service' licenseAgree = 'yes' recipe 'git-commit', baseUrl: 'https://github.com/hibernate/hibernate-orm/tree' } //idea { // project { // jdkName = baselineJavaVersion // languageLevel = baselineJavaVersion // // vcs = 'Git' // } // module { // name = "hibernate-orm" // } //} //allprojects { // apply plugin: 'idea' // apply plugin: 'eclipse' //}