OsmAnd/build.gradle

46 lines
1.2 KiB
Groovy
Raw Normal View History

2014-12-16 12:23:45 +01:00
buildscript {
2020-11-30 08:46:47 +01:00
ext.kotlin_version = '1.4.10'
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.+'
2020-11-30 08:46:47 +01:00
classpath 'com.android.tools.build:gradle:4.1.1'
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"
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"
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
}
}