- Auto-detect Java from Android Studio (JBR/JRE) or system PATH - Auto-detect Android SDK from common locations or local.properties - Auto-write SDK location to local.properties for Gradle - Add KAPT JVM args to gradle.properties for Java 17+ module access - Fix Java version command quoting for paths with spaces - Comment out DailyNotificationPlugin (Java class not implemented) Eliminates manual JAVA_HOME/ANDROID_HOME setup requirements and fixes KAPT compilation errors when using Java 17+. Author: Matthew Raymer
29 lines
918 B
Groovy
29 lines
918 B
Groovy
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
|
|
|
|
android {
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
|
|
dependencies {
|
|
implementation project(':capacitor-community-sqlite')
|
|
implementation project(':capacitor-mlkit-barcode-scanning')
|
|
implementation project(':capacitor-app')
|
|
implementation project(':capacitor-camera')
|
|
implementation project(':capacitor-clipboard')
|
|
implementation project(':capacitor-filesystem')
|
|
implementation project(':capacitor-share')
|
|
implementation project(':capacitor-status-bar')
|
|
implementation project(':capawesome-capacitor-file-picker')
|
|
implementation project(':timesafari-daily-notification-plugin')
|
|
|
|
}
|
|
|
|
|
|
if (hasProperty('postBuildExtras')) {
|
|
postBuildExtras()
|
|
}
|