PixelDroid-App-Android/build.gradle

50 lines
1.6 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 {
2021-03-16 00:23:10 +01:00
ext.kotlin_version = '1.4.31'
2020-02-28 00:36:26 +01:00
repositories {
google()
2021-03-16 00:48:08 +01:00
mavenCentral()
jcenter {
content {
// org.jetbrains.trove4j is only available in JCenter
//TODO remove JCenter repo:
// see issue https://gitlab.shinice.net/pixeldroid/PixelDroid/-/issues/278
includeGroup("org.jetbrains.trove4j")
}
}
2020-02-28 00:36:26 +01:00
}
dependencies {
2021-03-26 10:42:51 +01:00
classpath 'com.android.tools.build:gradle:4.1.3'
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
}
}
allprojects {
repositories {
google()
2021-03-16 00:48:08 +01:00
mavenCentral()
maven { url "https://jitpack.io" }
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")
2021-03-17 15:07:21 +01:00
// org.jetbrains.trove4j is only available in JCenter
//TODO remove JCenter repo:
// see issue https://gitlab.shinice.net/pixeldroid/PixelDroid/-/issues/278
includeGroup("org.jetbrains.trove4j")
2021-03-16 00:48:08 +01:00
}
}
2020-02-28 00:36:26 +01:00
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}