2016-02-16 22:23:25 +01:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2021-03-30 15:22:52 +02:00
|
|
|
ext.kotlin_version = '1.4.32'
|
2020-02-28 11:47:57 +01:00
|
|
|
ext.is_proprietary = gradle.startParameter.taskNames.any { task -> task.contains("Proprietary") }
|
2017-11-21 16:22:08 +01:00
|
|
|
|
2016-02-16 22:23:25 +01:00
|
|
|
repositories {
|
2017-11-21 16:22:08 +01:00
|
|
|
google()
|
2018-09-05 21:30:55 +02:00
|
|
|
jcenter()
|
2020-02-28 11:47:57 +01:00
|
|
|
if (is_proprietary) {
|
|
|
|
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
|
|
|
|
}
|
2016-02-16 22:23:25 +01:00
|
|
|
}
|
2017-11-21 16:22:08 +01:00
|
|
|
|
2016-02-16 22:23:25 +01:00
|
|
|
dependencies {
|
2021-05-11 15:01:02 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:4.2.0'
|
2017-11-21 16:22:08 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2020-02-28 11:47:57 +01:00
|
|
|
if (is_proprietary) {
|
2021-05-13 20:55:05 +02:00
|
|
|
classpath 'ly.img.android.pesdk:plugin:8.2.0'
|
2020-02-28 11:47:57 +01:00
|
|
|
}
|
2016-02-16 22:23:25 +01:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2017-11-21 16:22:08 +01:00
|
|
|
google()
|
2018-09-05 21:30:55 +02:00
|
|
|
jcenter()
|
2016-06-23 11:12:51 +02:00
|
|
|
maven { url "https://jitpack.io" }
|
2016-02-16 22:23:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|