diff options
Diffstat (limited to 'android/app/build.gradle')
| -rw-r--r-- | android/app/build.gradle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle index 928f12d..3dc6caf 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -9,14 +9,14 @@ if (keystoreFile.exists()) keystoreProps.load(new FileInputStream(keystoreFile)) def signRelease = keystoreFile.exists() && System.getenv('COINOS_UNSIGNED') == null // The bundled shell carries the built web app as assets. It is copied from -// ../dist, which the web build produces first: HAL_NO_SW=1 bun run build +// ../dist, which the web build produces first: COINOS_NO_SW=1 bun run build // (the service worker is left out — inside the WebView the app is served // from these assets, and a worker would fetch the live site over it). tasks.register('copyWeb', Copy) { def dist = rootProject.file('../dist') // the repo root's dist, not the module's doFirst { if (!new File(dist, 'index.html').exists()) - throw new GradleException('build the web app first: HAL_NO_SW=1 bun run build (in the repo root)') + throw new GradleException('build the web app first: COINOS_NO_SW=1 bun run build (in the repo root)') } from(dist) { exclude '*.apk', 'standalone.html', 'sw.js', 'zmq-watcher.js' } into layout.buildDirectory.dir('www') |
