Path separator must be constant
TeamCity agents have different OS'es, but build parameters are fixed
Original commit: 7171cd4cc5
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ public class KotlinBuilderModuleScriptGenerator {
|
|||||||
// is not available on TeamCity. When running on TeamCity, one has to provide extra path to JDK annotations
|
// is not available on TeamCity. When running on TeamCity, one has to provide extra path to JDK annotations
|
||||||
String extraAnnotationsPaths = System.getProperty("jps.kotlin.extra.annotation.paths");
|
String extraAnnotationsPaths = System.getProperty("jps.kotlin.extra.annotation.paths");
|
||||||
if (extraAnnotationsPaths != null) {
|
if (extraAnnotationsPaths != null) {
|
||||||
String[] paths = extraAnnotationsPaths.split(File.pathSeparator);
|
String[] paths = extraAnnotationsPaths.split(";");
|
||||||
for (String path : paths) {
|
for (String path : paths) {
|
||||||
annotationRootFiles.add(new File(path));
|
annotationRootFiles.add(new File(path));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user