HHH-14111 Upgrade to biz.aQute.bnd (OSGi plugin) 5.1.1

This commit is contained in:
Yoann Rodière 2020-07-17 12:57:35 +02:00 committed by gbadner
parent 0bd52c0899
commit 1a5579287d
1 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,7 @@ buildscript {
classpath 'gradle.plugin.com.github.lburgazzoli:gradle-karaf-plugin:0.5.1'
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'de.thetaphi:forbiddenapis:2.5'
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:4.2.0'
classpath 'de.thetaphi:forbiddenapis:2.7'
}
}
@ -25,6 +24,7 @@ plugins {
id 'me.champeau.buildscan-recipes' version '0.2.3'
id 'org.hibernate.build.xjc' version '2.0.1' apply false
id 'org.hibernate.build.maven-repo-auth' version '3.0.2' apply false
id 'biz.aQute.bnd' version '5.1.1' apply false
}
allprojects {
@ -55,8 +55,8 @@ task release {
"the fact that subprojects will appropriately define a release task " +
"themselves if they have any release-related activities to perform"
// Force to release with JDK 8. Releasing with JDK 11 is not supported yet:
// - the hibernate-orm-modules tests do not run due to an issue with the ASM version currently used by Gradle
// Force to release with JDK 8. It used to not work on JDK11 because of the hibernate-orm-modules module,
// but this limitation might be resolved now that this module has been deleted?
doFirst {
if ( !JavaVersion.current().isJava8() || !gradle.ext.testedJavaVersionAsEnum.isJava8() ) {
throw new IllegalStateException( "Please use JDK 8 to perform the release." )