Can anyone confirm if this is a bug or the expected behaviour?

On Thursday, July 24, 2014 5:28:40 PM UTC-6, Prateek Srivastava wrote:
>
> When trying to add a dependency on an artifact that has an aar packaging:
>
> dependencies {
>>   repositories { maven { url '
>> https://oss.sonatype.org/content/repositories/snapshots/' } }
>>   compile('io.segment.analytics.android:core:1.3.2-SNAPSHOT')
>> }
>
>
> But I get an error:
>
>>  'Error:Artifact 
>> 'io.segment.analytics.android:core:1.3.2-SNAPSHOT:core.jar' not found.'
>
>
> I made sure that the packaging was correctly specified as `aar` in the pom 
> (
> https://oss.sonatype.org/content/repositories/snapshots/io/segment/analytics/android/core/1.3.2-SNAPSHOT/core-1.3.2-20140724.221234-1.pom
> )
>
> Of course, using 
> `compile('io.segment.analytics.android:core:1.3.2-SNAPSHOT@aar')` solves 
> the issue, but shouldn't the first one work as well?
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to