-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
35 lines (31 loc) · 837 Bytes
/
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
// Project semantic versioning components (https://semver.org/)
def projectVersionMajor = 1
def projectVersionMinor = 1
def projectVersionPatch = 1
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.0'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
ext {
versions = [
sdk: [min: 19, target: 33, compile: 33],
project: [major: projectVersionMajor,
minor: projectVersionMinor,
patch: projectVersionPatch,
number: "${projectVersionMajor}.${projectVersionMinor}.${projectVersionPatch}"]]
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}