-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
build.gradle
51 lines (48 loc) · 1.41 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 {
ext.kotlin_version = '2.0.0'
repositories {
google()
mavenCentral()
maven {
url 'https://developer.huawei.com/repo/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.1'
classpath 'com.google.gms:google-services:4.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath("com.squareup.sqldelight:gradle-plugin:1.5.5")
if (gradle.startParameter.taskNames.toString().toLowerCase().contains("huawei")) {
classpath 'com.huawei.agconnect:agcp:1.9.1.303'
}
}
}
plugins {
id "de.undercouch.download" version "4.1.1"
}
allprojects {
group "net.osmand"
// Configure all test tasks
tasks.withType(Test).configureEach {
// Set a system property for all unit tests
systemProperty 'isAndroidBuild', 'true'
}
repositories {
ivy {
name = "OsmAndBinariesIvy"
url = "https://creator.osmand.net"
patternLayout {
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
}
}
google()
mavenCentral()
maven {
url "https://jitpack.io"
}
maven {
url 'https://developer.huawei.com/repo/'
}
}
}