12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- android {
- compileSdkVersion 29
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 29
- versionCode 1
- versionName "1.0"
- multiDexEnabled true
- vectorDrawables.useSupportLibrary = true
- testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- lintOptions {
- checkReleaseBuilds false
- // Or, if you prefer, you can continue to check for errors in release builds,
- // but continue the build even when errors are found:
- abortOnError false
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = JavaVersion.VERSION_1_8.toString()
- }
- }
- dependencies {
- implementation 'androidx.appcompat:appcompat:1.2.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'io.paperdb:paperdb:2.6'
- //Runtime permissions
- implementation 'com.afollestad.assent:core:3.0.0-RC4'
- implementation 'com.android.support:design:29.0.0'
- implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
- }
- repositories {
- mavenCentral()
- }
|