mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-18 07:22:12 +03:00
45 lines
977 B
Groovy
45 lines
977 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.6.10'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.1.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:1.6.10"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
mavenLocal() // TODO: Remove this before release
|
|
}
|
|
|
|
project.ext {
|
|
minSdkVersion = 23
|
|
targetSdkVersion = 31
|
|
compileSdkVersion = 31
|
|
buildToolsVersion = "30.0.3"
|
|
|
|
yubiKitVersion = "2.1.0-SNAPSHOT"
|
|
junitVersion = "4.13.2"
|
|
mockitoVersion = "3.9.0"
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = '../build'
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
}
|
|
subprojects {
|
|
project.evaluationDependsOn(':app')
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|