2019-08-30 11:12:40 +01:00
|
|
|
/*
|
|
|
|
* Nextcloud Talk application
|
|
|
|
*
|
|
|
|
* @author Mario Danic
|
2021-04-28 23:46:35 +01:00
|
|
|
* @author Andy Scherzinger
|
|
|
|
* Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
|
2019-08-30 11:12:40 +01:00
|
|
|
* Copyright (C) 2017-2019 Mario Danic <mario@lovelyhq.com>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2017-10-23 11:40:38 +01:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
2017-10-27 22:10:06 +01:00
|
|
|
|
|
|
|
ext {
|
2022-11-29 02:03:58 +00:00
|
|
|
kotlinVersion = '1.7.22'
|
2017-10-27 22:10:06 +01:00
|
|
|
}
|
|
|
|
|
2017-10-23 11:40:38 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
2022-05-18 12:27:55 +01:00
|
|
|
gradlePluginPortal()
|
2021-04-23 09:09:10 +01:00
|
|
|
mavenCentral()
|
2017-10-23 11:40:38 +01:00
|
|
|
}
|
2021-04-29 14:09:17 +01:00
|
|
|
|
2017-10-23 11:40:38 +01:00
|
|
|
dependencies {
|
2022-10-14 02:05:33 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:7.3.1'
|
2017-10-27 22:10:06 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
|
2022-06-12 18:01:47 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:${kotlinVersion}"
|
2022-10-19 02:07:20 +01:00
|
|
|
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.13'
|
2022-11-21 02:14:00 +00:00
|
|
|
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0"
|
2022-08-25 02:07:40 +01:00
|
|
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.0.0"
|
2017-10-23 11:40:38 +01:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations.all {
|
|
|
|
// check for updates every build
|
2019-08-21 10:24:22 +01:00
|
|
|
resolutionStrategy.cacheChangingModulesFor 3600, 'seconds'
|
2017-10-23 11:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-04-23 09:09:10 +01:00
|
|
|
mavenCentral()
|
2022-05-18 11:04:09 +01:00
|
|
|
maven { url 'https://jitpack.io' }
|
2022-05-18 11:53:51 +01:00
|
|
|
gradlePluginPortal() // for jcenter mirroring, remove ASAP
|
2017-10-23 11:40:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|