diff options
author | Xavier Ducrohet <xav@android.com> | 2013-07-24 09:11:10 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2013-07-24 09:11:10 -0700 |
commit | 88d652df8c8de56e60ce20736d63229f3850f202 (patch) | |
tree | 0b3d30f7915d005e7bfd86d92df5c158d223c0bc /eclipse/plugins | |
parent | 77ba389d87d691d834be910ece683576a90aa893 (diff) | |
download | sdk-88d652df8c8de56e60ce20736d63229f3850f202.zip sdk-88d652df8c8de56e60ce20736d63229f3850f202.tar.gz sdk-88d652df8c8de56e60ce20736d63229f3850f202.tar.bz2 |
Fix gradle export on windows.
Change-Id: I9166dafe997f4d9e7988e7f123759952fdea4ba4
Diffstat (limited to 'eclipse/plugins')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java index 0df28ea..1fd6b74 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java @@ -324,7 +324,7 @@ public class ProjectSetupBuilder { @NonNull private static IPath findCommonRoot(@NonNull IPath path1, @NonNull IPath path2) throws InternalException { - if (path1.getDevice() != null && path1.getDevice().equals(path2.getDevice())) { + if (path1.getDevice() != null && !path1.getDevice().equals(path2.getDevice())) { throw new InternalException( "Different modules have been detected on different drives.\n" + "This prevents finding a common root to all modules."); |