How Do I Pull Maven Test Jars Using Gradle?

后端 未结 1 894
迷失自我
迷失自我 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 , but classifier: 'tests' should work here (instead of type: ...).

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