File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed
Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 22artifactory_contextUrl =https://labkey.jfrog.io/artifactory
33
44# Exact version will vary based on the version of LabKey being built on
5- gradlePluginsVersion =1.40.6
5+ gradlePluginsVersion =1.41.0
66
77# versions of artifacts required as dependencies
88# uncomment the version number and set to the desired labkeyVersion
Original file line number Diff line number Diff line change @@ -41,11 +41,17 @@ repositories
4141 {
4242 // Use this repository when relying on release versions of the LabKey artifacts and their external dependencies
4343 maven {
44- url " ${ project.artifactory_contextUrl} /libs-release"
44+ url " ${ project.artifactory_contextUrl} /libs-release-no-proxy"
45+ mavenContent {
46+ releasesOnly()
47+ }
4548 }
4649 // Use this repository when relying on snapshot versions of LabKey artifacts or requiring snapshot external dependencies
4750 maven {
48- url " ${ project.artifactory_contextUrl} /libs-snapshot"
51+ url " ${ project.artifactory_contextUrl} /libs-snapshot-no-proxy"
52+ mavenContent {
53+ snapshotsOnly()
54+ }
4955 }
5056 mavenCentral() // include the Maven Central repository separately in case lookup with previous repository fails
5157 }
Original file line number Diff line number Diff line change @@ -5,15 +5,21 @@ buildscript {
55 // These repositories contain the LabKey gradle plugin
66 maven {
77 url " ${ artifactory_contextUrl} /plugins-release-no-proxy"
8+ mavenContent {
9+ releasesOnly()
10+ }
811 }
912 maven {
1013 url " ${ artifactory_contextUrl} /plugins-snapshot-local"
14+ mavenContent {
15+ snapshotsOnly()
16+ }
1117 }
1218 }
1319 dependencies {
1420 classpath " org.labkey.build:gradlePlugins:${ gradlePluginsVersion} "
1521 }
16- configurations. all {
22+ configurations. configureEach {
1723 // Check for updates every build for SNAPSHOT dependencies
1824 resolutionStrategy. cacheChangingModulesFor 0 , ' seconds'
1925 }
@@ -33,10 +39,21 @@ gradle.beforeProject { project ->
3339 maven {
3440 // Use this repository when relying on release versions of the LabKey artifacts and their external dependencies
3541 url " ${ project.artifactory_contextUrl} /libs-release-no-proxy"
42+ mavenContent {
43+ releasesOnly()
44+ }
3645 }
3746 maven {
3847 // Use this repository when relying on snapshot versions of LabKey artifacts
3948 url " ${ project.artifactory_contextUrl} /libs-snapshot-no-proxy"
49+ mavenContent {
50+ snapshotsOnly()
51+ }
52+ content {
53+ includeGroup " org.labkey"
54+ includeGroup " org.labkey.api"
55+ includeGroup " org.labkey.module"
56+ }
4057 }
4158 }
4259}
You can’t perform that action at this time.
0 commit comments