forked from osmandapp/OsmAnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (47 loc) · 1.31 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
buildscript {
ext.kotlin_version = '1.8.22'
repositories {
google()
mavenCentral()
maven {
url 'https://developer.huawei.com/repo/'
}
}
dependencies {
//classpath 'com.android.tools.build:gradle:2.+'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.google.gms:google-services:3.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
if (gradle.startParameter.taskNames.toString().toLowerCase().contains("huawei")) {
classpath 'com.huawei.agconnect:agcp:1.8.0.300'
}
}
}
plugins {
id "de.undercouch.download" version "4.1.1"
}
allprojects {
group "net.osmand"
// Configure all test tasks
tasks.withType(Test) {
// 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/'
}
}
}