mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
48 lines
1.1 KiB
Groovy
48 lines
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
kotlin_version = '1.9.24'
|
|
|
|
release = [
|
|
versionName: "4.13.6",
|
|
versionCode: 4130699
|
|
]
|
|
|
|
setup = [
|
|
compileSdk: 34,
|
|
minSdk : 21,
|
|
targetSdk : 34
|
|
]
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.4.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath 'com.google.gms:google-services:4.3.14'
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
gradle.projectsEvaluated {
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << "-Xmaxerrs" << "1000"
|
|
options.compilerArgs << "-Xmaxwarns" << "1000"
|
|
}
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|