String (@NonNls String config) { String mavenRepositoryPatch = """ allprojects { repositories { maven { url 'https://repo.labs.intellij.net/repo1' } } } """; if (config.contains(MAVEN_REPOSITORY_PATCH_PLACE)) { return config.replace(MAVEN_REPOSITORY_PATCH_PLACE, mavenRepositoryPatch); } else { return mavenRepositoryPatch + config; } }