Hans-Christoph Steiner
unread,Dec 22, 2016, 6:40:02 PM12/22/16You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I'm trying to update the Android gradle plugin (java/groovy/gradle) to
the latest release in time for stretch. I already updated the dependent
lib android-platform-frameworks-data-binding to 2.2.2 and uploaded that.
Seamlik uploaded
android-platform-tools-analytics-library and this is already using that.
Now I'm stumped by a build.gradle that is importing a Java class from
libguava, but its not being found. This advanced gradle is a bit beyond
me. My work is all current in their respective git repos.
android-platform-tools-base:
import com.google.common.collect.ImmutableMap
apply plugin: 'java'
apply plugin: 'jacoco'
[snip]
Here's the stacktrace:
[snip]
Caused by:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
failed:
build file
'/export/share/code/android-tools/android-platform-tools-base/sdklib/build.gradle':
1: unable to resolve class com.google.common.collect.ImmutableMap
@ line 1, column 1.
import com.google.common.collect.ImmutableMap
^
1 error
at
org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileScript(DefaultScriptCompilationHandler.java:129)
... 96 more
BUILD FAILED