-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
35 lines (32 loc) · 1.25 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
buildscript {
dependencies {
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
val kotlinVersion = libs.findVersion("kotlin").get()
val gmsVersion = libs.findVersion("gms-google-services").get()
val gmsOosVersion = libs.findVersion("gms-oss-licenses-plugin").get()
val crashlyticsVersion = libs.findVersion("firebase-crashlytics-gradle").get()
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("com.google.gms:google-services:$gmsVersion")
classpath("com.google.android.gms:oss-licenses-plugin:$gmsOosVersion")
classpath("com.google.firebase:firebase-crashlytics-gradle:$crashlyticsVersion")
}
}
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.kotlin.serialization) apply false
}
//
// allprojects {
// configurations.all {
// resolutionStrategy.force("org.objenesis:objenesis:2.6")
// }
// }
//
task("clean", Delete::class) {
delete(rootProject.buildDir)
}