This message was deleted.
# plugin-development
s
This message was deleted.
j
the api for dependency graph is
Gradle.taskGraph.requestedTasks
im looking for either a list of tasks requested or just the raw string command I could parse
g
gradle.startParameter.taskNames
should tell what tasks are requested
j
ah, thank you!
g
it's raw parameters iirc
you could look at
org.gradle.execution.DefaultTaskSelector
to see how gradle resolves which tasks to call even when you ran something like
gradle :sP:as
instead of
gradle :sub-project:assemble
.