-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
executable file
·78 lines (65 loc) · 2.04 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlinVersion = '1.8.0'
daggerVersion = '2.21'
androidxVersion = '1.12.0'
androidxAnnotationVersion = '1.3.0'
androidxMediaVersion = '1.7.0'
androidxPreferencesVersion = '1.2.1'
androidxAppcompatVersion = '1.7.0'
espressoVersion = '3.5.0-alpha03'
okhttpVersion = '3.12.1'
deps = [
android: [
build: [
minSdkVersion : 21,
targetSdkVersion : 34,
compileSdkVersion: 34
]
],
kotlin: [
stdlib: "org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}"
],
dagger: [
apt: "com.google.dagger:dagger-compiler:${daggerVersion}",
runtime: "com.google.dagger:dagger:${daggerVersion}"
]
]
}
// workaround for proguard failing to parse moshi's proguard rules
buildscript {
configurations.configureEach {
resolutionStrategy {
force 'net.sf.proguard:proguard-gradle:6.1.0beta2'
}
}
}
repositories {
google()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
//jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.6.1'
classpath 'com.google.gms:google-services:4.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "net.ltgt.gradle:gradle-errorprone-plugin:3.1.0"
}
}
allprojects {
repositories {
google()
mavenCentral()
//jcenter()
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs += [
]
}
afterEvaluate {
extensions.findByName('kapt')?.arguments {
}
}
}