Skip to content

Commit 4f6bfc7

Browse files
committed
Comment out artifactory publishing block for now so as not to cause publishing from release branches to fail.
SVN r65268 |2020-03-23 18:31:10 +0000
1 parent d25e45e commit 4f6bfc7

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

java/build.gradle

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,19 +156,24 @@ project.afterEvaluate {
156156
}
157157
}
158158

159-
if (BuildUtils.shouldPublish(project))
160-
{
161-
project.artifactoryPublish {
162-
project.tasks.each {
163-
if (it instanceof Jar)
164-
{
165-
dependsOn it
166-
}
167-
}
168-
// dependsOn pomFileTask
169-
publications('libs')
170-
}
171-
}
159+
// Comment this out for now as we don't need to publish snapshot versions of the remoteapi jar file all the time since
160+
// we are referencing the release version in our builds and this code changes infrequently. Without a modification
161+
// to this file. this publishing fails when the LabKey version is a release version because the repository set for
162+
// publishing is a release repository, but the version set in this file will be a SNAPSHOT version. Could probalby be fixed
163+
// with some configuration work, but it will be easier once this is moved to its own git repository.
164+
// if (BuildUtils.shouldPublish(project))
165+
// {
166+
// project.artifactoryPublish {
167+
// project.tasks.each {
168+
// if (it instanceof Jar)
169+
// {
170+
// dependsOn it
171+
// }
172+
// }
173+
//// dependsOn pomFileTask
174+
// publications('libs')
175+
// }
176+
// }
172177

173178
}
174179
project.model {

0 commit comments

Comments
 (0)