forked from celestiamobile/AndroidCelestia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (51 loc) · 1.59 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
/*
* build.gradle
*
* Copyright (C) 2023-present, Celestia Development Team
*
* 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 2
* of the License, or (at your option) any later version.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.9.22'
ext.core_ktx_version = '1.12.0'
ext.core_appcompat_version = '1.6.1'
ext.material_version = '1.11.0'
ext.kotlinx_coroutines_version = '1.7.3'
ext.hilt_version = '2.50'
ext.lifecycle_version = '2.7.0'
ext.okhttp_version = '4.12.0'
ext.gson_version = '2.10.1'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
}
}
allprojects {
project.ext {
constants = [
minSdkVersion : 21,
targetSdkVersion : 34,
compileSdkVersion : 34,
ndkVersion : "26.1.10909125",
buildToolsVersion : "34.0.0",
cmakeVersion : "3.22.1"
]
}
repositories {
google()
mavenCentral()
}
}
tasks.register('clean', Delete) {
delete "$rootProject.projectDir/app/src/main/assets/CelestiaResources"
delete rootProject.buildDir
}