Skip to content

Commit a650959

Browse files
committed
oklibrary删除不用的资源,日常升级gradle版本,升级3.4.7
1 parent c5de191 commit a650959

File tree

20 files changed

+9
-231
lines changed

20 files changed

+9
-231
lines changed

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313

1414
<Button
15+
android:layout_marginTop="80dp"
1516
android:id="@+id/btn_download"
1617
android:layout_width="wrap_content"
1718
android:layout_height="wrap_content"

app/src/main/res/values/themes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33

4-
<style name="Theme.OkSimple" parent="android:Theme.Material.Light.NoActionBar" />
4+
<style name="Theme.OkSimple" parent="Theme.AppCompat.DayNight.NoActionBar" />
55
</resources>

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "8.12.0"
2+
agp = "8.12.1"
33
appcompat = "1.7.0"
44
glide = "4.16.0"
55
gson = "2.13.1"
@@ -9,7 +9,7 @@ coreKtx = "1.13.1"
99
junit = "4.13.2"
1010
junitVersion = "1.2.1"
1111
espressoCore = "3.6.1"
12-
lifecycleRuntimeKtx = "2.8.3"
12+
lifecycleRuntimeKtx = "2.8.4"
1313
activityCompose = "1.8.2"
1414
composeBom = "2024.09.00"
1515
materialVersion = "1.12.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Feb 25 12:44:58 CST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

oklibrary/build.gradle.kts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,12 @@ dependencies {
5353

5454
implementation(libs.androidx.core.ktx)
5555
implementation(libs.androidx.lifecycle.runtime.ktx)
56-
implementation(libs.androidx.activity.compose)
57-
implementation(platform(libs.androidx.compose.bom))
56+
5857
api (libs.okhttp.module)
5958

6059
testImplementation(libs.junit)
6160
androidTestImplementation(libs.androidx.junit)
62-
androidTestImplementation(libs.androidx.espresso.core)
63-
androidTestImplementation(platform(libs.androidx.compose.bom))
64-
androidTestImplementation(libs.androidx.ui.test.junit4)
65-
debugImplementation(libs.androidx.ui.tooling)
66-
debugImplementation(libs.androidx.ui.test.manifest)
61+
6762

6863
}
6964

@@ -73,7 +68,7 @@ publishing { // 发布配置
7368
register<MavenPublication>("release") { // 注册一个名字为 release 的发布内容
7469
groupId = "com.gateoftruth.library"
7570
artifactId = "OkSimple"
76-
version = "3.4.6"
71+
version = "3.4.7"
7772

7873
afterEvaluate { // 在所有的配置都完成之后执行
7974
// 从当前 module 的 release 包中发布

oklibrary/src/main/res/drawable-v24/ic_launcher_foreground.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

oklibrary/src/main/res/drawable/ic_launcher_background.xml

Lines changed: 0 additions & 170 deletions
This file was deleted.

oklibrary/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

oklibrary/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.
-1.37 KB
Binary file not shown.

0 commit comments

Comments
 (0)