android / android/codelab-android-datastore

Not working with gradle 8.9 version

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
240
Forks
113
PR merge metrics
No merged PRs in 30d

Description

I had to upgrade gradle to 8.9 because of my java version and I tried to compile the project. But I'm getting this error:
```
Could not create task ':app:compileDebugKotlin'.
Could not create task ':app:dataBindingGenBaseClassesDebug'.
Cannot use @TaskAction annotation on method DataBindingGenBaseClassesTask.writeBaseClasses() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.

```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported compilation failure with Gradle 8.9 and inspect the project's Gradle configuration and data binding task setup. Identify the compatibility change responsible for the IncrementalTaskInputs error, then verify that the project compiles successfully with the affected Java and Gradle versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.