-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
63 lines (58 loc) · 1.75 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
pluginManagement {
includeBuild("build-logic")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven(uri("https://maven.pkg.github.com/trustwallet/wallet-core")) {
credentials {
with(tokenProperty()) {
username = getProperty("gpr.name") ?: System.getenv("GT_USERNAME")
password = getProperty("gpr.key") ?: System.getenv("GT_TOKEN")
}
}
}
}
versionCatalogs {
create("easy") {
from(files("./build-logic/building.versions.toml"))
}
}
}
fun tokenProperty(): java.util.Properties {
val properties = java.util.Properties()
val localProperties = File(rootDir, "github_token.properties")
if (localProperties.isFile) {
java.io.InputStreamReader(
java.io.FileInputStream(localProperties)
).use { reader ->
properties.load(reader)
}
}
return properties
}
rootProject.name = "EasyWallet"
include(":platform:core")
include(":platform:database")
include(":platform:model")
include(":platform:shared")
include(":platform:datastore")
include(":platform:network")
include(":platform:shared")
include(":Wallet-Android:app")
include(":Wallet-Android:feature:onboard")
include(":Wallet-Android:design-system")
include(":Wallet-Android:feature:discover")
include(":Wallet-Android:feature:wallet")
include(":Wallet-Android:feature:marketplace")
include(":Wallet-Android:feature:news")
include(":Wallet-Android:feature:settings")
include(":Wallet-Android:core")
include(":Wallet-Android:feature:asset_manager")
include(":Wallet-Android:feature:send")