Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: (94, 0) Declaring custom 'clean' task when using the standard Gradle lifecycle plugins is not allowed? Cannot resolve symbol MavenDeploy? #153

Closed
scheung38 opened this issue May 17, 2017 · 4 comments

Comments

@scheung38
Copy link

General information

  • SDK/Library version:
  • Environment: Sandbox
  • Android Version and Device:

Issue description

/braintree_android/build.gradle
Error: (94, 0) Declaring custom 'clean' task when using the standard Gradle lifecycle plugins is not allowed?

Cannot resolve symbol 'MavenDeployment'?

@quinnjn
Copy link
Contributor

quinnjn commented May 25, 2017

Thanks for the report. We'll take a look into this.

@quinnjn
Copy link
Contributor

quinnjn commented May 25, 2017

I do see a warning when using the gradle wrapper that the custom clean task is deprecated in Gradle 3.0. We'll work on fixing this.

$ ./gradlew tasks
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
Defining custom 'clean' task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0

I haven't ran into the other issue you mentioned. Can you provide us steps to reproduce the Cannot resolve symbol 'MavenDeployment'? error?

@febinmathew
Copy link

Check out this link. Everything is explained in it. Sure this will help !

@quinnjn
Copy link
Contributor

quinnjn commented Jun 7, 2017

@scheung38 We just published 2.5.4 which should take care of the clean task error.

Feel free to re-open this ticket with reproducing steps for your other issue: Cannot resolve symbol 'MavenDeployment'

@quinnjn quinnjn closed this as completed Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants