-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
build.gradle
56 lines (54 loc) · 1.87 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
buildscript {
ext {
versions = [
compileSdk : 34,
targetSdk : 34,
minSdk : 21,
ndk : '26.3.11579264',
androidxAppcompat : '1.7.0',
lifecycle : '2.8.3',
androidxAnnotations: '1.6.0',
androidxTest : '1.6.1',
androidxTestRunner : '1.6.1',
coroutines : '1.8.1',
leakCanary : '2.14',
kotlin : '2.0.0',
intellijAnnotations: '13.0',
material : '1.12.0',
androidXextJunit : '1.2.1',
androidGradlePlugin: '8.5.0',
junit : '4.13.2',
mockito : '5.12.0',
robolectric : '4.10.3',
assertj3 : '3.24.2',
assertj1 : '1.7.1',
concurrentunit : '0.4.6',
openglApi : 'gl1.1-android-2.1_r1',
mockwebserver : '4.9.2',
relinker : '1.4.5',
mavenPublishPlugin : '0.29.0',
]
}
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:$versions.androidGradlePlugin"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath "com.vanniktech:gradle-maven-publish-plugin:$versions.mavenPublishPlugin"
}
}
plugins {
id 'org.jetbrains.kotlinx.binary-compatibility-validator' version '0.15.1'
}
subprojects {
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << '-Xlint'
}
repositories {
google()
mavenCentral()
}
}