23 lines
981 B
Groovy
23 lines
981 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
ext.kotlin_version = '2.2.21'//'1.7.20'
|
|
ext.paparazzi_version = '1.3.1'
|
|
ext.kotlin_dokka_version = '2.1.0'
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
// It will force the kotlin compiler version to be changed to a higher one, so it should only include the plugin in real tests.
|
|
if (project.hasProperty('withSnapshotTest')) {
|
|
classpath "app.cash.paparazzi:paparazzi-gradle-plugin:$paparazzi_version"
|
|
}
|
|
}
|
|
}
|
|
plugins {
|
|
id 'com.android.application' version '8.13.1' apply false
|
|
id 'com.android.library' version '8.13.1' apply false
|
|
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
|
|
id 'com.google.gms.google-services' version '4.4.4' apply false
|
|
}
|