forked from github/szkolny
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.6.10'
|
|
|
|
release = [
|
|
versionName: "4.13-rc.1",
|
|
versionCode: 4130010
|
|
]
|
|
|
|
setup = [
|
|
compileSdk: 33,
|
|
minSdk : 16,
|
|
targetSdk : 33
|
|
]
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.2.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
|
|
}
|