Refactor Kotlin for iOS commonality

This commit is contained in:
James Babcock committed 2026-09-22 19:55:08 -07:00
1 parent 587364e5e6
commit c3a0ba9f56
31 files changed
+2780 -964

No files matched your search

@@ -0,0 +1,8 @@
const { buildKotlin, checkAndroidRuntime } = require('../../scripts/kotlin-build.cjs');
module.exports = function (hookArgs) {
// NativeScript parses hooks with an older JavaScript parser; avoid optional chaining.
const { platform, release } = hookArgs.prepareData;
if (platform === 'android') checkAndroidRuntime();
return buildKotlin(platform, release ? 'release' : 'debug');
};