forked from TUM-Dev/Campus-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (43 loc) · 1.56 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.7.0'
room_version = '2.5.0-alpha02'
}
repositories {
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://jitpack.io"}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
classpath 'com.google.gms:google-services:4.3.13'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.jlleitschuh.gradle:ktlint-gradle:8.2.0'
classpath "com.github.ben-manes:gradle-versions-plugin:0.41.0"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.13.1"
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.18"
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
}
}
allprojects {
tasks.withType(JavaCompile) {
options.fork = true // Fork your compilation into a child process
options.forkOptions.setMemoryMaximumSize("4g") // Set maximum memory to 4g
options.compilerArgs << "-Xlint:all"
options.compilerArgs << "-Xlint:-classfile"
//options.compilerArgs << "-Werror"
}
apply plugin: 'org.jlleitschuh.gradle.ktlint'
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url 'https://maven.google.com/' }
}
}
ext {
play_core_services = '1.10.3'
play_core_services_kotlin_extension = '1.8.1'
}