-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (44 loc) · 1.24 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
maven { url 'https://repo.spring.io/plugins-release' }
}
}
plugins {
id 'org.springframework.boot' version "${springBootVersion}" apply false
id "io.spring.dependency-management" version "${springDependenciesManagement}" apply false
id 'idea'
id 'eclipse'
id 'java'
}
subprojects {
group = 'com.vmware.gemfire'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenLocal()
mavenCentral()
maven {
credentials {
username "$gemfireRepoUsername"
password "$gemfireRepoPassword"
}
url = uri("https://commercial-repo.pivotal.io/data3/gemfire-release-repo/gemfire")
}
}
repositories {
def additionalMavenRepoURLs = project.ext.get('additionalMavenRepoURLs')
if (!additionalMavenRepoURLs.isEmpty() && !additionalMavenRepoURLs.isBlank()) {
additionalMavenRepoURLs.split(",").each {
project.getRepositories()
.maven(mavenRepository -> {
mavenRepository.setUrl(uri(it.toString()));
});
}
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
}
}