Skip to content

Commit d1c2194

Browse files
author
MohitMaliFtechiz
committed
Fixed source file path in compileTestFile task
1 parent 3500f20 commit d1c2194

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/build.gradle

Lines changed: 2 additions & 2 deletions
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
}
@@ -312,7 +312,7 @@ task checkCurrentJavaVersion() {
312312
}
313313

314314

315-
task generateHeader(type: Exec) {
315+
task buildHeaders(type: Exec) {
316316
workingDir "${projectDir}/src/main/java/org/kiwix/"
317317
commandLine 'bash', '-c', "javac -h ${buildDir}/include/javah_generated/ -d ${projectDir}/src/test/java/ ${getLibzimFiles()} ${getLibkiwixFiles()}"
318318
}

0 commit comments

Comments
 (0)