2 Star 0 Fork 0

mirrors_yanzhenjie/CompatAlertDialog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
maven.gradle 2.41 KB
一键复制 编辑 原始数据 按行查看 历史
YanZhenjie 提交于 2017-04-27 20:57 . Update android support library.
apply plugin: rootProject.ext.plugins.maven
apply plugin: rootProject.ext.plugins.bintray
version = rootProject.ext.maven.version
def siteUrl = rootProject.ext.maven.siteUrl
def gitUrl = rootProject.ext.maven.gitUrl
group = rootProject.ext.maven.group
install {
repositories.mavenInstaller {
pom {
project {
packaging rootProject.ext.maven.packaging
name rootProject.ext.maven.name
description rootProject.ext.maven.description
url siteUrl
licenses {
license {
name rootProject.ext.maven.licenseName
url rootProject.ext.maven.licenseUrl
}
}
developers {
developer {
id rootProject.ext.maven.developerId
name rootProject.ext.maven.developerName
email rootProject.ext.maven.developerEmail
}
}
scm {
connection gitUrl
developerConnection gitUrl
url siteUrl
}
}
}
}
}
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}
task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
failOnError false
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
//noinspection GroovyAccessibility
from javadoc.destinationDir
}
artifacts {
archives javadocJar
archives sourcesJar
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
bintray {
user = rootProject.ext.maven.bintrayUser
key = properties.getProperty("bintray.apikey")
configurations = ['archives']
pkg {
repo = rootProject.ext.maven.bintrayRepo
name = rootProject.ext.maven.binrayLibrary
userOrg = rootProject.ext.maven.bintrayUser
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = [rootProject.ext.maven.bintrayLicense]
publish = true
version {
gpg {
sign = true
passphrase = properties.getProperty("bintray.gpg.password")
}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_yanzhenjie/CompatAlertDialog.git
git@gitee.com:mirrors_yanzhenjie/CompatAlertDialog.git
mirrors_yanzhenjie
CompatAlertDialog
CompatAlertDialog
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385