Hey,
I have a project that depends on a project that uses protobuf-java v2.4.1, but it appears Grails pulls in 2.3.0, which causes errors. I've added the following to BuildConfig.groovy.
inherits("global") {
excludes 'protobuf-java'
}
dependencies {
compile 'com.google.protobuf:protobuf-java:2.4.1'
}
Version 2.4.1 is downloaded, but 2.3.0 also gets downloaded (as one of the internal dependencies), and apparently that is the one being used, as I still have errors. Am I pulling in 2.4.1 and excluding other versions correctly here?
The error I get is:
java.lang.NoSuchFieldError: alwaysUseFieldBuilders
-- which, based on what I've found,
http://groups.google.com/group/akka-user/browse_thread/thread/1dd8ee033c6bb13c?pli=1appears to be related to versioning.