File tree Expand file tree Collapse file tree 5 files changed +29
-26
lines changed Expand file tree Collapse file tree 5 files changed +29
-26
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,13 @@ For personal study use only.
13
13
14
14
一款以Google/casa-log为框架来学习Android基础的App,在学习其他优秀的三方库中进行集成开发。仅供个人学习使用。
15
15
16
- ## Topics List[ update here ]
16
+ ## Topics List
17
17
18
18
* [ AndroidRes] ( app-catalog/samples/androidres )
19
- * [ Foundation] ( app-catalog/samples/foundation )
20
- * [ ShadowLayout] ( app-catalog/samples/shadowlayout )
21
- * [ Titlebar] ( app-catalog/samples/titlebar )
22
- * [ Toaster] ( app-catalog/samples/toaster )
23
- * [ Xperimissions] ( app-catalog/samples/xpermissions )
24
- * [ Xplayer] ( app-catalog/samples/xplayer )
19
+ * [ wBasis] ( app-catalog/samples/wBasis )
20
+ * [ wNdk] ( app-catalog/samples/wNdk )
21
+ * [ wPermission] ( app-catalog/samples/wPermission )
22
+ * [ wPlayer] ( app-catalog/samples/wPlayer )
23
+ * [ wShadowLayout] ( app-catalog/samples/wShadowLayout )
24
+ * [ wTitlebar] ( app-catalog/samples/wTitlebar )
25
+ * [ wToaster] ( app-catalog/samples/wToaster )
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright 2022 Google LLC
3
- * Copyright 2023-2024 wintmain
3
+ * Copyright 2023-2025 wintmain
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
@@ -27,21 +27,24 @@ plugins {
27
27
28
28
android {
29
29
namespace ' com.wintmain.catalog.app'
30
- compileSdk 34
30
+ compileSdk 35
31
31
32
+ // target -> Platform that needs to be adapted; compileSdk above can be ignored
33
+ // Intuitive example, edge-to-edge starting from 35
32
34
defaultConfig {
33
35
applicationId " com.wintmain.catalog.app"
34
36
minSdk 26
35
37
targetSdk 34
36
- versionCode 20250101
37
- versionName ' V20250101 '
38
+ versionCode 20250601
39
+ versionName ' V20250601 '
38
40
39
41
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
40
42
}
41
43
42
44
buildTypes {
43
- release {
44
- minifyEnabled false
45
+ debug {
46
+ minifyEnabled true
47
+ shrinkResources true
45
48
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
46
49
}
47
50
}
@@ -92,7 +95,6 @@ dependencies {
92
95
androidTestImplementation libs. androidx. test. ext. junit
93
96
testImplementation libs. androidx. test. ext. junit
94
97
95
- // App中集成CodeLocator: https://github.com/bytedance/CodeLocator
96
- // 暂时禁用
97
- // debugImplementation libs.codelocator.core
98
+ // 暂时禁用 App中集成CodeLocator: https://github.com/bytedance/CodeLocator
99
+ // debugImplementation libs.codelocator.core
98
100
}
Original file line number Diff line number Diff line change 1
1
# Copyright 2022 Google LLC
2
- # Copyright 2023-2024 wintmain
2
+ # Copyright 2023-2025 wintmain
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ apply plugin: "com.google.devtools.ksp"
24
24
apply plugin : ' dagger.hilt.android.plugin'
25
25
26
26
android {
27
- compileSdk 34
27
+ compileSdk 35
28
28
29
29
defaultConfig {
30
30
minSdk 26
31
31
targetSdk 34
32
- versionCode 1
33
- versionName " 1.0"
34
32
}
35
33
36
34
compileOptions {
Original file line number Diff line number Diff line change @@ -24,12 +24,14 @@ include ':app-catalog:app'
24
24
// Dynamically include samples under /app-catalog/samples/ folder
25
25
def samples = []
26
26
// Find all build.gradle files under samples folder
27
- settingsDir. traverse(nameFilter : " build.gradle" ) {
28
- def path = it. parent. substring(rootDir. path. length())
29
- def separator = File . separator
30
- if (path. contains(" ${ separator} app-catalog${ separator} samples${ separator} " )) {
31
- // convert the module path into gradle module notation
32
- samples. add(path. replaceAll(Matcher . quoteReplacement(separator), " :" ))
27
+ settingsDir. traverse {
28
+ if (it. name == " build.gradle" || it. name == " build.gradle.kts" ) {
29
+ def path = it. parent. substring(rootDir. path. length())
30
+ def separator = File . separator
31
+ if (path. contains(" ${ separator} app-catalog${ separator} samples${ separator} " )) {
32
+ // convert the module path into gradle module notation
33
+ samples. add(path. replaceAll(Matcher . quoteReplacement(separator), " :" ))
34
+ }
33
35
}
34
36
}
35
37
// include all available samples and store it in the global variable.
You can’t perform that action at this time.
0 commit comments