dependencies { testImplementation "org.testcontainers:testcontainers-oracle-xe" // jhipster-needle-gradle-dependency - JHipster will add additional dependencies here } ext { if (project.hasProperty("api-docs")) { springProfiles += ",api-docs" } } springBoot { buildInfo() } bootRun { args = ["--spring.profiles.active=${springProfiles}"] } processResources { inputs.property('version', version) inputs.property('springProfiles', springProfiles) filesMatching("**/application.yml") { filter { it.replace("@project.version@", version) } filter { it.replace("@spring.profiles.active@", springProfiles) } } } def integrationTest = tasks.register('integrationTest', Test) { maxHeapSize = "1G" useJUnitPlatform() description = "Execute integration tests." group = "verification" include "**/*IT*", "**/*IntTest*" testLogging { events = ['FAILED', 'SKIPPED'] exceptionFormat = "full" } systemProperty('spring.profiles.active', springTestProfiles) // uncomment if the tests reports are not generated // see https://github.com/jhipster/generator-jhipster/pull/2771 and https://github.com/jhipster/generator-jhipster/pull/4484 // ignoreFailures true reports.html.required = false dependsOn(tasks.named('test')) }