mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
43 lines
912 B
Groovy
43 lines
912 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.6.10'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
|
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 = 21
|
|
targetSdkVersion = 31
|
|
compileSdkVersion = 31
|
|
buildToolsVersion = "30.0.3"
|
|
|
|
yubiKitVersion = "2.1.0-SNAPSHOT"
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = '../build'
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
}
|
|
subprojects {
|
|
project.evaluationDependsOn(':app')
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|