44 lines
1.2 KiB
Groovy
44 lines
1.2 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
apply from: 'buildsystem/ci.gradle'
|
|
apply from: 'buildsystem/dependencies.gradle'
|
|
apply plugin: 'kotlin'
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.1.0'
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.3.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
ext {
|
|
androidApplicationId = 'es.verdnatura.vndelivery.presentation'
|
|
androidVersionCode = 3
|
|
androidVersionName = "1.0.2"
|
|
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
|
|
testApplicationId = 'es.verdnatura.vndelivery.presentation.test'
|
|
}
|
|
}
|
|
|
|
task customClean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
clean.dependsOn customClean
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
}
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|