Dependencies between Gradle tasks

6 views
Skip to first unread message

Dirk Mahler

unread,
Aug 21, 2024, 1:03:18 PM8/21/24
to jqass...@googlegroups.com
Hi,

we're currently integration jQA into a customer project which uses
Gradle as build system and are therefore using the jQA Gradle Plugin
provided by Kontext-E
(https://github.com/kontext-e/jqassistant-gradle-plugin) Works really
nice - thanks for the great work!

In that context a usability question came up that I would like to
discuss here (before raising a feature request):

Would it make sense to add default dependencies between the provided
tasks such that running "report" triggers "analyze" and "scan" before? 

This would be quite convenient but from working with Maven I know that
being able to run analyze without scan is helpful for
developing/verifying rules as well. Maybe there could be separate
tasks?

Any opinions here?

Cheers

Dirk


--
Senior Consultant IT
-----------------------------------------------------------------
BUSCHMAIS GbR
Inhaber Torsten Busch, Frank Schwarz, Dirk Mahler, Tobias Israel
Adresse Leipziger Straße 93, 01127 Dresden
Telefon +49 351 320923-0
Mobil +49 177 3137411
Fax +49 351 320923-29
E-Mail dirk....@buschmais.com
Internet www.buschmais.de
-----------------------------------------------------------------

Gerd Aschemann

unread,
Aug 30, 2024, 8:53:02 AM8/30/24
to 'Gerd Aschemann' via jQAssistant
Hi Dirk,

I am not a frequent user of the Gradle plugin (though I appreciate to have this opportunity to integrate jQA with Gradle as well).

My personal daily usage very often separate the scan/analyse/report steps. I even run the latter frequently by resetting their results manually partly or completely back to the baseline of the scan step. Re-running (e.g., for testing my concepts) then allows for a way faster roundtrip. Therefore, I would not like to have an dependency which automatically triggers the precondition steps. In Gradle in particular, it is possible to specify your own tasks which would run the full cycle if desired.

This is just my opinion.
 
Regards
  Gerd


--
You received this message because you are subscribed to the Google Groups "jQAssistant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jqassistant...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jqassistant/6ea810a937e5e9de8c5f9b4197ff430c658d45a4.camel%40buschmais.com.

--
Gerd Aschemann --- Veröffentlichen heißt Verändern (Carmen Thomas)
+49/173/3264070 -- ge...@aschemann.net -- http://www.aschemann.net

Dirk Mahler

unread,
Sep 2, 2024, 4:45:19 PM9/2/24
to jqass...@googlegroups.com
Hi Gerd,

thanks for the feedback, it makes sense to me to keep things separate (and keeps them coherent with the Maven plugin and CLI).

Cheers from vacations in Istria

Dirk
Reply all
Reply to author
Forward
0 new messages