Skip to content

Investigate deprecated StartParameter.isConfigurationCacheRequested from Kotlin plugin (removed in Gradle 10.0) #27

Description

@Besi97

Deprecation Warning

StartParameter.isConfigurationCacheRequested was deprecated in Gradle 8.5 and now emits warnings. The replacement is BuildFeatures.configurationCache.requested.

Where

Emitted during configuration of plugins/gradle/example-client-kotlin. This warning originates from the Kotlin Gradle plugin (version 1.9.22), not from project build scripts directly.

Fix

Upgrade the Kotlin Gradle plugin to a version that no longer uses this deprecated API:

// plugins/gradle/example-client-kotlin/build.gradle
id "org.jetbrains.kotlin.jvm" version "1.9.22"  // current
// Consider upgrading to a newer Kotlin version

Removed in

Gradle 10.0

Resource

https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#deprecated_startparameter_is_configuration_cache_requested

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions