@@ -18,14 +18,6 @@ buildscript {
18
18
}
19
19
dependencies {
20
20
classpath " org.labkey.build:gradlePlugins:${ gradlePluginsVersion} "
21
- // N.B. We use the "old-fashioned" way of applying the artifactory plugin because if we use
22
- // the plugins block below and specify a version number, the following error happens if building
23
- // in conjunction with LabKey server (i.e., when including this project in the server's build.gradle
24
- // Error resolving plugin [id: 'com.jfrog.artifactory', version: '4.13.0', apply: false]
25
- // > Plugin request for plugin already on the classpath must not include a version
26
- // We could instead include the plugin without a version number, which would work until
27
- // some change in the latest version of the plugin came along that we aren't compatible with.
28
- classpath " org.jfrog.buildinfo:build-info-extractor-gradle:${ artifactoryPluginVersion} "
29
21
}
30
22
}
31
23
@@ -124,10 +116,6 @@ project.task("fatJar",
124
116
jar. setArchiveVersion(project. version)
125
117
jar. archiveClassifier. set(LabKey . FAT_JAR_CLASSIFIER )
126
118
jar. dependsOn project. tasks. jar
127
- jar. into(' lib' ) {
128
- from tasks. jar
129
- from configurations. runtimeClasspath
130
- }
131
119
}
132
120
)
133
121
@@ -225,37 +213,6 @@ project.publishing {
225
213
}
226
214
}
227
215
}
228
- apply plugin : ' com.jfrog.artifactory'
229
- artifactory {
230
- contextUrl = " ${ artifactory_contextUrl} "
231
- // The base Artifactory URL if not overridden by the publisher/resolver
232
- publish {
233
- repository {
234
- repoKey = BuildUtils . getRepositoryKey(project)
235
- if (project. hasProperty(' artifactory_user' ) && project. hasProperty(' artifactory_password' ))
236
- {
237
- username = artifactory_user
238
- password = artifactory_password
239
- }
240
- maven = true
241
- }
242
- defaults {
243
- publishBuildInfo = false
244
- publishPom = true
245
- publishIvy = false
246
- }
247
- }
248
- }
249
-
250
- project. artifactoryPublish {
251
- project. tasks. each {
252
- if (it instanceof Jar )
253
- {
254
- dependsOn it
255
- }
256
- }
257
- publications(' libs' )
258
- }
259
216
}
260
217
261
218
project. model {
0 commit comments