Skip to content

Commit fcf2d9c

Browse files
author
zhujiang2
committed
Update lib version
1 parent a854872 commit fcf2d9c

File tree

8 files changed

+23
-18
lines changed

8 files changed

+23
-18
lines changed

.idea/misc.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ dependencies {
6262
implementation "androidx.compose.ui:ui:$compose_version"
6363
implementation "androidx.compose.material:material:$compose_version"
6464
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
65-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0-beta01'
66-
implementation 'androidx.activity:activity-compose:1.5.0-beta01'
65+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0-rc01'
66+
implementation 'androidx.activity:activity-compose:1.5.0-rc01'
6767
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
6868

6969
implementation project(path: ':network')
7070

7171
// navigation
72-
implementation "androidx.navigation:navigation-compose:2.5.0-beta01"
72+
implementation 'androidx.navigation:navigation-compose:2.5.0-rc01'
7373

7474
// 启动动画
7575
implementation 'androidx.core:core-splashscreen:1.0.0-rc01'

app/release/app-release.apk

103 Bytes
Binary file not shown.

app/release/output-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"type": "SINGLE",
1212
"filters": [],
1313
"attributes": [],
14-
"versionCode": 31,
15-
"versionName": "3.3.5",
14+
"versionCode": 32,
15+
"versionName": "3.3.7",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

config.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ ext {
33
compileSdkVersion : 32,
44
minSdkVersion : 25,
55
targetSdkVersion : 32,
6-
versionCode : 31,
7-
versionName : "3.3.5",
6+
versionCode : 32,
7+
versionName : "3.3.7",
88
testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner",
99
consumerProguardFiles : 'consumer-rules.pro',
1010
jvmTarget : '11',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri May 20 16:57:01 CST 2022
1+
#Tue Jun 14 10:36:37 CST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-2-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

utils/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies {
4848
implementation "androidx.compose.ui:ui:$compose_version"
4949
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
5050

51-
def accompanist_version = "0.24.9-beta"
51+
def accompanist_version = "0.24.10-beta"
5252
// Compose 权限
5353
api "com.google.accompanist:accompanist-permissions:$accompanist_version"
5454
// Navigation 动画

utils/src/main/java/com/zj/utils/view/BitmapFillet.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,6 @@ object BitmapFillet {
172172

173173
}
174174

175-
/**
176-
* 根据手机的分辨率从 px(像素) 的单位 转成为 dp
177-
*/
178-
private fun Context.px2dp(pxValue: Float): Int {
179-
val scale = resources.displayMetrics.density
180-
return (pxValue / scale + 0.5f).toInt()
181-
}
182-
183175
/**
184176
* 根据手机的分辨率从 dp 的单位 转成为 px(像素)
185177
*/

0 commit comments

Comments
 (0)