-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
54 lines (49 loc) · 1.22 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@file:Suppress("UnstableApiUsage")
buildscript {
repositories {
gradlePluginPortal()
google {
content {
includeGroupByRegex(".*google.*")
includeGroupByRegex(".*android.*")
}
}
mavenCentral()
}
}
allprojects {
repositories {
google {
content {
includeGroupByRegex(".*google.*")
includeGroupByRegex(".*android.*")
}
}
mavenCentral()
}
}
@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.multiplatform) apply false
alias(libs.plugins.kotlin.cocoapods) apply false
}
subprojects {
project.configurations.configureEach {
// Whilst the compileSdk is < 34
// force the version of these dependencies
// we don't use them, but they are pulled in by the compose dependencies
resolutionStrategy {
// force("androidx.emoji2:emoji2:1.3.0")
// force("androidx.emoji2:emoji2-views:1.3.0")
// force("androidx.emoji2:emoji2-views-helper:1.3.0")
}
}
}
tasks {
register("clean", Delete::class) {
delete(rootProject.layout.buildDirectory)
}
}