diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..41aac62
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,23 @@
+Change Log
+==========
+
+Version 1.2 *(2018-01-30)*
+----------------------------
+
+ * Bug fixes
+
+Version 1.1 *(2017-08-04)*
+----------------------------
+
+ * Bug fixes
+ * Now user can ask for `isBitmapEmpty()`
+ * Add bitmap to signature `setBitmap(bitmap)`
+
+Version 1.0 *(2017-09-21)*
+----------------------------
+
+ * Smooth signatures
+ * Auto handling of stroke thickness on the basis of velocity
+ * Get signature as bitmap
+ * Change stroke color and background color
+ * Enable/Disable signature on canvas
\ No newline at end of file
diff --git a/Readme.md b/Readme.md
index 252f0e0..a4c2692 100644
--- a/Readme.md
+++ b/Readme.md
@@ -35,14 +35,8 @@ Add the following to your `build.gradle`:
jcenter()
}
-~~repositories {
- maven {
- url 'https://dl.bintray.com/zahid/maven/'
- }
- }~~
-
dependencies {
- compile 'com.kyanogen.signatureview:signature-view:1.1@aar'
+ compile 'com.kyanogen.signatureview:signature-view:1.2'
}
#### 2.2 How to use view in xml layout
@@ -83,13 +77,17 @@ Add the following to your `build.gradle`:
Bitmap bitmap = signatureView.getSignatureBitmap();
-# 3. Developed by
+# 3. Changelog
+
+[Click here](CHANGELOG.md) for the changelog
+
+# 4. Developed by
Syed Zahid for Kyanogen
-# 4. License
+# 5. License
-Copyright 2015-2017 Kyanogen
+Copyright 2015-2018 Kyanogen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/SignatureView-Example/build.gradle b/SignatureView-Example/build.gradle
index 2cd4025..1466428 100644
--- a/SignatureView-Example/build.gradle
+++ b/SignatureView-Example/build.gradle
@@ -22,6 +22,6 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.0.2'
-// implementation project(":signature-view")
- implementation 'com.kyanogen.signatureview:signature-view:1.1@aar'
+ implementation project(":signature-view")
+// implementation 'com.kyanogen.signatureview:signature-view:1.2'
}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 5afbc0e..fae96ab 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,10 +1,6 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-
buildscript {
repositories {
- maven {
- url "https://maven.google.com"
- }
+ google()
maven {
url "https://plugins.gradle.org/m2/"
}
@@ -13,9 +9,6 @@ buildscript {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
}
}
@@ -23,6 +16,5 @@ allprojects {
repositories {
jcenter()
google()
- maven { url "https://jitpack.io" }
}
}
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 47c3984..3b876fd 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-4.3-rc-2-all.zip
\ No newline at end of file
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-all.zip
\ No newline at end of file