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 1.0.0.Beta2

Created 09 April 2018.

Support for testing against multiple databases via profiles

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.hibernate.testing.database-profile") version "1.0.0.Beta2"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.hibernate.testing.database-profile:org.hibernate.testing.database-profile.gradle.plugin:1.0.0.Beta2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.hibernate.testing.database-profile")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.hibernate.testing.database-profile:org.hibernate.testing.database-profile.gradle.plugin:1.0.0.Beta2")
      }
    }
    
    apply(plugin = "org.hibernate.testing.database-profile")
  • Applying plugins to all subprojects .