Skip to content

Commit

Permalink
add module doc
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Aug 5, 2024
1 parent 8525d2d commit b920bf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ADD-MODULE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
1. 在根项目“Kessoku-Lib”上`右键`,在右键菜单中选择`新建->模块`, 新建“package-common”,“package-fabric”,“package-neo”(`package`指的是模块名称);
2. 复制粘贴 [`gradle/example`](./gradle/example) 下的gradle脚本文件到各自所属模块(common复制common文件夹内的到`package-common`模块,fabric复制fabric文件夹内的到`package-fabric`,neo复制neo文件夹内的到`package-neo`);
3. 检查 settings.gradle是否添加了刚才的模块,没有添加即可;
4. 同步gradle
5. 如果要添加模块依赖请用`moduleImplementation(project("模块名-common"))`
6. 最后在fabric和neo添加include

0 comments on commit b920bf3

Please sign in to comment.