diff --git a/build.gradle b/build.gradle index a715afc..a12fcc9 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,10 @@ jar { dependencies { implementation 'org.dom4j:dom4j:2.1.3' - implementation 'org.apache.commons:commons-text:1.10.0' + implementation('org.apache.commons:commons-text:1.10.0') { + // Because the transitive dependency already exists in halo. + exclude group: 'org.apache.commons', module: 'commons-lang3' + } implementation platform('run.halo.tools.platform:plugin:2.9.0-SNAPSHOT') compileOnly 'run.halo.app:api'