question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

6.0.2 -> 6.0.4: Not building project

See original GitHub issue

If you are submitting a bug, please include the following:

After updating the plug-in from version 6.0.2 to version 6.0.4, I get the following error, when I get drunk, build an android application:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Cannot change attributes of dependency configuration ':app:kapt' after it has been resolved

No more changes were made, and when rolled back to 6.0.2, everything is going to be fine.

  • Gradle 7.3.1, AGP 7.0.4
  • Updating 6.0.2 to 6.0.4
  • MacOS 12.0.1 (21A559)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nedtwiggcommented, Dec 9, 2021

Interesting! This seems similar to #1024, where a change in when Spotless resolves dependencies is trickling through to other tasks unrelated to Spotless…

0reactions
jbduncancommented, Sep 29, 2022

@LloydBlv @ininmm Try predeclaring your formatters in your root build file, as described in https://github.com/diffplug/spotless/tree/main/plugin-gradle#dependency-resolution-modes, and raise a new issue if you still have problems.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NETSDK1045: The current .NET SDK does not support 'newer ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >
VS2022 Preview 6.0 -- Downgrading a .NET 6.0 project to 5.0 ...
The project fails to build with error– error CS8773: Feature 'global using directive' is not available in C# 9.0. Please use language version...
Read more >
Building ASPNetCore 6.0 project: Microsoft packages not ...
I'm now trying to deploy it via a Jenkins build server. I first installed the .Net 6.0.2 SDK and ASP.NET Core Runtime 6.0.2...
Read more >
Support for the Upcoming .NET SDK 6.0
Fortunately, no harm has been done to my solution. Its projects all still know they are .NET 5.0, and a clean build of...
Read more >
KiCad 6.0.4 Release
If you are wondering why there was no "official" 6.0.3 release, there was a serious issue after 6.0.3 was tagged and some users...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found