-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle.kts
69 lines (63 loc) · 2.61 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
plugins {
alias(libs.plugins.jetbrainsCompose) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.androidLibrary) apply false
alias(libs.plugins.kotlinMultiplatform) apply false
alias(libs.plugins.cocoapods) apply false
alias(libs.plugins.kmmbridge) apply false
alias(libs.plugins.skie) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.sqldelight) apply false
alias(libs.plugins.grammarKitComposer) apply false
alias(libs.plugins.mavenPublishPlugin) apply false
alias(libs.plugins.downloadPlugin) apply false
alias(libs.plugins.kotlinter) apply false
}
// Having different versions of this lead to the issue mentioned here
// https://stackoverflow.com/questions/76479563/could-not-found-kotlinx-atomicfu-compose-multiplatform-ios
// This and the `apply(plugin = "kotlinx-atomicfu")` in allprojects below solve the issue but can be deleted in future when
// the issue is resolved https://github.com/Kotlin/kotlinx-atomicfu/issues/469
buildscript {
dependencies {
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.23.1")
}
}
allprojects {
repositories {
mavenCentral()
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://www.jetbrains.com/intellij-repository/releases")
maven("https://cache-redirector.jetbrains.com/intellij-dependencies")
// Repo for the backported Android IntelliJ Plugin by Jetbrains used in Ultimate
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-ide-plugin-dependencies/")
maven("https://jitpack.io") {
content { includeGroup("com.github.requery") }
}
}
configurations.configureEach {
exclude(group = "com.jetbrains.rd")
exclude(group = "com.github.jetbrains", module = "jetCheck")
exclude(group = "com.jetbrains.intellij.platform", module = "wsl-impl")
exclude(group = "org.roaringbitmap")
exclude(group = "com.jetbrains.infra")
exclude(group = "org.jetbrains.teamcity")
exclude(group = "org.roaringbitmap")
exclude(group = "ai.grazie.spell")
exclude(group = "ai.grazie.model")
exclude(group = "ai.grazie.utils")
exclude(group = "ai.grazie.nlp")
}
//
apply(plugin = "kotlinx-atomicfu")
}
subprojects {
val GROUP: String by project
val LIBRARY_VERSION: String by project
group = GROUP
version = LIBRARY_VERSION
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}