Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank11p committed Mar 18, 2024
1 parent d220fa2 commit 867ab7c
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,6 @@ public void apply(Project project) {
project.getPlugins().apply(JavaLibraryPlugin.class);
createLibraryConfiguration(project);
addDependencies(project);
project
.getTasks()
.withType(
Test.class,
task -> {
task.dependsOn(":testing-bootstrap:shadowJar");
File testingBootstrapJar =
new File(
project.project(":testing-bootstrap").getBuildDir(),
"libs/testing-bootstrap.jar");
// Make sure tests get rerun if the contents of the testing-bootstrap.jar change
task.getInputs().property("testing-bootstrap-jar", testingBootstrapJar);
task.getJvmArgumentProviders().add(new InstrumentationTestArgs(testingBootstrapJar));
});
}

private void addDependencies(Project project) {
Expand Down

0 comments on commit 867ab7c

Please sign in to comment.