chore(build): remove FeatureIsolationTask and simplify exception handling in build script
- Deleted `FeatureIsolationTask` for build script simplification and maintainability. - Replaced `_` with `e` in `Throwable` catch blocks to improve readability.
This commit is contained in:
+1
-1
@@ -233,7 +233,7 @@ tasks.register("archGuardNoFeatureToFeatureDeps") {
|
||||
val proj =
|
||||
try {
|
||||
dep.javaClass.getMethod("getDependencyProject").invoke(dep) as Project
|
||||
} catch (_: Throwable) {
|
||||
} catch (e: Throwable) {
|
||||
null
|
||||
}
|
||||
val target = proj?.path ?: ""
|
||||
|
||||
Reference in New Issue
Block a user