Skip to content

Commit a6803e1

Browse files
Configure repository content for faster searching for dependencies (#94)
1 parent 6c5a578 commit a6803e1

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

build.gradle

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,35 @@ import org.labkey.gradle.util.GroupNames
33

44
buildscript {
55
repositories {
6-
mavenCentral()
6+
mavenCentral {
7+
content {
8+
excludeGroupByRegex "org\\.labkey.*"
9+
}
10+
}
711
maven {
812
url "${artifactory_contextUrl}/plugins-release-no-proxy"
13+
mavenContent {
14+
releasesOnly()
15+
}
16+
content {
17+
includeGroup "org.labkey.build"
18+
includeGroup "org.labkey.versioning"
19+
}
920
}
1021
if (gradlePluginsVersion.contains("SNAPSHOT"))
1122
{
23+
mavenLocal()
1224
maven {
1325
url "${artifactory_contextUrl}/plugins-snapshot-local"
26+
mavenContent {
27+
snapshotsOnly()
28+
}
29+
content {
30+
includeGroup "org.labkey.build"
31+
includeGroup "org.labkey.versioning"
32+
}
1433
}
34+
1535
}
1636
}
1737
dependencies {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
artifactory_contextUrl=https://labkey.jfrog.io/artifactory
2-
gradlePluginsVersion=1.40.5
2+
gradlePluginsVersion=1.41.0

0 commit comments

Comments
 (0)