hibernate-orm/build.gradle

114 lines
2.4 KiB
Groovy
Raw Normal View History

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 <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
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'
}
2010-10-08 21:20:10 -04:00
}
plugins {
2017-08-17 07:04:39 -04:00
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' )
2013-11-21 14:46:03 -05:00
}
2013-12-02 21:53:19 -05:00
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Link together all release tasks
2010-10-08 21:20:10 -04:00
// relies on the fact that subprojects will appropriately define a release task
// themselves if they have any release-related activities to perform
task release {
doFirst {
println "Starting version $project.hibernateVersion release"
2017-08-17 07:04:39 -04:00
}
}
2017-08-17 07:04:39 -04:00
//gradle.projectsEvaluated { g ->
// g.rootProject.subprojects { subproject ->
// Task releaseTask = subproject.tasks.findByName( 'release' )
// if ( releaseTask ) {
// releaseTask.dependsOn tasks.release
// tasks.release.dependsOn releaseTask
// }
// }
//}
task wrapper(type: Wrapper) {
gradleVersion = '4.4'
distributionType = 'ALL'
}
2013-12-02 21:53:19 -05:00
buildScan {
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
recipe 'git-commit', baseUrl: 'https://github.com/hibernate/hibernate-orm/tree'
}
2013-12-02 21:53:19 -05:00
2015-04-20 13:00:12 -04:00
2013-12-02 21:53:19 -05:00
2017-12-13 10:15:22 -05:00
2013-12-02 21:53:19 -05:00
//idea {
// project {
// jdkName = baselineJavaVersion
// languageLevel = baselineJavaVersion
//
// vcs = 'Git'
// }
// module {
// name = "hibernate-orm"
// }
//}
2013-11-21 14:46:03 -05:00
//allprojects {
// apply plugin: 'idea'
// apply plugin: 'eclipse'
//}