bintray-release定义额外产品(四)
来源:互联网 发布:中超 球员数据 编辑:程序博客网 时间:2024/06/05 09:41
文章摘要:
1、配置与标准工件一起上传的额外工件
系列文章:
bintray-release使用指南(一)
bintray-release配置publish闭包(二)
bintray-release自定义Publication(三)
bintray-release定义额外产品(四)
bintray-release添加对Maven Central同步的支持(五)
与自定义工件类似,您可以定义将与标准artifacts一起发布的其他artifacts。
import com.novoda.gradle.release.*def fooJarPublish(String publicationName, Project project) { project.task(publicationName + 'FooJar', type: Jar) { classifier = 'foo' from sourceSets.main.output }}publish { ... dryRun = true publishing { publications { fooPublication(MavenPublication) { groupId project.publish.groupId artifactId project.publish.artifactId publishVersion project.publish.publishVersion Artifacts artifacts = new JavaArtifacts() (artifacts.all(it.name, project) + fooJarPublish(it.name, project)).each { delegate.artifact it } from artifacts.from(project) } } } publications = ['fooPublication']}
阅读全文
0 0
- bintray-release定义额外产品(四)
- bintray-release使用指南(一)
- bintray-release自定义Publication(三)
- bintray-release配置publish闭包(二)
- 使用bintray-release工具上传gradle项目至bintray.com
- bintray-release添加对Maven Central同步的支持(五)
- Android简单项目上传到jcenter(基于bintray-release),不涉及混淆等
- 利用bintray-release插件上传到jcenter
- #使用bintray-release 上传Jcenter 所踩过的坑#
- Plugin with id 'com.novoda.bintray-release' not found
- OFBiz + Opentaps 目录管理 四. 产品(一)定义产品 - Jason的个人空间 - 开源中国社区
- 利用bintray-release插件上传到Bintray- HTTP/1.1 404 Not Found [message:Repo 'maven' was not found]问题解决
- 利用bintray-release插件上传到Bintray- HTTP/1.1 404 Not Found [message:Repo 'maven' was not found]问题解决
- 产品经理定义需求优先级的四种方法
- 产品测试规范(四)
- 用产品思维设计API(四)——随意定义错误码,你还在这样干?
- Plugin with id 'com.novoda.bintray-release' not found的解决方法
- Plugin with id 'com.novoda.bintray-release' not found的解决方法
- bintray-release自定义Publication(三)
- 页面自动化之 selenium(一) 自动签到与签退
- 32.List的基本操作实战与基于模式匹配的List排序算法实现
- python装饰器
- Hadoop入门之集群高可用HA的搭建及原理图
- bintray-release定义额外产品(四)
- Linux终端Tab补全提示忽略大小写
- 经典最短路算法的原理启示
- HashSet
- bintray-release添加对Maven Central同步的支持(五)
- MySQL5.7.19安装及主从复制构架配置
- gdb gdb交叉编译
- Your account has been blocked
- bzoj1176 [Balkan2007]Mokia