Skip to content

Commit ab4709f

Browse files
author
wangfeihang
committed
change file separator
1 parent 83c9f3d commit ab4709f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

localrepo/src/main/groovy/com/yy/localrepo/PluginImpl.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class PluginImpl implements Plugin<Project> {
1919
local.dependencies.each { dependency ->
2020
local.resolvedConfiguration.resolvedArtifacts.each { artifact ->
2121
if ("${dependency.group}:${dependency.name}:${dependency.version}" == artifact.moduleVersion.toString()) {
22-
def libPath = "${artifact.file.parentFile.path}\\libs"
22+
def libPath = "${artifact.file.parentFile.path}${File.separator}libs"
2323
println("localrepo, add depencies:$libPath")
2424
project.getRepositories().flatDir {
2525
dirs(libPath)

0 commit comments

Comments
 (0)