Simple-Gallery/build.gradle

38 lines
1,002 B
Groovy
Raw Normal View History

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 {
ext.kotlin_version = '1.5.31'
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()
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 {
2021-10-17 16:39:21 +00:00
classpath 'com.android.tools.build:gradle:7.0.3'
2017-11-21 15:22:08 +00:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
if (is_proprietary) {
classpath 'ly.img.android.pesdk:plugin:9.0.0'
}
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()
maven { url "https://jitpack.io" }
2016-02-16 21:23:25 +00:00
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}