HHH-7197 rollback change of JdbcDirectoryProfile, seems that is a m9 feature
This commit is contained in:
parent
caf0f70b62
commit
38a6c426ff
|
@ -26,7 +26,7 @@ package org.hibernate.build.gradle.testing.database;
|
||||||
|
|
||||||
import org.gradle.api.Project;
|
import org.gradle.api.Project;
|
||||||
import org.gradle.api.artifacts.Configuration;
|
import org.gradle.api.artifacts.Configuration;
|
||||||
|
import org.gradle.api.internal.artifacts.dependencies.DefaultSelfResolvingDependency;
|
||||||
/**
|
/**
|
||||||
* Database profile as defined by a directory named {@code jdbc} containing JDBC drivers.
|
* Database profile as defined by a directory named {@code jdbc} containing JDBC drivers.
|
||||||
*
|
*
|
||||||
|
@ -39,13 +39,13 @@ public class JdbcDirectoryProfile extends AbstractDatabaseProfileImpl {
|
||||||
public JdbcDirectoryProfile(File jdbcDirectory, Project project) {
|
public JdbcDirectoryProfile(File jdbcDirectory, Project project) {
|
||||||
super( jdbcDirectory.getParentFile(), project );
|
super( jdbcDirectory.getParentFile(), project );
|
||||||
jdbcDependencies = prepareConfiguration( getName() );
|
jdbcDependencies = prepareConfiguration( getName() );
|
||||||
// DefaultSelfResolvingDependency dependency =
|
DefaultSelfResolvingDependency dependency =
|
||||||
// new DefaultSelfResolvingDependency( project.files( jdbcDirectory.listFiles() ) );
|
new DefaultSelfResolvingDependency( project.files( jdbcDirectory.listFiles() ) );
|
||||||
File [] jdbcDriverJars = jdbcDirectory.listFiles();
|
/* File [] jdbcDriverJars = jdbcDirectory.listFiles();*/
|
||||||
// jdbcDependencies.addDependency( dependency );
|
jdbcDependencies.addDependency( dependency );
|
||||||
project.dependencies {
|
/* project.dependencies {
|
||||||
jdbcDependency files(jdbcDriverJars)
|
jdbcDependency files(jdbcDriverJars)
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue