diff --git a/build.gradle b/build.gradle index b3edbb62..b309d85c 100644 --- a/build.gradle +++ b/build.gradle @@ -84,10 +84,11 @@ dependencies { transitive = false } - modCompileOnly project(":canvas-compat") - afterEvaluate { - subprojects.each { - include project(":canvas-compat") - } - } + modCompileOnly project(":canvas-compat") { + transitive = false + } + + afterEvaluate { + include project(":canvas-compat") + } }