From 3920f338f6898d2c20fa89abc06ae97b1fd3f2e5 Mon Sep 17 00:00:00 2001 From: kr328 Date: Sun, 21 Nov 2021 13:38:01 +0800 Subject: [PATCH] Chore: filter out premium build if unavailable --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) 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