We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2642541 commit 973e788Copy full SHA for 973e788
1 file changed
readme.md
@@ -34,6 +34,26 @@ class LocalApp : Application() {
34
}
35
```
36
37
-# ToDo
+# 依赖
38
39
-发布至 **mavenCentral** 以供项目 gradle 依赖
+项目的根目录下的 **build.gradle** 中添加 maven仓库(由于Jcenter已废,基本都有maven的默认仓库)
40
+
41
+```groovy
42
+buildscript {
43
44
+ repositories {
45
+ google()
46
+ mavenCentral() //增加 maven仓库
47
+ }
48
+}
49
+```
50
51
+再在 **app** 模块目录下的 **build.gradle** 文件中增加对本组件库的依赖
52
53
54
+dependencies {
55
+ implementation 'io.github.feer921:AndroidStartup:1.0'
56
57
58
59
+AS提示需要 同步工程,同步成功后,即依赖成功
0 commit comments