Skip to content

Commit

Permalink
docs: README
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Aug 11, 2023
1 parent ab87d5f commit d7aee7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
24 changes: 2 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,7 @@ Welcome to international translation of this project's documents/notes, thank yo

## 安装

添加远程仓库根据创建项目的 Android Studio 版本有所不同

Android Studio Arctic Fox以下创建的项目 在项目根目录的 build.gradle 添加仓库

```groovy
allprojects {
repositories {
// ...
maven { url 'https://jitpack.io' }
}
}
```

Android Studio Arctic Fox以上创建的项目 在项目根目录的 settings.gradle 添加仓库
Project 的 settings.gradle 添加仓库

```kotlin
dependencyResolutionManagement {
Expand All @@ -100,21 +87,14 @@ dependencyResolutionManagement {
}
```

然后在 module 的 build.gradle 添加依赖框架
Module 的 build.gradle 添加依赖框架

```groovy
dependencies {
implementation 'com.github.liangjingkanji:BRV:1.5.0'
}
```

项目根目录中 gradle.properties 添加

```
android.enableJetifier=true
android.useAndroidX=true
```

## License

```
Expand Down
4 changes: 3 additions & 1 deletion docs/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ code,
font-size: 14px !important;
}

.md-typeset .admonition-title, .md-typeset summary {
.highlight span.filename,
.md-typeset .admonition-title,
.md-typeset summary {
font-weight: normal;
}

0 comments on commit d7aee7d

Please sign in to comment.