Author: fanningpj
Date: Mon Jun 19 01:50:57 2023
New Revision: 1910482

URL: http://svn.apache.org/viewvc?rev=1910482&view=rev
Log:
try to simplify buildinfo build

Modified:
    xmlbeans/trunk/build.gradle

Modified: xmlbeans/trunk/build.gradle
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1910482&r1=1910481&r2=1910482&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Mon Jun 19 01:50:57 2023
@@ -434,9 +434,6 @@ task writeBuildInfo(type: WritePropertie
 }
 
 jar.dependsOn 'writeBuildInfo'
-project.afterEvaluate {
-    tasks.findAll { it.name.startsWith('publish') 
}*.dependsOn('writeBuildInfo')
-}
 
 def buildInfoArtifact = artifacts.add('genresources', 
buildInfoFile.get().asFile) {
     type 'buildinfo'
@@ -560,16 +557,13 @@ distributions {
 
 publishing {
     publications {
-        maven(MavenPublication) {
-            artifact buildInfoArtifact
-            version XMLBeansVersion
-        }
         POI(MavenPublication) {
             groupId 'org.apache.xmlbeans'
             artifactId project.archivesBaseName
             version XMLBeansVersion
 
             from components.java
+            artifact buildInfoArtifact
 
             pom {
                 packaging = 'jar'



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to