2014-12-16 12:23:45 +01:00
|
|
|
buildscript {
|
2019-08-17 13:20:22 +02:00
|
|
|
ext.kotlin_version = '1.3.11'
|
2014-12-16 12:23:45 +01:00
|
|
|
repositories {
|
2018-06-08 09:37:25 +02:00
|
|
|
google()
|
2014-12-16 12:23:45 +01:00
|
|
|
mavenCentral()
|
2018-06-05 22:17:39 +02:00
|
|
|
jcenter()
|
2020-09-30 11:56:11 +02:00
|
|
|
maven {
|
|
|
|
url 'https://developer.huawei.com/repo/'
|
|
|
|
}
|
2014-12-16 12:23:45 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2018-03-31 01:22:10 +02:00
|
|
|
//classpath 'com.android.tools.build:gradle:2.+'
|
2019-08-17 13:20:22 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:3.2.1'
|
2016-11-10 15:26:31 +01:00
|
|
|
classpath 'com.google.gms:google-services:3.0.0'
|
2019-10-11 10:25:44 +02:00
|
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
|
2018-06-05 21:51:08 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2020-09-30 11:56:11 +02:00
|
|
|
if (gradle.startParameter.taskNames.toString().contains("huawei")) {
|
|
|
|
classpath 'com.huawei.agconnect:agcp:1.4.1.300'
|
|
|
|
}
|
2014-12-16 12:23:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2019-04-26 12:20:02 +02:00
|
|
|
group "net.osmand"
|
|
|
|
version "1.0"
|
2018-06-05 22:45:25 +02:00
|
|
|
|
2014-12-16 12:23:45 +01:00
|
|
|
repositories {
|
2018-06-05 22:45:25 +02:00
|
|
|
ivy {
|
|
|
|
name = "OsmAndBinariesIvy"
|
|
|
|
url = "http://builder.osmand.net"
|
|
|
|
layout "pattern", {
|
|
|
|
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 09:37:25 +02:00
|
|
|
google()
|
2018-06-07 21:22:41 +02:00
|
|
|
mavenCentral()
|
|
|
|
jcenter()
|
2018-06-05 22:45:25 +02:00
|
|
|
maven {
|
|
|
|
url "https://jitpack.io"
|
|
|
|
}
|
2020-09-30 11:56:11 +02:00
|
|
|
maven {
|
|
|
|
url 'https://developer.huawei.com/repo/'
|
|
|
|
}
|
2014-12-16 12:23:45 +01:00
|
|
|
}
|
|
|
|
}
|