mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 00:21:19 +00:00
40 lines
901 B
Groovy
40 lines
901 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.9.0'
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.2.0'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath 'com.google.gms:google-services:4.3.15'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = '../build'
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
}
|
|
subprojects {
|
|
//project.evaluationDependsOn(':app')
|
|
project.configurations.all {
|
|
resolutionStrategy.eachDependency { details ->
|
|
if (details.requested.group == 'androidx.lifecycle') {
|
|
details.useVersion '2.4.0' // To fix mapbox issue..
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.register("clean", Delete) {
|
|
delete rootProject.buildDir
|
|
}
|