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

Address Gradle 9.0 - Deprecated features| Build failed #84

Open
Psycarlo opened this issue Dec 25, 2024 · 1 comment
Open

Address Gradle 9.0 - Deprecated features| Build failed #84

Psycarlo opened this issue Dec 25, 2024 · 1 comment

Comments

@Psycarlo
Copy link

Description

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bdk-rn:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

...

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

Environment

Android gradle plugin: 8.6.0
Gradle: 8.10.2

How to reproduce

  1. pnpm create expo-app
  2. pnpm add bdk-rn
  3. expo run:android
@Psycarlo
Copy link
Author

https://github.com/LtbLightning/bdk-rn/blob/main/android/src/main/java/io/ltbl/bdkrn/BdkRnModule.kt

node_modules/bdk-rn/android/src/main/java/io/ltbl/bdkrn/BdkRnModule.kt:449:47 Unresolved reference: getType

node_modules/bdk-rn/android/src/main/java/io/ltbl/bdkrn/BdkRnModule.kt:450:21 Comparison of incompatible enums '[Error type: Not found recorded type for addressIndex.getType()]' and 'ReadableType' is always unsuccessful

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

1 participant