From 4d5380b40c8de4cbfd91ea7cd286079e45842809 Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Fri, 3 Apr 2026 10:07:13 +0100 Subject: [PATCH] Add android buil --- android/app/capacitor.build.gradle | 19 +++++++++++++++++++ android/capacitor.settings.gradle | 3 +++ capacitor.config.ts | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 android/app/capacitor.build.gradle create mode 100644 android/capacitor.settings.gradle diff --git a/android/app/capacitor.build.gradle b/android/app/capacitor.build.gradle new file mode 100644 index 0000000..bbfb44f --- /dev/null +++ b/android/app/capacitor.build.gradle @@ -0,0 +1,19 @@ +// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN + +android { + compileOptions { + sourceCompatibility JavaVersion.VERSION_21 + targetCompatibility JavaVersion.VERSION_21 + } +} + +apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle" +dependencies { + + +} + + +if (hasProperty('postBuildExtras')) { + postBuildExtras() +} diff --git a/android/capacitor.settings.gradle b/android/capacitor.settings.gradle new file mode 100644 index 0000000..9a5fa87 --- /dev/null +++ b/android/capacitor.settings.gradle @@ -0,0 +1,3 @@ +// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN +include ':capacitor-android' +project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor') diff --git a/capacitor.config.ts b/capacitor.config.ts index 75c2ed1..d928707 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -3,7 +3,7 @@ import type { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = { appId: 'com.mesc.beready', appName: 'BeReadyFrontend', - webDir: 'dist/BeReadyFrontend/brower', + webDir: 'dist/BeReadyFrontend/browser', }; export default config;