2022-03-04 14:20:01 +03:00
|
|
|
buildscript {
|
2022-05-05 14:56:08 +03:00
|
|
|
ext.kotlin_version = '1.6.20'
|
2022-03-04 14:20:01 +03:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-04-28 17:44:09 +03:00
|
|
|
classpath 'com.android.tools.build:gradle:7.1.3'
|
2022-03-04 14:20:01 +03:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2022-05-05 14:56:08 +03:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
2022-03-04 14:20:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
mavenLocal() // TODO: Remove this before release
|
|
|
|
}
|
|
|
|
|
|
|
|
project.ext {
|
2022-03-22 18:31:18 +03:00
|
|
|
minSdkVersion = 23
|
2022-03-04 14:20:01 +03:00
|
|
|
targetSdkVersion = 31
|
|
|
|
compileSdkVersion = 31
|
|
|
|
buildToolsVersion = "30.0.3"
|
|
|
|
|
|
|
|
yubiKitVersion = "2.1.0-SNAPSHOT"
|
2022-03-18 18:16:12 +03:00
|
|
|
junitVersion = "4.13.2"
|
|
|
|
mockitoVersion = "3.9.0"
|
2022-03-04 14:20:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.buildDir = '../build'
|
|
|
|
subprojects {
|
|
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
|
|
}
|
|
|
|
subprojects {
|
|
|
|
project.evaluationDependsOn(':app')
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|