my Java project has a dependency in Maven like this :
<dependency>
<groupId>com.dependency</groupId>
<artifactId>some-artifact</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
but when I write this in gradle, it does not recognize and I found no jar :
implementation 'com.dependency:some-artifact'
I wonder the reason is that I have to specify type
and scope
also, but I don't know what is the gradle equivalent to these two ?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…