Skip to content

Commit c757824

Browse files
committed
Add jar that should have been added as part of 69c61d0
1 parent 69c61d0 commit c757824

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/MultiProjectRepackagingTests.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import org.junit.BeforeClass;
2525
import org.junit.Test;
2626
import org.springframework.boot.dependency.tools.ManagedDependencies;
27-
import org.springframework.util.FileCopyUtils;
2827

2928
import static org.hamcrest.Matchers.notNullValue;
3029
import static org.junit.Assert.assertThat;
@@ -48,10 +47,8 @@ public static void createProject() throws IOException {
4847

4948
@Test
5049
public void repackageWithTransitiveFileDependency() throws Exception {
51-
FileCopyUtils.copy(new File("src/test/resources/foo.jar"), new File(
52-
"target/multi-project-repackage/foo.jar"));
5350
project.newBuild().forTasks("clean", "build")
54-
.withArguments("-PbootVersion=" + BOOT_VERSION, "-Prepackage=true").run();
51+
.withArguments("-PbootVersion=" + BOOT_VERSION, "-Prepackage=true").run();
5552
File buildLibs = new File("target/multi-project-repackage/main/build/libs");
5653
JarFile jarFile = new JarFile(new File(buildLibs, "main.jar"));
5754
assertThat(jarFile.getEntry("lib/commons-logging-1.1.3.jar"), notNullValue());

0 commit comments

Comments
 (0)