1 Star 0 Fork 9

wuguojun/java-callgraph2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
publish.gradle 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
adrninistrator 提交于 2023-11-12 22:51 +08:00 . 1.0.16
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply from: 'build.gradle'
task sourcesJar(type: Jar) {
doFirst {
archiveClassifier.set('sources')
from sourceSets.main.allJava
}
}
publishing {
publications {
mavenJava1(MavenPublication) {
groupId project.group
artifactId project.name
version "${version}"
from components.java
artifact sourcesJar
pom {
name = "java-callgraph2"
description = "Programs for producing static call graphs for Java programs"
url = "https://github.com/Adrninistrator/java-callgraph2"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = "Adrninistrator"
name = "zhengyiee"
email = "zhengyiee@qq.com"
}
}
scm {
connection = "scm:git:https://github.com/Adrninistrator/java-callgraph2.git"
developerConnection = "scm:git:https://github.com/Adrninistrator/java-callgraph2.git"
url = "https://github.com/Adrninistrator/java-callgraph2"
}
}
}
}
repositories {
maven {
name 'sonatypeRepository'
url 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = "${NEXUS_USERNAME}"
password = "${NEXUS_PASSWORD}"
}
}
maven {
name = 'sonatypeSnapshotRepository'
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
credentials {
username = "${NEXUS_USERNAME}"
password = "${NEXUS_PASSWORD}"
}
}
}
}
signing {
sign publishing.publications.mavenJava1
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/wujing119/java-callgraph2.git
git@gitee.com:wujing119/java-callgraph2.git
wujing119
java-callgraph2
java-callgraph2
main

搜索帮助