forked from Nain57/Smart-AutoClicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
94 lines (81 loc) · 2.85 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
* Copyright (C) 2023 Kevin Buzeau
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.9.0'
ext.kotlinx_version = '1.7.3'
ext.navigation_plugin_version = '2.6.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_plugin_version"
// Google Mobile Services, only used for releaseGms build type
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
}
}
plugins {
id("com.google.devtools.ksp") version "$kotlin_version-1.0.13" apply false
}
allprojects {
repositories {
google()
mavenCentral()
}
}
ext {
compileSdkVersion = 34
minSdkVersion = 24
// AndroidX dependencies
androidxAppCompatVersion = '1.6.1'
androidxAnnotationVersion = '1.7.0'
androidxCardViewVersion = '1.0.0'
androidxConstraintLayoutVersion = '2.1.4'
androidxCoreVersion = '1.12.0'
androidxFragmentVersion = '1.6.2'
androidxLifecycleVersion = '2.7.0'
androidxLifecycleExtensionVersion = '2.2.0'
androidxNavigationVersion = '2.7.7'
androidxRecyclerViewVersion = '1.3.2'
androidxRoomVersion = '2.6.1'
androidxVectorDrawableVersion = '1.1.0'
// Other dependencies
googleMaterialVersion = '1.10.0'
kotlinSerializationVersion = '1.6.0'
lottieVersion = '6.1.0'
// Native dependencies
openCvVersion = '4.8.1'
// Test dependencies
jUnitVersion = '4.13.2'
androidxArchCoreTestingVersion = '2.2.0'
androidxTestCoreVersion = '1.5.0'
androidxTestExtVersion = '1.1.5'
mockitoCoreVersion = '5.5.0'
mockitoKotlinVersion = '5.1.0'
robolectricVersion = '4.10.3'
// Google PlayStore version dependencies
firebaseBomVersion = '32.7.4'
billingVersion = '6.2.0'
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}