When trying to compile code that use google-cloud-nio, we get this error at compile time:
class file for com.google.auto.service.AutoService not found
Here's for example what happens with the GATK code once updated to the latest google-cloud:
$ ./gradlew clean compileJava
:clean
:compileJava
/usr/local/google/home/jpmartin/.m2/repository/com/google/cloud/google-cloud-nio/0.20.2-alpha-SNAPSHOT/google-cloud-nio-0.20.2-alpha-SNAPSHOT-shaded.jar(com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found
error: warnings found and -Werror specified
1 error
1 warning
:compileJava FAILED
When trying to compile code that use google-cloud-nio, we get this error at compile time:
Here's for example what happens with the GATK code once updated to the latest google-cloud: