-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
36 lines (32 loc) · 1 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
apply from: 'dependencies.gradle'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:${pluginVersion}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
classpath "org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}"
classpath "io.realm:realm-gradle-plugin:${realmVersion}"
}
}
allprojects {
repositories {
jcenter()
}
project.ext {
compileSdkVersion = compileSdkVersion.toInteger()
buildToolsVersion = buildToolsVersion.toString()
minSdkVersion = minSdkVersion.toInteger()
targetSdkVersion = targetSdkVersion.toInteger()
versionCode = versionCode.toInteger()
versionName = versionName.toString()
endpoint = enableDevelopment.toBoolean() ? endpointDevelopment : endpointStaging
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task wrapper(type: Wrapper) {
gradleVersion = gradleVersion.toString()
}