Reputation: 289
I used a task gradlew dependencies > file.txt
and I get a txt file with all my java project dependencies. But I only want to see runtime dependencies. Is there a configuration option for this.. I was not able to find it anywhere else.
Upvotes: 2
Views: 3430
Reputation: 12086
You can use option --configuration confName
to filter dependencies for a specific configuration:
./gradlew dependencies --configuration runtimeClasspath > file.txt
See documentation : here
Upvotes: 5