@@ -18,7 +18,6 @@ plugins {
1818 id ' java-conventions'
1919 id ' java-library'
2020 id ' com.gorylenko.gradle-git-properties' version " ${ gradleGitPropertiesVersion} "
21- id ' maven-publish'
2221 id " com.vanniktech.maven.publish"
2322}
2423
@@ -47,28 +46,35 @@ afterEvaluate {
4746}
4847
4948mavenPublishing {
50- coordinates(GROUP , " dingo-expr-common" , VERSION )
51- publishToMavenCentral()
52- }
53-
54- publishing {
55- publications {
56- common(MavenPublication ) {
57- artifactId = ' dingo-expr-common'
58- from components. java
59- pom {
60- name = ' dingo-expr-common'
61- description = ' Relational expression library of Dingo Expression.'
49+ coordinates(project. property(" GROUP" ) as String , " dingo-expr-common" , project. property(" VERSION" ) as String )
50+
51+ pom {
52+ name = " dingo-expr-common"
53+ description = " Relational expression library of Dingo Expression."
54+ url= " https://www.dingodb.com/"
55+
56+ licenses {
57+ license {
58+ name = " The Apache License, Version 2.0"
59+ url = " http://www.apache.org/licenses/LICENSE-2.0.txt"
6260 }
63- gradle. setPom(it)
61+ }
62+
63+ developers {
64+ developer {
65+ id = " dingodb"
66+ name = " DingoDB develop team"
67+ email = " dingodb@zetyun.com"
68+ }
69+ }
70+
71+ scm {
72+ connection = " scm:git:git://github.com/dingodb/dingo-expr.git"
73+ developerConnection = " scm:git:ssh://github.com/dingodb/dingo-expr.git"
74+ url = " https://github.com/dingodb/dingo-expr"
6475 }
6576 }
66-
67- repositories {
68- gradle. setCentralRepo(it, project)
69- }
70- }
71-
72- signing {
73- sign publishing. publications. common
74- }
77+
78+ publishToMavenCentral()
79+ signAllPublications()
80+ }
0 commit comments