From 8cee4553adb1c40c2ca50c66b21ce9fe8e19476f Mon Sep 17 00:00:00 2001 From: Balys Valentukevicius Date: Thu, 10 Jul 2014 19:22:32 +0300 Subject: [PATCH] Release 1.0.0 --- README.md | 8 +++++++- library/build.gradle | 6 ++++-- library/maven_push.gradle | 7 ++----- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2393311..3452748 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,13 @@ Morphing Android menu, back and dismiss buttons Including in your project ------------------------- -The library will **Soon** be available on Maven Central +The library is available on Maven Central + + dependencies { + compile 'com.balysv:material-menu:1.0.0' + } + + Usage ----- diff --git a/library/build.gradle b/library/build.gradle index be734c5..77c56a4 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -9,11 +9,13 @@ android { minSdkVersion 14 targetSdkVersion 19 versionCode 1 - versionName "1.0" + versionName "1.0.0" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } -} \ No newline at end of file +} + +apply from: './maven_push.gradle' \ No newline at end of file diff --git a/library/maven_push.gradle b/library/maven_push.gradle index 7582530..a54a493 100644 --- a/library/maven_push.gradle +++ b/library/maven_push.gradle @@ -17,12 +17,8 @@ apply plugin: 'maven' apply plugin: 'signing' -//def isReleaseBuild() { -// return version.contains("SNAPSHOT") == false -//} - def isReleaseBuild() { - return false + return version.contains("SNAPSHOT") == false } def getReleaseRepositoryUrl() { @@ -99,6 +95,7 @@ afterEvaluate { project -> task androidJavadocs(type: Javadoc) { source = android.sourceSets.main.java.source + classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) } task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {