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.Beta1

Created 03 April 2018.

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.hibernate.build.gradle:hibernate-matrix-testing:2.0.0.Beta1"
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects