OsmAnd/build.gradle

48 lines
1.2 KiB
Groovy
Raw Permalink Normal View History

2014-12-16 12:23:45 +01:00
buildscript {
2021-01-14 07:48:48 +01:00
ext.kotlin_version = '1.4.21'
2014-12-16 12:23:45 +01:00
repositories {
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 {
//classpath 'com.android.tools.build:gradle:2.+'
2021-01-21 11:17:41 +01:00
classpath 'com.android.tools.build:gradle:4.1.2'
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'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
if (gradle.startParameter.taskNames.toString().toLowerCase().contains("huawei")) {
2020-09-30 11:56:11 +02:00
classpath 'com.huawei.agconnect:agcp:1.4.1.300'
}
2014-12-16 12:23:45 +01:00
}
}
2021-01-15 14:42:50 +01:00
2014-12-16 12:23:45 +01:00
allprojects {
2019-04-26 12:20:02 +02:00
group "net.osmand"
version "1.0"
2021-01-15 14:42:50 +01:00
2014-12-16 12:23:45 +01:00
repositories {
2018-06-05 22:45:25 +02:00
ivy {
name = "OsmAndBinariesIvy"
2020-11-30 09:07:26 +01:00
url = "https://builder.osmand.net"
2018-06-05 22:45:25 +02:00
layout "pattern", {
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
}
}
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
}
}