AndroidViewAnimations icon indicating copy to clipboard operation
AndroidViewAnimations copied to clipboard

@aar is deprecated in gradle and will be removed in 2.0 which is released

Open Shusshu opened this issue 11 years ago • 8 comments

compile 'xxx:xx:1.0.0@aar' is deprecated in gradle and will be removed in 2.0 which is released

The pom you are generating should have a tag

<package>aar</package> 

Shusshu avatar Jul 05 '14 15:07 Shusshu

As you konw, I am using gradle-mvn-push made by chrisbanes. Do you mean that I should add the following code pom.package = aar to here. To be honest, I am not quiet familiar with gradle and maven.

daimajia avatar Jul 05 '14 15:07 daimajia

I'm not familiar how that plugin work. but yes an aar package needs to be in the pom.

so if that line works I'd go with that :)

Shusshu avatar Jul 05 '14 16:07 Shusshu

I'll have a try tomorrow, thanks your advise. :-D

daimajia avatar Jul 05 '14 16:07 daimajia

Is this solved?

kashban avatar Oct 10 '14 13:10 kashban

I think this can be closed. I'm seeing all the downloadable aar's on maven central.

screen shot 2015-05-04 at 16 51 39

robertoestivill avatar May 04 '15 19:05 robertoestivill

We can use bintray instead of maven central

in build.gradle just use compile 'com.daimajia.xxx:library:version' like my http library org.geminiwen.android.httpengine:library:1.10.0' :-D

bintray plugin example as follow https://github.com/bintray/bintray-examples

geminiwen avatar May 05 '15 02:05 geminiwen

@coffeesherk @robertoestivill @Shusshu This is actually not a very serious problem, remove aar suffix can avoid the annoying warning output. I'll try to fix it when next time I push it to maven center.

daimajia avatar May 05 '15 02:05 daimajia

@daimajia I get an error:

  • Failed to resolve: com.daimajia.easing:library:2.4@aar
  • Failed to resolve: com.daimajia.androidanimations:library:2.4@aar when using this library with new version catalog on gradle 7+

I think it's related to aar being deprecated, if I used it without version catalog it's working fine

image

JosephSanjaya avatar Sep 17 '21 00:09 JosephSanjaya