apply plugin: 'com.android.library'
|
apply plugin: 'kotlin-android'
|
|
android {
|
namespace 'cc.shinichi.library'
|
compileSdkVersion 34
|
defaultConfig {
|
minSdkVersion 24
|
targetSdkVersion 33
|
multiDexEnabled true
|
}
|
buildTypes {
|
release {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
}
|
}
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_11
|
targetCompatibility JavaVersion.VERSION_11
|
}
|
}
|
|
dependencies {
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
compileOnly 'androidx.appcompat:appcompat:1.4.1'
|
compileOnly 'com.google.android.material:material:1.5.0'
|
compileOnly 'androidx.exifinterface:exifinterface:1.3.5'
|
compileOnly "androidx.core:core-ktx:1.6.0"
|
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.10"
|
|
// glide
|
compileOnly 'com.github.bumptech.glide:glide:4.16.0'
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
|
compileOnly 'com.github.bumptech.glide:okhttp3-integration:4.16.0'
|
compileOnly "com.github.zjupure:webpdecoder:2.3.4.14.2"
|
|
// ExoPlayer https://developer.android.com/media/media3/exoplayer/hello-world?hl=zh-cn#groovy
|
compileOnly "androidx.media3:media3-exoplayer:1.4.1"
|
compileOnly "androidx.media3:media3-exoplayer-dash:1.4.1"
|
compileOnly "androidx.media3:media3-ui:1.4.1"
|
}
|