org.hibernate.testing.database-profile
Owner:
Hibernate.org
Support for testing against multiple databases via profiles - defining, selecting and applying database profiles. Essentially augments `src/test/resources/hibernate.properties` file and possibly adding dependencies
https://github.com/hibernate/database-profile-plugin/README.adoc
Sources: https://github.com/hibernate/hibernate-matrix-testing
Version 1.0.0.Beta3
1.0.0.Beta3
Created 11 April 2018.
Support for testing against multiple databases via profiles
Using the plugins DSL:
plugins {
id("org.hibernate.testing.database-profile") version "1.0.0.Beta3"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("gradle.plugin.org.hibernate.build:database-profile-plugin:1.0.0.Beta3")
}
}
apply(plugin = "org.hibernate.testing.database-profile")
Using the plugins DSL:
plugins {
id "org.hibernate.testing.database-profile" version "1.0.0.Beta3"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.org.hibernate.build:database-profile-plugin:1.0.0.Beta3"
}
}
apply plugin: "org.hibernate.testing.database-profile"