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 {
5656
5757 ext. sourceCompatibility = project(" :spring-core" ). compileTestJava. sourceCompatibility
5858 ext. targetCompatibility = project(" :spring-core" ). compileTestJava. targetCompatibility
59+ ext. pathSeparator = System . getProperty(' path.separator' )
5960
6061 doLast{
6162 ant. taskdef(resource : " org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties" ,
@@ -66,8 +67,7 @@ compileTestJava {
6667 destDir : outputDir. absolutePath,
6768 aspectPath : jar. archivePath,
6869 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) {
7171 sourceroots {
7272 sourceSets. test. java. srcDirs. each {
7373 pathelement(location :it. absolutePath)
You can’t perform that action at this time.
0 commit comments