diff --git a/README.md b/README.md
index 98947d0..e8e0f5c 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
# AutoFitTextView
-[](https://maven-badges.herokuapp.com/maven-central/me.grantland/autofittextview)
-
+Fork from grantland/android-autofitexttextview
A TextView that automatically resizes text to fit perfectly within its bounds.

@@ -11,49 +10,11 @@ A TextView that automatically resizes text to fit perfectly within its bounds.
```cson
dependencies {
- compile 'me.grantland:autofittextview:0.2.+'
+ implementation 'com.github.raquezha:android-autofittextview:0.2.2'
}
```
-Enable any View extending TextView in code:
-
-```java
-AutofitHelper.create(textView);
-```
-
-Enable any View extending TextView in XML:
-
-```xml
-
-
-
-```
-
-Use the built in Widget in code or XML:
-```xml
-
-```
-
+Updated to target version 28
## License
diff --git a/build.gradle b/build.gradle
index 794d5f6..bb13720 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,16 +2,24 @@
buildscript {
repositories {
mavenCentral()
+ google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.0.0'
+ classpath "com.android.tools.build:gradle:3.2.1"
}
}
ext {
- compileSdkVersion = 23
- buildToolsVersion = "23.0.3"
+ compileSdkVersion = 28
+ buildToolsVersion = "28.0.3"
minSdkVersion = 14
- targetSdkVersion = 23
+ targetSdkVersion = 28
}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 043790d..9e75ede 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
diff --git a/library/src/main/AndroidManifest.xml b/library/src/main/AndroidManifest.xml
index 16c8be7..5896b7b 100644
--- a/library/src/main/AndroidManifest.xml
+++ b/library/src/main/AndroidManifest.xml
@@ -1,6 +1,6 @@
+ android:versionCode="2"
+ android:versionName="1.2" >
\ No newline at end of file
diff --git a/sample/build.gradle b/sample/build.gradle
index bdd12da..e04976d 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'
dependencies {
- compile project (':library')
+ implementation project (':library')
}
android {