diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 79c14ba..ec2010d 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -3,6 +3,7 @@ diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..376307e --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index e29944f..cf1b6b5 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -3,6 +3,8 @@ + + diff --git a/README.md b/README.md index 6292594..8ecae44 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/library/build.gradle b/library/build.gradle index 0f5400a..fdbb7ba 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -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' }