forked from chrisjenx/Calligraphy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (33 loc) · 1.02 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven {url 'http://maven.aliyun.com/nexus/content/repositories/google'}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
}
}
allprojects {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven {url 'http://maven.aliyun.com/nexus/content/repositories/google'}
jcenter()
}
// Is Release Build?
version = getProperty('VERSION_NAME')
ext {
isReleaseVersion = has("release")
versionCodeInt = getProperty('VERSION_CODE').toInteger()
supportLibraryVersion = '27.1.1'
buildToolsVersion = '27.0.3'
compileSdkVersion = 27
minSdkVersion = 14
targetSdkVersion = 27
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-bin.zip"
}