Skip to content

Commit 653dab6

Browse files
committed
Temporarily disable the mockito builder for better build perf.
The mockito builder is only needed for NNBD code and the default behavior is for it to run on every `.dart` file and fully resolve each of those files, which is slow. **Disabling this builder should improve local and CI build times.**
1 parent 8b79808 commit 653dab6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
targets:
2+
$default:
3+
builders:
4+
# mockito's builder is expensive and is not needed until this package is
5+
# migrated to null-safety. At that point, it should be scoped only to
6+
# relevant files.
7+
mockito:mockBuilder:
8+
enabled: false

0 commit comments

Comments
 (0)