|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdk 35
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk 24
|
|
|
|
|
targetSdk 35
|
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
namespace 'com.zhihu.matisse'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
// implementation "androidx.appcompat:appcompat:1.1.0"
|
|
|
|
|
// implementation "androidx.annotation:annotation:1.1.0"
|
|
|
|
|
// implementation "androidx.recyclerview:recyclerview:1.0.0"
|
|
|
|
|
// implementation 'it.sephiroth.android.library.imagezoom:library:1.0.4'
|
|
|
|
|
// compileOnly 'com.github.bumptech.glide:glide:4.9.0'
|
|
|
|
|
// compileOnly 'com.squareup.picasso:picasso:2.5.2'
|
|
|
|
|
implementation libs.appcompat.v110
|
|
|
|
|
implementation libs.annotation
|
|
|
|
|
implementation libs.androidx.recyclerview
|
|
|
|
|
//noinspection UseTomlInstead
|
|
|
|
|
implementation 'it.sephiroth.android.library.imagezoom:library:1.0.4'
|
|
|
|
|
compileOnly libs.glide
|
|
|
|
|
compileOnly libs.com.squareup.picasso.picasso
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//publish {
|
|
|
|
|
// userOrg = 'zhihu'
|
|
|
|
|
// groupId = 'com.zhihu.android'
|
|
|
|
|
// artifactId = 'matisse'
|
|
|
|
|
// publishVersion = '0.5.3-beta3'
|
|
|
|
|
// desc = 'A well-designed local image selector for Android'
|
|
|
|
|
// website = 'https://www.zhihu.com/'
|
|
|
|
|
//}
|