diff --git a/README-en.md b/README-en.md index bb30a50..48568ff 100644 --- a/README-en.md +++ b/README-en.md @@ -16,7 +16,7 @@ it will be added to the layout. add the dependency to your build.gradle: ```groovy - compile 'com.github.nukc.stateview:library:1.0.0' + compile 'com.github.nukc.stateview:library:1.0.1' ``` ##Usage diff --git a/README.md b/README.md index a2ab42d..a1f5123 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ StateView 一个轻量级的控件, 继承自 `View`, 吸收了 `ViewStub` 的 ```groovy - compile 'com.github.nukc.stateview:library:1.0.0' + compile 'com.github.nukc.stateview:library:1.0.1' ``` ## 使用方法 diff --git a/bintray.gradle b/bintray.gradle index dd8bd0b..d51d224 100644 --- a/bintray.gradle +++ b/bintray.gradle @@ -4,7 +4,8 @@ apply plugin: 'com.jfrog.bintray' def siteUrl = 'https://github.com/nukc/StateView' // 项目的主页 def gitUrl = 'https://github.com/nukc/StateView.git' // Git仓库的url -group = "com.github.nukc.stateview" // Maven Group ID for the artifact,一般填你唯一的包名 +group = "com.github.nukc.stateview" +version = "1.0.1" install { repositories.mavenInstaller { @@ -39,9 +40,6 @@ install { } } -// This is the library version used when deploying the artifact -version = "1.0.1" - task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs classifier = 'sources' @@ -65,7 +63,7 @@ artifacts { Properties properties = new Properties() boolean isHasFile = false -if (project.rootProject.findProject('local.properties') != null){ +if (project.rootProject.file("local.properties") != null){ isHasFile = true properties.load(project.rootProject.file('local.properties').newDataInputStream()) } diff --git a/build.gradle b/build.gradle index 88446ab..48f1d7a 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' 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