src/*/resources not visible to clojureTest task

Create issue
Issue #15 resolved
Howard Lewis Ship created an issue

Reosource in src/main/resources and src/test/resources are not on the classpath when the clojureTest task is executing. My workaround:

clojureTest {
    testRoots.srcDir "src/main/resources"
    testRoots.srcDir "src/test/resources"
}

Comments (3)

  1. Howard Lewis Ship reporter

    A better workaround:

    clojureTest {
      classpath files("src/main/resources", "src/test/resources")
    }
    
  2. Log in to comment