Fix folder for <java path="...." if="android" /> directive

This commit is contained in:
Federico Bricker
2016-10-03 00:53:39 -03:00
committed by Joshua Granick
parent 854e3c36b7
commit 53cab7043b

View File

@@ -370,7 +370,7 @@ class AndroidPlatform extends PlatformTarget {
if (FileSystem.isDirectory (javaPath)) {
FileHelper.recursiveCopy (javaPath, sourceSet + "/src", context, true);
FileHelper.recursiveCopy (javaPath, sourceSet + "/java", context, true);
} else {
@@ -380,7 +380,7 @@ class AndroidPlatform extends PlatformTarget {
} else {
FileHelper.copyIfNewer (javaPath, sourceSet + "/src/" + Path.withoutDirectory (javaPath));
FileHelper.copyIfNewer (javaPath, sourceSet + "/java/" + Path.withoutDirectory (javaPath));
}