mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 09:56:23 +03:00
46 lines
1.0 KiB
Groovy
46 lines
1.0 KiB
Groovy
buildscript {
|
|
ext.kotlin_version = '1.7.10'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.2.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.5'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
mavenLocal() // TODO: Remove this before release
|
|
}
|
|
|
|
project.ext {
|
|
minSdkVersion = 23
|
|
targetSdkVersion = 32
|
|
compileSdkVersion = 32
|
|
buildToolsVersion = "30.0.3"
|
|
|
|
yubiKitVersion = "2.1.0"
|
|
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
|
|
}
|