apply plugin: 'com.android.library' android { compileSdkVersion 33 defaultConfig { minSdkVersion 15 targetSdkVersion 33 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } // Add a new configuration to hold your dependencies configurations { libConfig } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') //noinspection GradleCompatible implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.preference:preference:1.2.0' implementation 'com.google.android.material:material:1.8.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test:runner:1.5.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' }