Fix tests

This commit is contained in:
Ilya Chernikov
2017-11-28 12:13:56 +01:00
committed by Vyacheslav Gerasimov
parent a4f28cd94f
commit c153a386ab
4 changed files with 10 additions and 6 deletions
+2 -4
View File
@@ -149,10 +149,7 @@ val preparedResources = File(buildDir, "prepResources")
sourceSets {
"main" { projectDefault() }
"test" {
projectDefault()
resources.srcDir(preparedResources)
}
"test" { projectDefault() }
}
val ultimatePluginXmlContent: String by lazy {
@@ -218,6 +215,7 @@ projectTest {
dependsOn(preparePluginXml)
workingDir = rootDir
doFirst {
classpath.add(files(preparedResources))
systemProperty("spring.classpath", springClasspath.asPath)
}
}