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

http://hibernate.org

Version 2.0.0.Beta2 (latest)

Created 11 April 2018.

Support for testing against multiple databases via profiles

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects