apply plugin: 'com.android.library' android { namespace = "com.ttstd.iconloader" compileSdk = 36 // buildToolsVersion "36.0.0" defaultConfig { minSdk = 14 targetSdk = 36 versionCode = 1 versionName = "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'consumer-rules.pro' } buildTypes { zhanRuiDebug {} zhanRuiRelease {} CrosshatchDebug {} CrosshatchRelease {} debug {} release {} } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.3.1' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' //磁盘缓存 implementation 'com.jakewharton:disklrucache:2.0.2' }