1 Star 4 Fork 1

TS_OHOS / GSYRickText

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
upload.gradle 987 Bytes
一键复制 编辑 原始数据 按行查看 历史
蒋辉 提交于 2021-06-10 17:57 . Readme添加。
apply plugin: 'maven'
apply plugin: 'maven-publish'
def REMOTE_MAVEN_REPOSITORY_URL='https://s01.oss.sonatype.org/content/repositories/releases/' //远程Maven仓地址,固定的不需要改动
def MAVEN_USERNAME='rxmt' //远程Maven仓的用户名,固定的不需要改动
def MAVEN_PASSWORD='Tsohos123456**' //远程Maven仓的密码,固定的不需要改动
afterEvaluate { project ->
publishing {
publications {
mavenJava(MavenPublication) {
from components.release
group = rootProject.ext.DEFAULT_GROUP_ID
artifactId = rootProject.ext.DEFAULT_ARTIFACT_ID
version = rootProject.ext.DEFAULT_VERSION
}
}
repositories {
maven {
url = REMOTE_MAVEN_REPOSITORY_URL
credentials {
username MAVEN_USERNAME
password MAVEN_PASSWORD
}
}
}
}
}
1
https://gitee.com/ts_ohos/richtext_ohos.git
git@gitee.com:ts_ohos/richtext_ohos.git
ts_ohos
richtext_ohos
GSYRickText
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891