Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Commit 6403ee9

Browse files
committed
重新整理项目结构
1 parent 49f4df8 commit 6403ee9

File tree

148 files changed

+735
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+735
-168
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
.externalNativeBuild
1414
.cxx
1515
local.properties
16+
*.bkp

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "android-cnblogs-sdk"]
2+
path = android-cnblogs-sdk
3+
url = https://github.com/raedev/android-cnblogs-sdk
4+
branch = kotlin

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717

1818
博客园创立于2004年1月,是一个面向开发者的知识分享社区。自创建以来,博客园一直致力并专注于为开发者打造一个纯净的技术交流社区,推动并帮助开发者通过互联网分享知识,从而让更多开发者从中受益。博客园的使命是帮助开发者用代码改变世界。
1919

20-
## 应用介绍
20+
## 开发文档
21+
22+
如果你是一名开发者,请移步查看博客园的[架构设计文档](./Architecture.md)对框架有个整体的认识,并遵守本项目开源协议。
23+
24+
## 应用下载
2125

2226
![下载二维码](https://www.pgyer.com/app/qrcode/cnblogs)
2327

24-
*扫描二维码下载体验,或在各大应用市场下载*
28+
*扫描二维码下载体验,或在华为应用市场下载*
2529

2630
- 界面净白风格,专注阅读,给你极简体验
2731
- 首页定制技术栏目,关心你所关注的
@@ -34,6 +38,8 @@
3438
- 闪存,园友的“段子”圈
3539
- 自动离线缓存,没网也能刷
3640

41+
42+
3743
## APP界面
3844

3945
![首页](https://raeblog.com/wp-content/uploads/2020/08/2020081007415757.png)
@@ -42,11 +48,17 @@
4248
![专栏](https://raeblog.com/wp-content/uploads/2020/08/2020081007421093.png)
4349
![个人中心](https://raeblog.com/wp-content/uploads/2020/08/2020081007420824.jpg)
4450

45-
## 授权说明
51+
## 开源协议
4652

4753
![gplv3](https://www.gnu.org/graphics/gplv3-88x31.png)
4854

49-
请遵守[GPL](./LICENSE)授权协议,仅供个人学习使用,禁止商用!禁止二次开发发布! 若需要源码进行二次开发请联系作者授权。
55+
请认真阅读并遵守[GPL开源协议](./LICENSE)**本项目仅供个人学习使用,禁止商用!禁止二次发布同款应用到应用市场 ! **
56+
57+
特别重申,一经发现必追究责任。
58+
59+
- 禁止商用;
60+
- 禁止二次修改并发布;
61+
- 禁止发布同款应用到各大应用市场;
5062

5163
## 联系作者
5264

@@ -59,4 +71,9 @@
5971

6072
## 微信赞赏
6173

74+
热爱自己的热爱,不放弃自己的梦想。一路上的坚持,感谢有你们一直的鼓励与陪伴!
75+
6276
![微信赞赏](https://raeblog.com/wp-content/uploads/2021/09/QQ20210929-182849@2x.png)
77+
78+
79+

android-cnblogs-sdk

Submodule android-cnblogs-sdk added at e57244a

app/build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ plugins {
55

66
android {
77
namespace 'com.cnblogs.app'
8-
compileSdk 32
8+
compileSdk rootProject.compileSdk
99

1010
defaultConfig {
1111
applicationId "com.cnblogs.app"
12-
minSdk 21
13-
targetSdk 32
12+
minSdk rootProject.minSdk
13+
targetSdk rootProject.targetSdk
1414
versionCode 1
1515
versionName "1.0.0"
1616
}
@@ -31,10 +31,7 @@ android {
3131
}
3232

3333
dependencies {
34-
implementation 'androidx.core:core-ktx:1.8.0'
35-
implementation 'androidx.appcompat:appcompat:1.5.0'
36-
implementation 'com.google.android.material:material:1.5.0'
37-
34+
implementation project(':module:basic')
3835
implementation project(':module:home')
3936
implementation project(':module:moment')
4037
implementation project(':module:discover')

app/src/main/AndroidManifest.xml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,20 @@
44

55
<application
66
android:allowBackup="true"
7-
android:dataExtractionRules="@xml/data_extraction_rules"
8-
android:fullBackupContent="@xml/backup_rules"
97
android:icon="@mipmap/ic_launcher"
108
android:label="@string/app_name"
119
android:roundIcon="@mipmap/ic_launcher_round"
1210
android:supportsRtl="true"
1311
android:theme="@style/Theme.Cnblogs"
1412
tools:targetApi="31">
15-
<activity
16-
android:name=".MainActivity"
17-
android:exported="true">
18-
<intent-filter>
19-
<action android:name="android.intent.action.MAIN" />
20-
21-
<category android:name="android.intent.category.LAUNCHER" />
22-
</intent-filter>
23-
24-
<meta-data
25-
android:name="android.app.lib_name"
26-
android:value="" />
27-
</activity>
13+
<!-- <activity-->
14+
<!-- android:name=".MainActivity"-->
15+
<!-- android:exported="true">-->
16+
<!-- <intent-filter>-->
17+
<!-- <action android:name="android.intent.action.MAIN" />-->
18+
<!-- <category android:name="android.intent.category.LAUNCHER" />-->
19+
<!-- </intent-filter>-->
20+
<!-- </activity>-->
2821
</application>
2922

3023
</manifest>

app/src/main/java/com/cnblogs/app/MainActivity.kt

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)