build.gradle: unable to resolve class com.google.common.collect.ImmutableMap
- To: "debian-java@lists.debian.org" <debian-java@lists.debian.org>, Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>
- Subject: build.gradle: unable to resolve class com.google.common.collect.ImmutableMap
- From: Hans-Christoph Steiner <hans@at.or.at>
- Date: Fri, 23 Dec 2016 00:31:44 +0100
- Message-id: <[🔎] 7ff735db-5cf5-4941-22ac-e4b40c511f6f@at.or.at>
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
Reply to:
- Follow-Ups:
- Re: [Android-tools-devel] build.gradle: unable to resolve class com.google.common.collect.ImmutableMap
- From: 殷啟聰 <seamlikok@gmail.com>
- Re: [Android-tools-devel] build.gradle: unable to resolve class com.google.common.collect.ImmutableMap
- Prev by Date: Bug#849101: RM: libcommons-attributes-java -- ROM; Obsolete, no longer used
- Next by Date: Re: [Android-tools-devel] build.gradle: unable to resolve class com.google.common.collect.ImmutableMap
- Previous by thread: Bug#849101: RM: libcommons-attributes-java -- ROM; Obsolete, no longer used
- Next by thread: Re: [Android-tools-devel] build.gradle: unable to resolve class com.google.common.collect.ImmutableMap
- Index(es):