apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { compileSdkVersion rootProject.compileSdkVersion buildToolsVersion rootProject.buildToolsVersion defaultConfig { minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation 'com.google.zxing:core:3.3.3' api fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation uiLibraries.fotoapparat implementation kotlinLibraries.kotlinStdlib }