-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (44 loc) · 1.29 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
buildscript {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath(libs.android.gradle)
classpath(libs.kotlin.gradle)
classpath(libs.kotlinx.binaryCompatibilityValidator)
}
}
ext.projectVersions = [
compileSdk: 34,
minSdk: 21,
targetSdk: 30,
]
apply plugin: 'binary-compatibility-validator'
apiValidation {
ignoredProjects += ['xml-theme-demo']
}
ext {
keystore = project.hasProperty('personalKeystore') ? personalKeystore : 'x'
keystorePassword = project.hasProperty('personalKeystorePassword') ? personalKeystorePassword : 'x'
keyAlias = project.hasProperty('personalKeyAlias') ? personalKeyAlias : 'x'
keyPassword = project.hasProperty('personalKeyPassword') ? personalKeyPassword : 'x'
}
allprojects { project ->
group = rootProject.property("GROUP")
version = rootProject.property("VERSION_NAME")
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
}
project.configurations.all {
// Don't cache snapshots:
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}