This repository has been archived on 2021-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
vn-sales/vernareparto/build.gradle

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'
}