PixelDroid-App-Android/build.gradle

41 lines
1.1 KiB
Groovy
Raw Normal View History

2020-02-28 00:36:26 +01:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
2023-12-13 11:11:35 +01:00
ext.kotlin_version = '1.9.20'
2020-02-28 00:36:26 +01:00
repositories {
google()
2021-03-16 00:48:08 +01:00
mavenCentral()
2020-02-28 00:36:26 +01:00
}
dependencies {
2023-12-13 11:11:35 +01:00
classpath 'com.android.tools.build:gradle:8.2.0'
2020-02-28 17:08:54 +01:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2020-02-28 00:36:26 +01:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
2023-12-13 11:11:35 +01:00
plugins {
id 'com.google.devtools.ksp' version '1.9.20-1.0.14' apply false
}
2020-02-28 00:36:26 +01:00
allprojects {
repositories {
google()
2021-03-16 00:48:08 +01:00
mavenCentral()
maven { url "https://jitpack.io" }
//noinspection JcenterRepositoryObsolete
2021-03-16 00:48:08 +01:00
jcenter {
content {
// info.androidhive:imagefilters is only available in JCenter
//TODO remove JCenter repo:
// see issue https://gitlab.shinice.net/pixeldroid/PixelDroid/-/issues/278
includeGroup("info.androidhive")
}
}
2020-02-28 00:36:26 +01:00
}
}
tasks.register('clean', Delete) {
2020-02-28 00:36:26 +01:00
delete rootProject.buildDir
}