File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ compileTestJava {
56
56
57
57
ext. sourceCompatibility = project(" :spring-core" ). compileTestJava. sourceCompatibility
58
58
ext. targetCompatibility = project(" :spring-core" ). compileTestJava. targetCompatibility
59
+ ext. pathSeparator = System . getProperty(' path.separator' )
59
60
60
61
doLast{
61
62
ant. taskdef(resource : " org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties" ,
@@ -66,8 +67,7 @@ compileTestJava {
66
67
destDir : outputDir. absolutePath,
67
68
aspectPath : jar. archivePath,
68
69
inpath : configurations. ajInpath. asPath,
69
- classpath : sourceSets. test. runtimeClasspath. asPath + jar. archivePath +
70
- System . getProperty(" path.separator" ) + configurations. rt. asPath) {
70
+ classpath : sourceSets. test. runtimeClasspath. asPath + pathSeparator + jar. archivePath + pathSeparator + configurations. rt. asPath) {
71
71
sourceroots {
72
72
sourceSets. test. java. srcDirs. each {
73
73
pathelement(location :it. absolutePath)
You can’t perform that action at this time.
0 commit comments