forked from osmandapp/OsmAnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (44 loc) · 1.26 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
buildscript {
ext.kotlin_version = '1.5.10'
repositories {
google()
mavenCentral()
maven {
url 'https://developer.huawei.com/repo/'
}
}
dependencies {
//classpath 'com.android.tools.build:gradle:2.+'
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.google.gms:google-services:3.0.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
if (gradle.startParameter.taskNames.toString().toLowerCase().contains("huawei")) {
classpath 'com.huawei.agconnect:agcp:1.4.1.300'
}
}
}
plugins {
id "de.undercouch.download" version "4.1.1"
}
allprojects {
group "net.osmand"
version "1.0"
repositories {
ivy {
name = "OsmAndBinariesIvy"
url = "https://builder.osmand.net"
layout "pattern", {
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
}
}
google()
mavenCentral()
maven {
url "https://jitpack.io"
}
maven {
url 'https://developer.huawei.com/repo/'
}
}
}