Commit 2e1442f
authored
Relax project-dir validation to not require .gradle/ (#13)
The .gradle/ directory only exists when Gradle writes
configuration-cache or other project-level state into the project root.
Builds invoked with -p (e.g. -p plugins, -p build-logic) place .gradle/
in the subdir instead, so requiring it at the project root causes save
and save-delta to fail for those cache keys. ProjectDirSources already
handles the missing .gradle/ case gracefully, so the validation just
needs to check the directory itself exists.1 parent 08b2158 commit 2e1442f
2 files changed
Lines changed: 14 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
865 | | - | |
| 865 | + | |
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
872 | 871 | | |
873 | 872 | | |
874 | 873 | | |
875 | 874 | | |
876 | 875 | | |
877 | | - | |
| 876 | + | |
878 | 877 | | |
879 | 878 | | |
880 | | - | |
| 879 | + | |
881 | 880 | | |
882 | | - | |
883 | | - | |
| 881 | + | |
| 882 | + | |
884 | 883 | | |
885 | 884 | | |
886 | 885 | | |
| |||
926 | 925 | | |
927 | 926 | | |
928 | 927 | | |
929 | | - | |
| 928 | + | |
930 | 929 | | |
931 | 930 | | |
932 | 931 | | |
933 | 932 | | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
| 933 | + | |
943 | 934 | | |
944 | 935 | | |
945 | 936 | | |
946 | 937 | | |
| 938 | + | |
947 | 939 | | |
948 | 940 | | |
949 | 941 | | |
950 | | - | |
| 942 | + | |
951 | 943 | | |
952 | | - | |
953 | | - | |
| 944 | + | |
| 945 | + | |
954 | 946 | | |
955 | 947 | | |
956 | 948 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
1048 | | - | |
1049 | | - | |
| 1048 | + | |
1050 | 1049 | | |
1051 | | - | |
| 1050 | + | |
1052 | 1051 | | |
1053 | 1052 | | |
1054 | | - | |
| 1053 | + | |
1055 | 1054 | | |
1056 | 1055 | | |
1057 | 1056 | | |
| |||
0 commit comments