2022-02-25 00:51:40 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
defaultConfig {
|
2022-05-26 23:12:01 +00:00
|
|
|
applicationId "com.Frontesque.vuetube"
|
2022-02-25 00:51:40 +00:00
|
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
|
|
versionCode 1
|
2022-08-07 05:18:10 +00:00
|
|
|
versionName "0.4.1"
|
2022-02-25 00:51:40 +00:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
aaptOptions {
|
|
|
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
|
|
|
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
|
|
|
|
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
flatDir{
|
|
|
|
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
|
|
implementation project(':capacitor-android')
|
|
|
|
testImplementation "junit:junit:$junitVersion"
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
|
|
implementation project(':capacitor-cordova-android-plugins')
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: 'capacitor.build.gradle'
|
|
|
|
|
|
|
|
try {
|
|
|
|
def servicesJSON = file('google-services.json')
|
|
|
|
if (servicesJSON.text) {
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
|
}
|
|
|
|
} catch(Exception e) {
|
|
|
|
logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work")
|
|
|
|
}
|