Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-kapt'
- apply plugin: 'com.android.library'
- android {
- compileSdk 31
- defaultConfig {
- minSdk 19
- targetSdk 31
- versionCode 1
- versionName "1.0"
- //applicationId = "com.example.ex"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- }
- repositories {
- mavenCentral()
- google()
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0"
- implementation "androidx.room:room-common:2.4.0"
- implementation 'androidx.room:room-runtime:2.2.6'
- }
Add Comment
Please, Sign In to add comment