`androidCompileSdkExtension = "-"` silently becomes null, hiding the intended SDK extension level
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- kotlin
- Domain
- build-system
Research direction
Start with gradle/libs.versions.toml:6 and follow androidCompileSdkExtension into ConfigureKotlinAndroid.kt. Confirm how the placeholder is parsed and whether it is overridden elsewhere. Done means the catalog and consumer express an explicit SDK-extension intent without silently converting the value to null.
Written by the indexing model from the issue text.
Description
androidCompileSdkExtension = "-" silently becomes null, hiding the intended SDK extension level
Severity: Low
File: gradle/libs.versions.toml:6
The version catalog declares:
androidCompileSdkExtension = "-"
In ConfigureKotlinAndroid.kt this is consumed as:
compileSdkExtension = libs.versions.androidCompileSdkExtension.get().toIntOrNull()
"-".toIntOrNull() returns null, so compileSdkExtension is silently unset. This looks like a leftover placeholder from when the project targeted a specific extension level (e.g. "13" for Android 13 Tiramisu extension). It is never overridden anywhere, so the build silently uses no extension.
Why it matters
If a future AGP or platform release requires a specific SDK extension level for new APIs, the build will silently fall back to the base compileSdk rather than failing loudly. The "-" value communicates no intent — it should either be removed (letting the extension stay unset explicitly) or set to the actual desired value.
- Dominant language
- Kotlin
- Stars
- 402
- Forks
- 60
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 2
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wangzhishou/OneBox
-
[aw] Detection RunsOpenagentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 10/100
wangzhishou/OneBox#30 · 3 comments ·
-
自定义AI添加失败Openbug
Difficulty 3/5 1-2 days Newbie friendliness 40/100
wangzhishou/OneBox#29 · 1 comment ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
wangzhishou/OneBox#23 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 70/100
wangzhishou/OneBox#22 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 67/100
wangzhishou/OneBox#21 · 1 comment ·
All issues in wangzhishou/OneBox
Similar issues
-
go 🏃 testing 🧪
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
valkey-io/valkey-glide#7239 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ethereum-lists/chains#8788 ·
Maintainers usually reply within 1 day
-
unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
thunderbird/thunderbird-android#11654 · 2 comments ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tauri-apps/tauri#16173 ·
Maintainers usually reply within 2 days
-
feature
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day