diff --git a/README-CN.md b/README-CN.md index 12bdbf2..a0194fb 100644 --- a/README-CN.md +++ b/README-CN.md @@ -23,6 +23,7 @@ McImage是无侵入式的全量压缩资源图片插件 ### Release Success! 1.0.1版本现在支持全版本的build.gradle脚本! +最近版本已经支持mavenCentral() ### Feature @@ -61,7 +62,7 @@ PS:目前我司项目正在使用此仓库进行压缩 ```groovy buildscript { repositories { - jcenter() + mavenCentral() } dependencies { classpath 'com.smallsoho.mobcase:McImage:1.5.1' diff --git a/README.md b/README.md index 10e8c6d..f3d62f7 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Used algorithm ### Release Success! The version 1.0.1 now support all build.gradle version! +Already support mavenCentral. ### Feature @@ -60,7 +61,7 @@ The first, add the plugin in your project root build.gradle. ```groovy buildscript { repositories { - jcenter() + mavenCentral() } dependencies { classpath 'com.smallsoho.mobcase:McImage:1.5.1' diff --git a/publish.gradle b/publish.gradle index ca737f7..b690d8f 100644 --- a/publish.gradle +++ b/publish.gradle @@ -2,7 +2,7 @@ apply plugin: 'maven' apply plugin: 'signing' def DEBUG = false -def VERSION = '1.5.0-SNAPSHOT' +def VERSION = '1.5.1' def GROUP = 'com.smallsoho.mobcase' def ARTIFACT = 'McImage' @@ -44,6 +44,32 @@ uploadArchives { groupId = GROUP artifactId = ARTIFACT version = VERSION + project { + name = "McImage" + packaging = "aar" + description = "McImage is a Non-invasive plugin for compress all res in your project." + url = "https://github.com/smallSohoSolo/McImage" + + scm { + connection "https://github.com/smallSohoSolo/McImage" + developerConnection "https://github.com/smallSohoSolo/McImage" + url "https://github.com/smallSohoSolo/McImage" + } + + licenses { + license { + name "Apache-2.0 License" + url "https://github.com/smallSohoSolo/McImage/blob/master/LICENSE" + distribution "A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code." + } + } + developers { + developer { + id "smallSohoSolo" + name "smallSohosolo" + } + } + } } } }