How Do I Pull Maven Test Jars Using Gradle?

后端 未结 1 877
迷失自我
迷失自我 2020-12-31 02:06

In maven I can specify a \"type\" for dependency resolution. I am trying to pull down a tests.jar. How can I do this using Gradle?

I have tried using t

相关标签:
1条回答
  • 2020-12-31 02:27

    Gradle doesn't have a direct equivalent of Maven's <type>, but classifier: 'tests' should work here (instead of type: ...).

    0 讨论(0)
提交回复
热议问题