Skip to content

Commit 7fdcca1

Browse files
Finish
1 parent 8be96b7 commit 7fdcca1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,10 @@ open class QontoGenerateProjectDataTask
908908

909909
</details>
910910

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>
912915

913916
Gradle has a `Problems` API that allows you to report problems. The docs can be found:
914917

@@ -918,8 +921,10 @@ Gradle has a `Problems` API that allows you to report problems. The docs can be
918921
It is very simple, the `Problems` interface is injected in any place you want to do a report, it can
919922
be a plugin, a task, etc. Then you can use the `reporting` or `throwing` methods to report a
920923
problem.
924+
</details>
921925

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>
923928

924929
```kotlin
925930

@@ -968,3 +973,5 @@ found in `gradle-workshop/build/reports/problems/problems-reports.html`.
968973

969974
The file is in the `build` root directory as it will summarize all the problems in the whole
970975
project, that includes all Gradle projects.
976+
977+
</details>

0 commit comments

Comments
 (0)