-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (43 loc) · 1.44 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlinVersion = '1.8.20'
configJavaVersion = JavaVersion.VERSION_11
gradleToolsVersion = '7.2.2'
configCompileSdkVersion = 34
configTargetSdkVersion = 34
configMinSdkVersion = 21
detektVersion = '1.18.0'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:${gradleToolsVersion}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${detektVersion}"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext.sharedGroup = {dependencyHandler->
delegate = dependencyHandler
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
}
ext.baseGroup = {dependencyHandler->
delegate = dependencyHandler
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlinVersion}"
implementation 'androidx.appcompat:appcompat:1.3.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}