Skip to content

Commit 6cb7a89

Browse files
committed
Minor cleanup to publish
Ivy isn’t used by bintray or maven central. We don’t really need to publish it for our snapshots.
1 parent 4c479be commit 6cb7a89

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

gradle/publish.gradle

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ artifactory {
100100
}
101101
defaults {
102102
if (!isRoot) publishConfigs('archives')
103+
publishIvy = false // This isn't supported by bintray anyway.
103104
}
104105
}
105106
}
@@ -128,9 +129,7 @@ bintray {
128129
key = bintrayApiKey
129130
}
130131

131-
if (!isRoot) {
132-
configurations = ['archives']
133-
}
132+
if (!isRoot) configurations = ['archives']
134133

135134
// dryRun = true //[Default: false] Whether to run this as dry-run, without deploying
136135
publish = true //[Default: false] Whether version should be auto published after an upload
@@ -149,29 +148,6 @@ bintray {
149148

150149
githubRepo = 'datadog/dd-trace-java' //Optional Github repository
151150
githubReleaseNotesFile = 'README.md' //Optional Github readme file
152-
153-
// //Optional version descriptor
154-
// version {
155-
// name = '1.3-Final' //Bintray logical version name
156-
// desc = //Optional - Version-specific description'
157-
// released = //Optional - Date of the version release. 2 possible values: date in the format of 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ' OR a java.util.Date instance
158-
// vcsTag = '1.3.0'
159-
// attributes = ['gradle-plugin': 'com.use.less:com.use.less.gradle:gradle-useless-plugin']
160-
// //Optional version-level attributes
161-
// //Optional configuration for GPG signing
162-
// gpg {
163-
// sign = true //Determines whether to GPG sign the files. The default is false
164-
// passphrase = 'passphrase' //Optional. The passphrase for GPG signing'
165-
// }
166-
// //Optional configuration for Maven Central sync of the version
167-
// mavenCentralSync {
168-
// sync = true //[Default: true] Determines whether to sync the version to Maven Central.
169-
// user = 'userToken' //OSS user token: mandatory
170-
// password = 'paasword' //OSS user password: mandatory
171-
// close = '1'
172-
// //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
173-
// }
174-
// }
175151
}
176152
}
177153

0 commit comments

Comments
 (0)