mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: fixed converting library name to file name
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user