12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion 28
- defaultConfig {
- applicationId "com.kdanmobile.testpdflib"
- minSdkVersion 15
- targetSdkVersion 27
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- flavorDimensions "abi"
- productFlavors {
- armabi {
- dimension "abi"
- ndk {
- abiFilters "armeabi"
- }
- }
- armabiv7a {
- dimension "abi"
- ndk {
- abiFilters "armeabi-v7a"
- }
- }
- x86 {
- dimension "abi"
- ndk {
- abiFilters "x86"
- }
- }
- }
- configurations.all {
- resolutionStrategy.force "androidx.lifecycle:lifecycle-extensions:2.0.0"
- }
- }
- dependencies {
- def koinVersion = "2.0.0"
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'androidx.appcompat:appcompat:1.0.2'
- implementation 'androidx.recyclerview:recyclerview:1.0.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- // Koin for Android
- implementation "org.koin:koin-android:$koinVersion"
- implementation "org.koin:koin-android-viewmodel:$koinVersion"
- implementation "org.koin:koin-java:$koinVersion"
- implementation project(':PDFReaderReaderModule')
- implementation project(':KdanBaseModule')
- }
- repositories {
- flatDir {
- dirs 'libs', '../PDFReaderReaderModule/libs'
- }
- }
|