FossifyGalleryVisibilityPatch/build.gradle

41 lines
1.1 KiB
Groovy
Raw Normal View History

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 {
2022-02-09 12:07:50 +01:00
ext.kotlin_version = '1.6.10'
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()
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-12-19 15:40:20 +01:00
classpath 'com.android.tools.build:gradle:7.0.4'
2017-11-21 16:22:08 +01:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
if (is_proprietary) {
2021-12-19 22:26:25 +01:00
classpath 'ly.img.android.pesdk:plugin:9.1.1'
}
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()
maven { url "https://jitpack.io" }
2021-12-03 23:00:01 +01:00
if (is_proprietary) {
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
}
2016-02-16 22:23:25 +01:00
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}