diff artifactory70-github.gradle @ 359:77ca22c4a0b3

remove maven publications
author Marc Davis <marc.davis@mcoecn.org>
date Mon, 13 Nov 2023 10:29:55 -0500
parents 3a33f23a26db
children de8c350c511a
line wrap: on
line diff
--- a/artifactory70-github.gradle	Tue Sep 05 16:07:29 2023 -0400
+++ b/artifactory70-github.gradle	Mon Nov 13 10:29:55 2023 -0500
@@ -16,7 +16,6 @@
 allprojects {
     apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin
     apply plugin: 'ivy-publish'
-    apply plugin: 'maven-publish'
     apply plugin: 'java'
 
     afterEvaluate {
@@ -25,9 +24,6 @@
                 ivyJava(IvyPublication) {
                     from components.java
                 }
-                mavenJava(MavenPublication) {
-                    from components.java
-                }
             }
         }
     }
@@ -55,10 +51,10 @@
             }
         }
         defaults {
-            publications('ivyJava', 'mavenJava')
+            publications('ivyJava')
             publishBuildInfo = true
             publishArtifacts = true
-            publishPom = true
+            publishPom = false
             publishIvy = true
             properties = [ 'ssdt-branch.branchName': gradle.branchName.replaceAll('/','-'), 'ssdt-branch.branchStream': gradle.branchStream ]
         }