File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
spring-boot-project/spring-boot-tools/spring-boot-antlib
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ dependencies {
25
25
implementation(" org.springframework:spring-core" )
26
26
}
27
27
28
- task copyIntegrationTestSources (type : Copy ) {
28
+ task syncIntegrationTestSources (type : Sync ) {
29
+ destinationDir file(" ${ buildDir} /it" )
29
30
from file(" src/it" )
30
- into " ${ buildDir} /it"
31
31
filter(springRepoistoryTransformers. ant())
32
32
}
33
33
@@ -39,7 +39,7 @@ processResources {
39
39
}
40
40
41
41
task integrationTest {
42
- dependsOn copyIntegrationTestSources , jar
42
+ dependsOn syncIntegrationTestSources , jar
43
43
def resultsDir = file(" ${ buildDir} /test-results/integrationTest" )
44
44
inputs. dir(file(" src/it" )). withPathSensitivity(PathSensitivity . RELATIVE ). withPropertyName(" source" )
45
45
inputs. files(sourceSets. main. runtimeClasspath). withNormalizer(ClasspathNormalizer ). withPropertyName(" classpath" )
Original file line number Diff line number Diff line change @@ -46,16 +46,16 @@ task syncTestRepository(type: Sync) {
46
46
}
47
47
}
48
48
49
- task copyAntSources (type : Copy ) {
49
+ task syncAntSources (type : Sync ) {
50
+ destinationDir file(" ${ buildDir} /ant" )
50
51
from project. layout. projectDirectory
51
52
include " *.xml"
52
- into " ${ buildDir} /ant"
53
53
filter(springRepoistoryTransformers. ant())
54
54
}
55
55
56
56
task antRun (type : JavaExec ) {
57
57
workingDir " ${ buildDir} /ant"
58
- dependsOn syncTestRepository, copyAntSources , configurations. antDependencies
58
+ dependsOn syncTestRepository, syncAntSources , configurations. antDependencies
59
59
classpath = configurations. antDependencies;
60
60
mainClass = " org.apache.tools.ant.launch.Launcher"
61
61
args = [ " clean" , " build" ]
You can’t perform that action at this time.
0 commit comments