diff --git a/build.gradle.kts b/build.gradle.kts index 95f345c1a9..be4df74b8a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -67,7 +67,16 @@ subprojects { if (System.getenv("JITPACK") != null) mavenLocal() jcenter() - maven(url = "https://mvnrepository.com/artifact") + exclusiveContent { + forRepository { + maven { + url = uri("https://mvnrepository.com/artifact") + } + } + filter { + excludeModule("com.github.petitparser", "java-petitparser") + } + } maven(url = "https://jitpack.io") exclusiveContent {