diff --git a/README.md b/README.md index 7ee4dac..f106255 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A backport of the [`SwitchPreference`](http://developer.android.com/reference/an This port works on Android 2.1+ (Eclair MR1 / level 7). -The current version of this library is `2.0.0`. +The current version of this library is `2.0.1`. IMPORTANT: UPDATE NOTICE --- @@ -40,7 +40,7 @@ repositories { (...) dependencies { - compile 'org.jraf:android-switch-backport:2.0.0' + compile 'org.jraf:android-switch-backport:2.0.1' } ``` diff --git a/library/build.gradle b/library/build.gradle index 4302834..e906c00 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'maven' group = 'org.jraf' ext.groupPath = group.replace('.', '/') ext.artifactId = 'android-switch-backport' -version = '2.0.0' +version = '2.0.1' android { @@ -77,11 +77,11 @@ android.libraryVariants.all { variant -> } // Use "gradle install" to deploy the aar to your local maven repository, as well as the javadoc and the source jars -//noinspection GroovyAssignabilityCheck +// noinspection GroovyAssignabilityCheck task install( - group: "install", - description: "Make the library, generate a source jar, generate a javadoc jar, and copy everything to the local maven repository", - dependsOn: ["assembleRelease", "uploadArchives", "jarReleaseSources", "jarReleaseJavadoc"]) << { + group: 'install', + description: 'Make the library, generate a source jar, generate a javadoc jar, and copy everything to the local maven repository', + dependsOn: ['assembleRelease', 'uploadArchives', 'jarReleaseSources', 'jarReleaseJavadoc']) << { // Copy the sources jar println("Copying " + buildDir.getPath() + "/libs/library-${version}-sources.jar" + " to " + "${repositories.mavenLocal().getUrl()}/${groupPath}/${artifactId}/${version}" + "/${artifactId}-${version}-sources.jar") copy {