apply plugin: 'com.android.library' android { compileSdkVersion 28 lintOptions { abortOnError false } defaultConfig { minSdkVersion 14 targetSdkVersion 26 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main { res.srcDirs = [ 'src/main/res', 'src/main/res/layouts/fragment', 'src/main/res/layouts/calendar', 'src/main/res/layouts/progress-view', 'src/main/res/layouts/app-bar', 'src/main/res/layouts' ] } } buildToolsVersion '28.0.3' } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.google.android.material:material:1.0.0' implementation 'com.google.code.gson:gson:+' implementation 'com.squareup.picasso:picasso:+' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.0.0' testImplementation 'junit:junit:4.12' }