I currently have "apply plugin: 'android-library'" in my build.gradle, 
which I guess is what is causing it to produce an .AAR.  What would I need 
to change to have gradle produce a plain Jar instead of an .AAR?

Also, is it still the case that Eclipse/ADT cannot consume .AAR libraries? 
 Or have things changed since the original post?

On Monday, July 22, 2013 10:32:25 AM UTC-7, Mark Murphy (a Commons Guy) 
wrote:
>
> Since you have no resources, why not compile a plain JAR (with or 
> without deploying it to a Maven repository)? 
>
> On Mon, Jul 22, 2013 at 1:19 PM, Traun Leyden 
> <[email protected]<javascript:>> 
> wrote: 
> > 
> > For the Couchbase Lite android library, I've moved everything over to be 
> > based on Android Studio + Gradle.  Now, lots of users are asking for 
> Eclipse 
> > support (big surprise). 
> > 
> > Pretty much all the dependencies are in the form of external maven 
> artifacts 
> > (.aar's): 
> > 
> > repositories { 
> >     mavenCentral() 
> >     maven { 
> >         url 
> > "http://maven.hq.couchbase.com/nexus/content/repositories/releases/"; 
> >     } 
> > } 
> > 
> > dependencies { 
> > 
> >     compile 'com.android.support:support-v4:13.0.+' 
> > 
> >     compile fileTree(dir: 'libs', include: 'td_collator_so.jar')  // 
> hack to 
> > add .so objects (bit.ly/17pUlJ1) 
> > 
> >     compile 'com.couchbase.cblite:CBLite:0.7.2' 
> >     compile 'com.couchbase.cblite:CBLiteEktorp:0.7.4' 
> >     compile 'com.couchbase.cblite:CBLiteJavascript:0.7.2' 
> > 
> > } 
> > 
> > 
> > is it possible to "port" this into something that Eclipse can handle? 
> > 
> > Which tools would be required here? I'm guessing 
> > m2eclipse-android-integration? 
> > 
> > Will it be able to handle .aar dependencies? 
> > 
> > Any gotchas to be aware of before trying this? 
> > 
> > 
> > 
> > -- 
> > 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] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>
>
> -- 
> Mark Murphy (a Commons Guy) 
> http://commonsware.com | http://github.com/commonsguy 
> http://commonsware.com/blog | http://twitter.com/commonsguy 
>
> In questi siti web puoi chiedere o rispondere a domande relative allo 
> sviluppo di applicazioni Android: http://www.andglobe.com 
>

-- 
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/groups/opt_out.

Reply via email to