12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- plugins {
- id 'com.android.application'
- id 'com.chaquo.python'
- }
- android {
- // legacy flags
- aaptOptions.cruncherEnabled = false
- aaptOptions.useNewCruncher = false
- compileSdkVersion 30
- defaultConfig {
- applicationId "com.noahvogt.miniprojekt"
- minSdkVersion 16
- targetSdkVersion 30
- versionCode 1
- versionName "1.0"
- ndk {
- abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
- }
- python {
- pip {
- //install "email"
- //install "imaplib"
- }
- buildPython "/usr/bin/python3.8"
- }
- packagingOptions {
- exclude 'META-INF/NOTICE.md'
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
- }
- }
- }
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- }
- dependencies {
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'com.google.android.material:material:1.3.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.navigation:navigation-fragment:2.3.5'
- implementation 'androidx.navigation:navigation-ui:2.3.5'
- /* Room components */
- implementation 'androidx.room:room-runtime:2.3.0'
- annotationProcessor 'androidx.room:room-compiler:2.3.0'
- androidTestImplementation 'androidx.room:room-testing:2.3.0'
- /* lifecycle components */
- implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
- implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
- implementation 'androidx.lifecycle:lifecycle-common-java8:2.3.1'
- implementation 'androidx.recyclerview:recyclerview:1.2.0'
- implementation 'androidx.preference:preference:1.1.1'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- }
|