Skip to content

Commit

Permalink
Adding changelog, update readme anf update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
zahid-ali-shah committed Jan 30, 2018
1 parent fb9680e commit eaae980
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 22 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
18 changes: 8 additions & 10 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
<a href="https://www.linkedin.com/in/zahidsha/">Syed Zahid </a> for <a href="https://www.facebook.com/Kyanogen/">Kyanogen</a>


# 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.
Expand Down
4 changes: 2 additions & 2 deletions SignatureView-Example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
10 changes: 1 addition & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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/"
}
Expand All @@ -13,16 +9,12 @@ 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
}
}

allprojects {
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-all.zip

0 comments on commit eaae980

Please sign in to comment.