forked from erxes/erxes-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (42 loc) · 1.34 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()
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
mavenCentral()
maven { url 'https://maven.google.com' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.apollographql.apollo:apollo-gradle-plugin:2.0.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// classpath 'com.google.gms:google-services:4.3.3'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//project.ext {
// if (project.hasProperty('preDexEnable')) {
// project.ext.preDexLibs = project.properties['preDexEnable'].equals('true')
// } else {
// project.ext.preDexLibs = true // pre dexing should be true by default
// }
// println('PREDEX ' + (project.ext.preDexLibs ? 'ENABLED' : 'DISABLED')) // goes to build log or console output
//}
//subprojects {
// project.configurations.all {
// resolutionStrategy.eachDependency { details ->
// if (details.requested.group == 'com.android.support'
// && !details.requested.name.contains('multidex') ) {
// details.useVersion "28.0.0"
// }
// }
// }
//}