123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- plugins {
- id 'com.android.application'
- }
- 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"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
- }
- }
- }
- 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'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- }
|