Commit f993205f by zhengnw@sobot.com

picture 1.2.1

parent 203477ec
......@@ -299,7 +299,7 @@ public class MainActivity extends SobotBaseActivity {
if (!checkStoragePermission(4)) {
return;
}
openAlbum();
// openAlbum();
// selectPicFromLocal();
// preview();
......
......@@ -11,7 +11,8 @@
<ImageView
android:id="@+id/img"
android:layout_width="60dp"
android:layout_height="60dp" />
android:layout_height="60dp"
/>
<com.sobot.widget.image.photoview.SobotPhotoView
android:id="@+id/img2"
......
......@@ -34,7 +34,7 @@ dependencies {
api 'com.sobot.library:utils:1.1.3'
api 'com.sobot.library:picture_x:1.2.0'
api 'com.sobot.library:picture_x:1.2.1'
api 'com.sobot.library:net:1.2.8'
api 'com.sobot.library:gson:1.1.1'
}
......
......@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名
PUBLISH_VERSION = '2.2.0' //版本号
PUBLISH_VERSION = '2.2.1' //版本号
}
......
......@@ -80,7 +80,7 @@ Gradle窗口 --> sobot_pictureframe --> Tasks --> build --> publishing --> 点
3、 在使用4.9.0(包含4.9.0)以上版本的glide时,需额外添加依赖,之前的版本不需要
```
implementation 'com.sobot.chat:sobotsupport-glidev4:3.1'
implementation 'com.sobot.chat:sobotsupport-glidev4:3.2'
```
4、picasso不支持显示本地图片
......
......@@ -11,7 +11,7 @@ android {
//这里就是打jar包
task makeJar(type: Copy) {
//删除旧的jar包
delete 'build/libs/sobot_picture_1.1.4.jar'
delete 'build/libs/sobot_picture_1.2.1.jar'
//原地址
from('build/intermediates/packaged-classes/release/')
//导出jar包的地址
......@@ -19,7 +19,7 @@ android {
//包含的jar包
include('classes.jar')
//重命名jar包为mysdk
rename ('classes.jar', 'sobot_picture_1.1.4.jar')
rename ('classes.jar', 'sobot_picture_1.2.1.jar')
}
makeJar.dependsOn(build)
......@@ -32,7 +32,7 @@ dependencies {
compileOnly 'com.github.bumptech.glide:glide:3.8.0'
compileOnly 'com.squareup.picasso:picasso:2.8'
compileOnly 'com.facebook.fresco:fresco:2.6.0'
api 'com.sobot.chat:sobotsupport-glidev4:3.1'
api 'com.sobot.chat:sobotsupport-glidev4:3.3'
}
//添加发布到mavenCentral脚本
......
......@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'picture_x' //项目名
PUBLISH_VERSION = '1.2.0' //版本号
PUBLISH_VERSION = '1.2.1' //版本号
}
......
......@@ -26,7 +26,7 @@ dependencies {
compileOnly 'androidx.appcompat:appcompat:1.0.0'
compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
api 'com.sobot.library:utils:1.1.3'
api 'com.sobot.library:picture_x:1.2.0'
api 'com.sobot.library:picture_x:1.2.1'
}
......
......@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'widget_x' //项目名
PUBLISH_VERSION = '1.3.0' //版本号
PUBLISH_VERSION = '1.3.1' //版本号
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment