Mercurial > public > develkit
comparison 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 |
comparison
equal
deleted
inserted
replaced
358:3a33f23a26db | 359:77ca22c4a0b3 |
---|---|
14 //apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryConfigurationsPlugin | 14 //apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryConfigurationsPlugin |
15 | 15 |
16 allprojects { | 16 allprojects { |
17 apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin | 17 apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin |
18 apply plugin: 'ivy-publish' | 18 apply plugin: 'ivy-publish' |
19 apply plugin: 'maven-publish' | |
20 apply plugin: 'java' | 19 apply plugin: 'java' |
21 | 20 |
22 afterEvaluate { | 21 afterEvaluate { |
23 publishing { | 22 publishing { |
24 publications { | 23 publications { |
25 ivyJava(IvyPublication) { | 24 ivyJava(IvyPublication) { |
26 from components.java | |
27 } | |
28 mavenJava(MavenPublication) { | |
29 from components.java | 25 from components.java |
30 } | 26 } |
31 } | 27 } |
32 } | 28 } |
33 } | 29 } |
53 mavenCompatible = true | 49 mavenCompatible = true |
54 } | 50 } |
55 } | 51 } |
56 } | 52 } |
57 defaults { | 53 defaults { |
58 publications('ivyJava', 'mavenJava') | 54 publications('ivyJava') |
59 publishBuildInfo = true | 55 publishBuildInfo = true |
60 publishArtifacts = true | 56 publishArtifacts = true |
61 publishPom = true | 57 publishPom = false |
62 publishIvy = true | 58 publishIvy = true |
63 properties = [ 'ssdt-branch.branchName': gradle.branchName.replaceAll('/','-'), 'ssdt-branch.branchStream': gradle.branchStream ] | 59 properties = [ 'ssdt-branch.branchName': gradle.branchName.replaceAll('/','-'), 'ssdt-branch.branchStream': gradle.branchStream ] |
64 } | 60 } |
65 } | 61 } |
66 } | 62 } |