File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -908,7 +908,10 @@ open class QontoGenerateProjectDataTask
908
908
909
909
</details >
910
910
911
- ## Step 7: Add version validation report with ` Problems ` API [ IN-PROGRESS]
911
+ ## Step 7: Add version validation report with ` Problems ` API ✅
912
+
913
+ <details >
914
+ <summary >Gradle documentation about the `Problems` API</summary >
912
915
913
916
Gradle has a ` Problems ` API that allows you to report problems. The docs can be found:
914
917
@@ -918,8 +921,10 @@ Gradle has a `Problems` API that allows you to report problems. The docs can be
918
921
It is very simple, the ` Problems ` interface is injected in any place you want to do a report, it can
919
922
be a plugin, a task, etc. Then you can use the ` reporting ` or ` throwing ` methods to report a
920
923
problem.
924
+ </details >
921
925
922
- In out case, we will use the ` Problems ` API in the ` QontoGenerateProjectDataTask ` .
926
+ <details >
927
+ <summary >Update the task `QontoGenerateProjectDataTask` to report an invalid version</summary >
923
928
924
929
``` kotlin
925
930
@@ -968,3 +973,5 @@ found in `gradle-workshop/build/reports/problems/problems-reports.html`.
968
973
969
974
The file is in the ` build ` root directory as it will summarize all the problems in the whole
970
975
project, that includes all Gradle projects.
976
+
977
+ </details >
You can’t perform that action at this time.
0 commit comments