Not working with gradle 8.9 version

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
Kotlin
Stars
240
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/codelab-android-datastore

All issues in android/codelab-android-datastore

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.