2021-11-22 09:27:58 +01:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
2023-02-18 10:18:52 +01:00
|
|
|
ext.kotlin_version = '1.8.10'
|
2021-11-22 09:27:58 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
2023-02-18 10:18:00 +01:00
|
|
|
maven {
|
|
|
|
url "https://plugins.gradle.org/m2/"
|
|
|
|
content {
|
|
|
|
includeModule 'org.jlleitschuh.gradle', 'ktlint-gradle'
|
|
|
|
}
|
|
|
|
}
|
2021-11-22 09:27:58 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2023-02-27 22:24:24 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:7.4.2'
|
2021-11-22 09:27:58 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2023-03-03 23:02:18 +01:00
|
|
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.3.1"
|
2021-11-22 09:27:58 +01:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
2023-01-22 18:40:27 +01:00
|
|
|
maven {
|
|
|
|
url "https://www.jitpack.io"
|
|
|
|
content {
|
|
|
|
includeModule 'com.github.nextcloud', 'Android-SingleSignOn'
|
2023-03-06 09:43:58 +01:00
|
|
|
includeModule 'com.github.p1gp1g', 'Android-SingleSignOn'
|
2023-01-22 18:40:27 +01:00
|
|
|
}
|
|
|
|
}
|
2021-11-22 09:27:58 +01:00
|
|
|
}
|
2023-02-18 10:18:00 +01:00
|
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
2021-11-22 09:27:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|