-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
executable file
·47 lines (44 loc) · 1.25 KB
/
settings.gradle.kts
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
import java.net.URI
rootProject.name = "kafka-connect-rest"
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id.equals("org.anarres.jarjar")) {
useModule("com.github.shevek.jarjar:jarjar-gradle:${requested.version}")
}
}
}
repositories {
mavenLocal()
gradlePluginPortal()
maven("https://maven.aliyun.com/repository/public")
maven("https://plugins.gradle.org/m2/")
maven("https://jitpack.io")
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
mavenLocal()
maven {
url = URI.create(System.getenv("MAVEN_PUBLIC_ENDPOINT"))
isAllowInsecureProtocol = true
credentials {
username = System.getenv("MAVEN_USER")
password = System.getenv("MAVEN_PWD")
}
}
maven {
url = URI("https://maven.aliyun.com/repository/public/")
}
maven {
url = URI("https://packages.confluent.io/maven/")
}
maven {
url = URI("https://jitpack.io")
}
google()
mavenCentral()
}
}