We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83c9f3d commit ab4709fCopy full SHA for ab4709f
1 file changed
localrepo/src/main/groovy/com/yy/localrepo/PluginImpl.groovy
@@ -19,7 +19,7 @@ public class PluginImpl implements Plugin<Project> {
19
local.dependencies.each { dependency ->
20
local.resolvedConfiguration.resolvedArtifacts.each { artifact ->
21
if ("${dependency.group}:${dependency.name}:${dependency.version}" == artifact.moduleVersion.toString()) {
22
- def libPath = "${artifact.file.parentFile.path}\\libs"
+ def libPath = "${artifact.file.parentFile.path}${File.separator}libs"
23
println("localrepo, add depencies:$libPath")
24
project.getRepositories().flatDir {
25
dirs(libPath)
0 commit comments