diff --git a/build.gradle b/build.gradle index 9ed3013..9a95c9a 100644 --- a/build.gradle +++ b/build.gradle @@ -80,6 +80,14 @@ subprojects { } } }.writeTo("build/publications/maven/pom-default.xml") + + if (project.name == "compiler") { + // Temporary hack to fix the release + File pomFile = file("compiler/build/publications/maven/pom-default.xml") + String content = pomFile.getText('UTF-8') + content = content.replaceAll('api', 'barber-api') + pomFile.write(content, 'UTF-8') + } } } }