You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							67 lines
						
					
					
						
							2.3 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							67 lines
						
					
					
						
							2.3 KiB
						
					
					
				
								apply plugin: 'com.android.library'
							 | 
						|
								
							 | 
						|
								android {
							 | 
						|
								    namespace "com.timesafari.dailynotification.plugin"
							 | 
						|
								    compileSdkVersion rootProject.ext.compileSdkVersion
							 | 
						|
								    
							 | 
						|
								    defaultConfig {
							 | 
						|
								        minSdkVersion rootProject.ext.minSdkVersion
							 | 
						|
								        targetSdkVersion rootProject.ext.targetSdkVersion
							 | 
						|
								
							 | 
						|
								        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
							 | 
						|
								        consumerProguardFiles "consumer-rules.pro"
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    buildTypes {
							 | 
						|
								        release {
							 | 
						|
								            minifyEnabled false
							 | 
						|
								            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
							 | 
						|
								        }
							 | 
						|
								        debug {
							 | 
						|
								            minifyEnabled false
							 | 
						|
								            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
							 | 
						|
								        }
							 | 
						|
								    }
							 | 
						|
								    
							 | 
						|
								    compileOptions {
							 | 
						|
								        sourceCompatibility JavaVersion.VERSION_1_8
							 | 
						|
								        targetCompatibility JavaVersion.VERSION_1_8
							 | 
						|
								    }
							 | 
						|
								    
							 | 
						|
								    // Disable test compilation - tests reference deprecated/removed code
							 | 
						|
								    // TODO: Rewrite tests to use modern AndroidX testing framework
							 | 
						|
								    testOptions {
							 | 
						|
								        unitTests.all {
							 | 
						|
								            enabled = false
							 | 
						|
								        }
							 | 
						|
								    }
							 | 
						|
								    
							 | 
						|
								    // Exclude test sources from compilation
							 | 
						|
								    sourceSets {
							 | 
						|
								        test {
							 | 
						|
								            java {
							 | 
						|
								                srcDirs = []  // Disable test source compilation
							 | 
						|
								            }
							 | 
						|
								        }
							 | 
						|
								    }
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								dependencies {
							 | 
						|
								    implementation project(':capacitor-android')
							 | 
						|
								    implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
							 | 
						|
								    implementation "androidx.room:room-runtime:2.6.1"
							 | 
						|
								    implementation "androidx.work:work-runtime-ktx:2.9.0"
							 | 
						|
								    implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3"
							 | 
						|
								    implementation "org.jetbrains.kotlin:kotlin-stdlib:1.9.10"
							 | 
						|
								    implementation "com.google.code.gson:gson:2.10.1"
							 | 
						|
								    implementation "androidx.core:core:1.12.0"
							 | 
						|
								    
							 | 
						|
								    annotationProcessor "androidx.room:room-compiler:2.6.1"
							 | 
						|
								    annotationProcessor project(':capacitor-android')
							 | 
						|
								    
							 | 
						|
								    // Temporarily disabled tests due to deprecated Android testing APIs
							 | 
						|
								    // TODO: Update test files to use modern AndroidX testing framework
							 | 
						|
								    // testImplementation "junit:junit:$junitVersion"
							 | 
						|
								    // androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
							 | 
						|
								    // androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
							 | 
						|
								}
							 | 
						|
								
							 |