Skip to content

Commit

Permalink
fix #33, use separatorChar in split()
Browse files Browse the repository at this point in the history
  • Loading branch information
pfn committed Nov 30, 2015
1 parent e8796b0 commit 6de5e10
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -95,7 +95,7 @@ object AndroidSdkPluginExtractor extends SbtStateOps with TaskOps {

private def libraryDepToApkLib(lib: LibraryDependency): ApkLib = {
// As for version 1.5.0 android-sdk-plugin uses canonical path to library as its name
val fixedLibName = lib.getName.split(File.separator).last
val fixedLibName = lib.getName.split(File.separatorChar).last
ApkLib(fixedLibName, lib.layout.base, lib.layout.manifest, lib.layout.sources, lib.layout.res, lib.layout.libs, lib.layout.gen)
}

Expand Down

0 comments on commit 6de5e10

Please sign in to comment.