Fix folder for <java path="...." if="android" /> directive
This commit is contained in:
committed by
Joshua Granick
parent
854e3c36b7
commit
53cab7043b
@@ -370,7 +370,7 @@ class AndroidPlatform extends PlatformTarget {
|
|||||||
|
|
||||||
if (FileSystem.isDirectory (javaPath)) {
|
if (FileSystem.isDirectory (javaPath)) {
|
||||||
|
|
||||||
FileHelper.recursiveCopy (javaPath, sourceSet + "/src", context, true);
|
FileHelper.recursiveCopy (javaPath, sourceSet + "/java", context, true);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@@ -380,7 +380,7 @@ class AndroidPlatform extends PlatformTarget {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
FileHelper.copyIfNewer (javaPath, sourceSet + "/src/" + Path.withoutDirectory (javaPath));
|
FileHelper.copyIfNewer (javaPath, sourceSet + "/java/" + Path.withoutDirectory (javaPath));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user