Search Gradle plugins

org.hibernate.testing.database-profile

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 2.0.0.Beta5 (latest)

2.0.0.Beta5

Created 09 September 2020.

Support for testing against multiple databases via profiles

Using the plugins DSL:

plugins {
  id("org.hibernate.testing.database-profile") version "2.0.0.Beta5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.hibernate.build.gradle:database-profile-plugin:2.0.0.Beta5")
  }
}

apply(plugin = "org.hibernate.testing.database-profile")

Using the plugins DSL:

plugins {
  id "org.hibernate.testing.database-profile" version "2.0.0.Beta5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.hibernate.build.gradle:database-profile-plugin:2.0.0.Beta5"
  }
}

apply plugin: "org.hibernate.testing.database-profile"

Learn how to apply plugins to subprojects