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

Update plugin com.google.devtools.ksp to v1.9.22-1.0.18 BUILD FAILED #1772

Closed
fbu11 opened this issue Feb 29, 2024 · 9 comments
Closed

Update plugin com.google.devtools.ksp to v1.9.22-1.0.18 BUILD FAILED #1772

fbu11 opened this issue Feb 29, 2024 · 9 comments

Comments

@fbu11
Copy link

fbu11 commented Feb 29, 2024

Checking the license for package Android SDK Platform-Tools in /usr/local/lib/android/sdk/licenses
License for package Android SDK Platform-Tools accepted.
Preparing "Install Android SDK Platform-Tools v.35.0.0".
"Install Android SDK Platform-Tools v.35.0.0" ready.
Installing Android SDK Platform-Tools in /usr/local/lib/android/sdk/platform-tools
"Install Android SDK Platform-Tools v.35.0.0" complete.
"Install Android SDK Platform-Tools v.35.0.0" finished.

FAILURE: Build failed with an exception.

  • What went wrong:
    Circular dependency between the following tasks:
    :app:kaptDebugKotlin
    --- :app:kaptGenerateStubsDebugKotlin
    --- :app:kspDebugKotlin
    --- :app:kaptDebugKotlin (*)

(*) - details omitted (listed previously)

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 1m 34s

@ZacSweers
Copy link
Contributor

Here's a repro case ZacSweers/CatchUp#1292

@ZacSweers
Copy link
Contributor

Another repro: slackhq/circuit#1243

@fbu11
Copy link
Author

fbu11 commented Mar 1, 2024

get it

@fbu11 fbu11 closed this as completed Mar 1, 2024
@ZacSweers
Copy link
Contributor

Wat

@fbu11
Copy link
Author

fbu11 commented Mar 1, 2024

Wat
I deleted it
id("kotlin-kapt")

@steffandroid
Copy link

@fbu11 this is not a viable solution for projects which use KSP alongside KAPT. Please could you reopen, so we don't have to duplicate the issue?

@ZacSweers
Copy link
Contributor

Opened #1775 to replace this. Just removing kapt is not really a solution

@steffandroid
Copy link

Fixed by #1782, can now be closed @fbu11.

@neetopia
Copy link
Collaborator

neetopia commented Mar 7, 2024

Should be fixed in next release, closing for now.

@neetopia neetopia closed this as completed Mar 7, 2024
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

4 participants