PeterStaev / nativescript-azure-mobile-apps

:cloud: NativeScript plugin for working with Microsoft Azure Mobile Apps services
Apache License 2.0
30 stars 10 forks source link

App Build fails after adding plugin #2

Closed georgeedwards closed 8 years ago

georgeedwards commented 8 years ago

I am running CLI & runtime versions 2.0.0. I added the plugin to my app and it stopped building successfully, with the error log:

:config phase:  pluginExtend
        +applying configuration from: C:\Users\George\Source\Repos\Personal-App\platforms\android\configurations\include.gradle
        +applying configuration from: C:\Users\George\Source\Repos\Personal-App\platforms\android\configurations\nativescript-azure-mobile-apps\include.gradle

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\George\Source\Repos\Personal-App\platforms\android\configurations\nativescript-azure-mobile-apps\include.gradle' line: 1

* What went wrong:
A problem occurred evaluating script.
> Could not find method dependencies() for arguments [include_1g5636p3r7spkdb1t4p3bdiz5$_run_closure2@4026461d] on com.android.build.gradle.AppExtension_Decorated@6f5e16cf.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

I found this issue in my own repo, where an include.gradle file wasn't set up properly, I think v2.0.0 enforced stricter requirements?

I'll take a look tomorrow if you don't get around to fixing this.

PeterStaev commented 8 years ago

Yes, i noted that error, but since there is no public info for 2.0 yet, i decided to fall back to 1.7 for now.