Re: [android-developers] Re: gradle and libs

2013-02-21 Thread Xavier Ducrohet
Unlike the previous build system, the jars can be anywhere, as long as they are added to the "compile" dependency which you do seem to do here. They really don't have to be in libs/ You apply the android-library plugin but you seem to be building an application. Not sure how that can be working an

[android-developers] Re: gradle and libs

2013-02-20 Thread Daniel Rindt
You already have > > dependencies { > compile fileTree(dir: 'libs', include: '*.jar') > } > > you have to put all *.jar file inside the libs directory. If any *.jar > file outside of the libs folder wouldn't be compiled. > The documentation says that compile is only using the classes on com

[android-developers] Re: gradle and libs

2013-02-19 Thread Lew
bob wrote: > You say "lib" in one place and "libs" in another. Make sure you pick one > name and use it everywhere. > Where? I only see "libs" in the script. Surely you aren't referring to his informal language outside the script? That would be unhelpful. > Daniel Rindt wrote: >> >> my androi

[android-developers] Re: gradle and libs

2013-02-19 Thread Daniel Rindt
Am Dienstag, 19. Februar 2013 19:52:59 UTC+1 schrieb Jonathan S: > > You already have > > dependencies { > compile fileTree(dir: 'libs', include: '*.jar') > } > > you have to put all *.jar file inside the libs directory. If any *.jar > file outside of the libs folder wouldn't be compiled. >

[android-developers] Re: gradle and libs

2013-02-19 Thread Jonathan S
You already have dependencies { compile fileTree(dir: 'libs', include: '*.jar') } you have to put all *.jar file inside the libs directory. If any *.jar file outside of the libs folder wouldn't be compiled. On Tuesday, February 19, 2013 5:52:54 AM UTC-5, Daniel Rindt wrote: > > Hello, > >

[android-developers] Re: gradle and libs

2013-02-19 Thread Daniel Rindt
Am Dienstag, 19. Februar 2013 16:13:32 UTC+1 schrieb bob: > > You say "lib" in one place and "libs" in another. Make sure you pick one > name and use it everywhere. > a qualified answer would be much better than this answer to a totally clear situation what's meant! -- -- You received this me

[android-developers] Re: gradle and libs

2013-02-19 Thread bob
You say "lib" in one place and "libs" in another. Make sure you pick one name and use it everywhere. On Tuesday, February 19, 2013 4:52:54 AM UTC-6, Daniel Rindt wrote: > > Hello, > > my android lib makes use of some other libs which reside in /libs as usual > in android projects. My gradl