Repository navigation
Commit 7c1abbc
test-app: adopt built-in Kotlin on Android, opt out of the AGP 9 DSL
With React Native 0.87 the test app builds against AGP 9.2.1, where
built-in Kotlin is enabled by default. Nothing in the build needs the
Kotlin plugin any more: ReactAndroid dropped it upstream,
react-native-test-app's modules are gated on it, and react-native-node-api
now only applies it when built-in Kotlin is unavailable. So unlike the
React Native app template, we do not set `android.builtInKotlin=false`.
The new DSL is a different matter and stays opted out: both of
react-native-test-app's Gradle modules still use the old one, and that is
third-party code. AGP 10 removes this opt out, so it is tracked in #389
along with the upstream code that has to migrate first.
Also pins the Gradle wrapper at 9.4.1, which react-native-test-app rewrites
it to at run time for React Native >= 0.87 — pinning it ourselves keeps CI
from building with a dirty working tree.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 9d990a5 commit 7c1abbc
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments