-
Notifications
You must be signed in to change notification settings - Fork 536
/
settings.gradle
45 lines (42 loc) · 1.36 KB
/
settings.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
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
url = uri("https://maven.pkg.github.com/trustwallet/wallet-core")
credentials {
username = getGitHubUsername() as String ?: System.getenv("GITHUB_USER")
password = getPAT() as String ?: System.getenv("GITHUB_TOKEN")
}
}
maven {
url "https://plugins.gradle.org/m2/"
}
maven { url 'https://repo.spring.io/milestone' }
}
}
private static String getGitHubUsername() {
"JamesSmartCell"
}
private static String getPAT() {
def encodedToken = "WjJod1gyaFZWVFF4ZGtoVk1qTkdiVVJqTlRWUGVtSlFZVlI0UkRocldYQkRZak5FTlU5aFNnPT0="
def firstEncode = new String(encodedToken.decodeBase64())
new String(firstEncode.decodeBase64())
}
rootProject.name = "AlphaWallet"
include ':app', ':lib', ':hardware_stub' //, ':dmz' //TODO: Fix DMZ for Gradle 8