Gradle Test Dependency

前端 未结 7 1629
一整个雨季
一整个雨季 2020-11-28 04:26

I have two projects, project A and Project B. Both are written in groovy and use gradle as their build system.

Project A requires project B. This holds for both th

相关标签:
7条回答
  • 2020-11-28 04:55

    For Gradle 1.5

    task testJar(type: Jar, dependsOn: testClasses) {
        from sourceSets.test.java
        classifier "tests"
    }
    
    0 讨论(0)
提交回复
热议问题