From 4f7e191b5ff427684951cf71b2240fc6bd61d004 Mon Sep 17 00:00:00 2001 From: nik Date: Thu, 12 Oct 2017 10:08:37 +0300 Subject: [PATCH] build scripts: fixed converting library name to file name --- build/dependencies/setupBuildScriptsDeps.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/dependencies/setupBuildScriptsDeps.gradle b/build/dependencies/setupBuildScriptsDeps.gradle index 621bd72fc2e4..7a0b9fb887ba 100644 --- a/build/dependencies/setupBuildScriptsDeps.gradle +++ b/build/dependencies/setupBuildScriptsDeps.gradle @@ -34,7 +34,7 @@ task setupBuildScriptsDeps(dependsOn: configurations.buildScriptsDeps, type: Syn } private String loadLibraryMavenId(String libraryName) { - File file = new File(project.rootDir, "../../.idea/libraries/${libraryName}.xml") + File file = new File(project.rootDir, "../../.idea/libraries/${libraryName.replace('-', '_')}.xml") if (!file.exists()) { throw new GradleException("Cannot find $libraryName project library: $file doesn't exist") }