// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.4.2' } } apply from: "variables.gradle" apply plugin: 'com.android.library' ext { compileSdkVersion = 33 minSdkVersion = 21 targetSdkVersion = 33 buildToolsVersion = '33.0.0' } android { namespace "com.timesafari.dailynotification" compileSdkVersion project.ext.compileSdkVersion buildToolsVersion project.ext.buildToolsVersion defaultConfig { minSdkVersion project.ext.minSdkVersion targetSdkVersion project.ext.targetSdkVersion versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } } allprojects { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" options.compilerArgs << "-Xlint:deprecation" } } repositories { google() mavenCentral() maven { url "https://jitpack.io" } maven { url "${project.rootDir}/capacitor-cordova-android-plugins/src/main/libs" } maven { url "${project.rootDir}/libs" } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation project(':capacitor-android') implementation project(':capacitor-cordova-android-plugins') implementation 'androidx.work:work-runtime:2.8.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' }