forked from wonderpush/wonderpush-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (31 loc) · 783 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
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
}
}
allprojects {
repositories {
jcenter()
google()
}
if (wonderpush_signing_gnupg_keyName != '0823F63F') throw "wonderpush_signing_gnupg_keyName is expected to be '0823F63F'"
ext."signing.gnupg.keyName" = '0823F63F'
ext."signing.gnupg.passphrase" = wonderpush_signing_gnupg_passphrase
}
task clean(type: Delete) {
subprojects.each {
it.afterEvaluate {
def cleanTask = it.tasks.findByName('clean')
if (cleanTask) {
dependsOn(cleanTask)
}
}
}
}
if (file('local.gradle').exists()) {
apply from: 'local.gradle'
}