Commit f993205f by zhengnw@sobot.com

picture 1.2.1

parent 203477ec
...@@ -299,7 +299,7 @@ public class MainActivity extends SobotBaseActivity { ...@@ -299,7 +299,7 @@ public class MainActivity extends SobotBaseActivity {
if (!checkStoragePermission(4)) { if (!checkStoragePermission(4)) {
return; return;
} }
openAlbum(); // openAlbum();
// selectPicFromLocal(); // selectPicFromLocal();
// preview(); // preview();
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
<ImageView <ImageView
android:id="@+id/img" android:id="@+id/img"
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="60dp" /> android:layout_height="60dp"
/>
<com.sobot.widget.image.photoview.SobotPhotoView <com.sobot.widget.image.photoview.SobotPhotoView
android:id="@+id/img2" android:id="@+id/img2"
......
...@@ -34,7 +34,7 @@ dependencies { ...@@ -34,7 +34,7 @@ dependencies {
api 'com.sobot.library:utils:1.1.3' 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:net:1.2.8'
api 'com.sobot.library:gson:1.1.1' api 'com.sobot.library:gson:1.1.1'
} }
......
...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) { ...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext { ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名 PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名 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 --> 点 ...@@ -80,7 +80,7 @@ Gradle窗口 --> sobot_pictureframe --> Tasks --> build --> publishing --> 点
3、 在使用4.9.0(包含4.9.0)以上版本的glide时,需额外添加依赖,之前的版本不需要 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不支持显示本地图片 4、picasso不支持显示本地图片
......
...@@ -11,7 +11,7 @@ android { ...@@ -11,7 +11,7 @@ android {
//这里就是打jar包 //这里就是打jar包
task makeJar(type: Copy) { task makeJar(type: Copy) {
//删除旧的jar包 //删除旧的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/') from('build/intermediates/packaged-classes/release/')
//导出jar包的地址 //导出jar包的地址
...@@ -19,7 +19,7 @@ android { ...@@ -19,7 +19,7 @@ android {
//包含的jar包 //包含的jar包
include('classes.jar') include('classes.jar')
//重命名jar包为mysdk //重命名jar包为mysdk
rename ('classes.jar', 'sobot_picture_1.1.4.jar') rename ('classes.jar', 'sobot_picture_1.2.1.jar')
} }
makeJar.dependsOn(build) makeJar.dependsOn(build)
...@@ -32,7 +32,7 @@ dependencies { ...@@ -32,7 +32,7 @@ dependencies {
compileOnly 'com.github.bumptech.glide:glide:3.8.0' compileOnly 'com.github.bumptech.glide:glide:3.8.0'
compileOnly 'com.squareup.picasso:picasso:2.8' compileOnly 'com.squareup.picasso:picasso:2.8'
compileOnly 'com.facebook.fresco:fresco:2.6.0' 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脚本 //添加发布到mavenCentral脚本
......
...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) { ...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext { ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名 PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'picture_x' //项目名 PUBLISH_ARTIFACT_ID = 'picture_x' //项目名
PUBLISH_VERSION = '1.2.0' //版本号 PUBLISH_VERSION = '1.2.1' //版本号
} }
......
...@@ -26,7 +26,7 @@ dependencies { ...@@ -26,7 +26,7 @@ dependencies {
compileOnly 'androidx.appcompat:appcompat:1.0.0' compileOnly 'androidx.appcompat:appcompat:1.0.0'
compileOnly 'androidx.recyclerview:recyclerview:1.0.0' compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
api 'com.sobot.library:utils:1.1.3' 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) { ...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext { ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名 PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'widget_x' //项目名 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