Skip to content

Remove androidSourceSetLayoutVersion Gradle option#1199

Merged
twyatt merged 2 commits into
mainfrom
twyatt/androidSourceSetLayoutVersion
Jul 10, 2026
Merged

Remove androidSourceSetLayoutVersion Gradle option#1199
twyatt merged 2 commits into
mainfrom
twyatt/androidSourceSetLayoutVersion

Conversation

@twyatt

@twyatt twyatt commented Jul 9, 2026

Copy link
Copy Markdown
Member

The Android source layout is version 2 by default and this property was removed in Kotlin 2.0.0.

Example CI warnings:

w: ⚠️ Deprecated Gradle Property 'kotlin.mpp.androidSourceSetLayoutVersion' Used
The `kotlin.mpp.androidSourceSetLayoutVersion` deprecated property is used in your build.
Solutions:
 * It is unsupported, please stop using it.
 * Android Source Set Layout V2 is enabled by default and can't be changed. Leave your questions here https://youtrack.jetbrains.com/issue/KT-82265

Note

Low Risk
Sample-only Gradle config cleanup with no runtime or build-behavior change beyond silencing deprecation warnings.

Overview
Drops kotlin.mpp.androidSourceSetLayoutVersion=2 from samples/sensortag/gradle.properties.

That Gradle property is deprecated and unsupported in Kotlin 2.0+; Android source set layout v2 is already the default, so the line only triggered CI deprecation warnings.

Reviewed by Cursor Bugbot for commit 2741dbe. Configure here.

@twyatt twyatt added skip-changelog Excludes issue/PR from generated release change log. maintenance General maintenance that doesn't effect the public API. labels Jul 9, 2026
@twyatt twyatt marked this pull request as ready for review July 9, 2026 23:12
@twyatt twyatt requested a review from a team as a code owner July 9, 2026 23:12
@twyatt twyatt requested review from QuantumRand and sdonn3 July 9, 2026 23:12
@twyatt twyatt enabled auto-merge (squash) July 10, 2026 22:05
@twyatt twyatt merged commit 9fc9f87 into main Jul 10, 2026
9 checks passed
@twyatt twyatt deleted the twyatt/androidSourceSetLayoutVersion branch July 10, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance General maintenance that doesn't effect the public API. skip-changelog Excludes issue/PR from generated release change log.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants