apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { compileSdkVersion 28 defaultConfig { minSdkVersion 14 targetSdkVersion 28 } compileOptions { kotlinOptions.freeCompilerArgs += ['-module-name', "com.opensource.svgaplayer"] } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } packagingOptions { exclude 'META-INF/ASL2.0' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/MANIFEST.MF' } } dependencies { implementation 'com.squareup.wire:wire-runtime:4.4.1' }