diff --git a/build.gradle.kts b/build.gradle.kts index aa730bc3..54ca471a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -149,6 +149,11 @@ subprojects { } } + variantFilter { + ignore = name.startsWith("premium") && !project(":core") + .file("src/premium/golang/clash/go.mod").exists() + } + if (isApp) { this as AppExtension