Skip to content

Commit

Permalink
Migrate to jitpack
Browse files Browse the repository at this point in the history
Signed-off-by: tiann <twsxtd@gmail.com>
  • Loading branch information
tiann committed Jul 24, 2021
1 parent 9bc252d commit cdf41d0
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,24 @@

## Usage

1. Add dependency to your project(jcenter):
1. Add it in your root build.gradle at the end of repositories(jitpack):

```gradle
implementation 'me.weishu:free_reflection:3.0.1'
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

2. Add one line to your `Application.attachBaseContext` :
2. Add dependency to your project(jcenter):

```gradle
implementation 'com.github.tiann:FreeReflection:3.1.0'
```

3. Add one line to your `Application.attachBaseContext` :

```java
@Override
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ publish {
userOrg = 'twsxtd'
groupId = 'me.weishu'
artifactId = 'free_reflection'
publishVersion = '3.0.2'
publishVersion = '3.1.0'
desc = 'Use Relection above Android P without any restriction'
website = 'https://github.com/tiann/FreeRelfection'
}

0 comments on commit cdf41d0

Please sign in to comment.