Arasthel/SwissKnife — pull request #7 by mariogarcia (2014-12-16 01:16:37+00:00)
Title: Android dsl

Hi guys:

I've been building the project using gradle in the command line, and I've noticed that some files in the project have your local configuration. I think those files shouldn't be included in order to allow any dev to build the project.

I also found a bad dependency reference in **android-dsl/build.gradle**. That project is pointing at **:androidapp:SwissKnife** instead of just **:SwissKnife** . I've changed it and now dependency is resolved as expected.

- compile project(':androidapp:SwissKnife')
+ compile project(':SwissKnife')

Next I removed the **.gradle/ dir**. Unless you tell me otherwise I think it makes no sense to keep that directory.

Last I would like to ask you something. Have you ever come across a classnotfoundexception during **gradle build** because it didn't find the class _*android/support/v4/widget/DrawerLayoutImpl*_

After all changes I had an error. It has to do with the fact that when executing **gradle build** after removing all **build/** directories. Once I had that error next time I built the project I never had that problem again.

In case you face same error (maybe when deploying on Travis) the following command line worked for me:

gradle generateDebugSources && gradle build

Anyway I've raised an issue in the groovy-gradle plugin in case Cedric Champeau can give me a tip about this problem (https://github.com/melix/groovy-android-gradle-plugin/issues/31).

I keep looking the new features, and are really great, domain classes 'ala' Grails, form handling/validation to say a few, I really like it, good work.