@@ -18,14 +18,6 @@ buildscript {
1818 }
1919 dependencies {
2020 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} "
2921 }
3022}
3123
@@ -124,10 +116,6 @@ project.task("fatJar",
124116 jar. setArchiveVersion(project. version)
125117 jar. archiveClassifier. set(LabKey . FAT_JAR_CLASSIFIER )
126118 jar. dependsOn project. tasks. jar
127- jar. into(' lib' ) {
128- from tasks. jar
129- from configurations. runtimeClasspath
130- }
131119 }
132120)
133121
@@ -225,37 +213,6 @@ project.publishing {
225213 }
226214 }
227215 }
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- }
259216}
260217
261218project. model {
0 commit comments