2016-02-16 21:23:25 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2022-05-24 12:46:34 +00:00
|
|
|
// needed only if we are including commons locally from our pc, not via Jitpack
|
|
|
|
/*ext {
|
2022-09-03 08:47:05 +00:00
|
|
|
propCompileSdkVersion = 33
|
2023-01-08 22:25:45 +00:00
|
|
|
propMinSdkVersion = 23
|
2022-05-24 12:46:34 +00:00
|
|
|
propTargetSdkVersion = propCompileSdkVersion
|
|
|
|
propVersionCode = 1
|
|
|
|
propVersionName = '5.34.26'
|
|
|
|
}*/
|
|
|
|
|
2022-09-03 15:08:54 +00:00
|
|
|
ext.kotlin_version = '1.6.21'
|
2020-02-28 10:47:57 +00:00
|
|
|
ext.is_proprietary = gradle.startParameter.taskNames.any { task -> task.contains("Proprietary") }
|
2017-11-21 15:22:08 +00:00
|
|
|
|
2016-02-16 21:23:25 +00:00
|
|
|
repositories {
|
2017-11-21 15:22:08 +00:00
|
|
|
google()
|
2018-09-05 19:30:55 +00:00
|
|
|
jcenter()
|
2020-02-28 10:47:57 +00:00
|
|
|
if (is_proprietary) {
|
|
|
|
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
|
|
|
|
}
|
2016-02-16 21:23:25 +00:00
|
|
|
}
|
2017-11-21 15:22:08 +00:00
|
|
|
|
2016-02-16 21:23:25 +00:00
|
|
|
dependencies {
|
2022-11-22 16:49:56 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:7.3.0'
|
2017-11-21 15:22:08 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2020-02-28 10:47:57 +00:00
|
|
|
if (is_proprietary) {
|
2023-07-05 08:45:08 +00:00
|
|
|
classpath 'ly.img.android.pesdk:plugin:10.7.2'
|
2020-02-28 10:47:57 +00:00
|
|
|
}
|
2016-02-16 21:23:25 +00:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2017-11-21 15:22:08 +00:00
|
|
|
google()
|
2018-09-05 19:30:55 +00:00
|
|
|
jcenter()
|
2016-06-23 09:12:51 +00:00
|
|
|
maven { url "https://jitpack.io" }
|
2021-12-03 22:00:01 +00:00
|
|
|
if (is_proprietary) {
|
|
|
|
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
|
|
|
|
}
|
2016-02-16 21:23:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|