Skip to content

Commit 3a25297

Browse files
author
MohitMaliFtechiz
committed
Fixed source file path in compileTestFile task
1 parent 9488ddd commit 3a25297

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ task testSourceJar(type: Jar) {
276276

277277
task compileTestFile(type: JavaCompile) {
278278
dependsOn testSourceJar
279-
source = fileTree('src/test/')
279+
source = file('src/test/test.java')
280280
destinationDirectory = file('src/test/')
281281
classpath = files("src/test/junit-4.13.jar" , "src/test/hamcrest-core-1.4.jar", "build/libs/test-sources.jar")
282282
}

0 commit comments

Comments
 (0)