plugins { id 'com.android.application' } android { compileSdkVersion 30 buildToolsVersion "30.0.3" defaultConfig { applicationId "com.wfamedia.location3" minSdkVersion 26 targetSdkVersion 30 versionCode 1 versionName "1.0" 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' // Location m.m. implementation 'com.google.android.gms:play-services-location:18.0.0' // Room components implementation "androidx.room:room-runtime:2.2.6" annotationProcessor "androidx.room:room-compiler:2.2.6" androidTestImplementation "androidx.room:room-testing:2.2.6" // Room optional - RxJava support for Room implementation "androidx.room:room-rxjava2:2.2.6" // Room optional - Guava support for Room, including Optional and ListenableFuture implementation "androidx.room:room-guava:2.2.6" // Room optional - Test helpers testImplementation "androidx.room:room-testing:2.2.6" // Lifecycle components implementation "androidx.lifecycle:lifecycle-viewmodel:2.3.1" implementation "androidx.lifecycle:lifecycle-livedata:2.3.1" implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1" //Tillegg: implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.3.1" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1" implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.1" implementation "androidx.fragment:fragment-ktx:1.3.2" testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' }