forked from session-foundation/session-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
79 lines (75 loc) · 2.47 KB
/
build.gradle.kts
File metadata and controls
79 lines (75 loc) · 2.47 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
repositories {
google()
mavenCentral()
if (project.hasProperty("huawei")) {
maven {
url = uri("https://developer.huawei.com/repo/")
content {
includeGroup("com.huawei.agconnect")
}
}
}
}
dependencies {
// classpath(files("libs/gradle-witness.jar"))
// classpath("com.squareup:javapoet:1.13.0")
if (project.hasProperty("huawei")) {
classpath("com.huawei.agconnect:agcp:1.9.1.300")
}
}
}
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.plugin.serialization) apply false
alias(libs.plugins.kotlin.plugin.parcelize) apply false
alias(libs.plugins.kotlin.plugin.compose) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.hilt.android) apply false
alias(libs.plugins.google.services) apply false
alias(libs.plugins.dependency.analysis) apply false
}
allprojects {
repositories {
maven {
url = uri("https://oxen.rocks/session-foundation/libsession-util-android/maven")
content {
includeGroup("org.sessionfoundation")
}
}
google()
mavenCentral()
maven {
url = uri("https://raw.github.com/signalapp/maven/master/photoview/releases/")
content {
includeGroupByRegex("com\\.github\\.chrisbanes.*")
}
}
maven {
url = uri("https://raw.github.com/signalapp/maven/master/shortcutbadger/releases/")
content {
includeGroupByRegex("me\\.leolin.*")
}
}
maven {
url = uri("https://raw.github.com/signalapp/maven/master/sqlcipher/release/")
content {
includeGroupByRegex("org\\.signal.*")
}
}
maven { url = uri("https://jitpack.io") }
if (project.hasProperty("huawei")) {
maven {
url = uri("https://developer.huawei.com/repo/")
content {
includeGroup("com.huawei.android.hms")
includeGroup("com.huawei.agconnect")
includeGroup("com.huawei.hmf")
includeGroup("com.huawei.hms")
}
}
}
}
}