-
Notifications
You must be signed in to change notification settings - Fork 134
Description
When I try ./gradlew vcf2bam, it always reports an error
[ant:javac] /lustre/sdb/zhangyaoz/lyr/software/jvarkit/src/main/java/com/github/lindenb/jvarkit/tools/vcf2bam/VcfToBam.java:27: error: cannot access Cigar
[ant:javac] import htsjdk.samtools.Cigar;
[ant:javac] ^
[ant:javac] bad class file: /lustre/sdb/zhangyaoz/lyr/software/jvarkit/lib/com/github/samtools/htsjdk/4.0.1/htsjdk-4.0.1.jar(htsjdk/samtools/Cigar.class)
[ant:javac] class file has wrong version 61.0, should be 52.0
[ant:javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
Task :vcf2bam FAILED
FAILURE: Build failed with an exception.
-
Where:
Build file '/lustre/sdb/zhangyaoz/lyr/software/jvarkit/build.gradle' line: 731 -
What went wrong:
Execution failed for vcf2bam com.github.lindenb.jvarkit.tools.vcf2bam.VcfToBam.
Compile failed; see the compiler error output for details.
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 2s
1 actionable task: 1 executed