forked from MobileNativeFoundation/Store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
41 lines (37 loc) · 1.1 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
buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20")
classpath("com.android.tools.build:gradle:7.2.0")
classpath ("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.17.0")
classpath ("com.squareup.sqldelight:gradle-plugin:1.5.3")
}
}
allprojects {
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/ktor/eap")
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
subprojects {
afterEvaluate {
project.extensions.findByType<org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension>()?.let { ext ->
ext.sourceSets.removeAll { sourceSet ->
setOf(
"androidAndroidTestRelease",
"androidTestFixtures",
"androidTestFixturesDebug",
"androidTestFixturesRelease",
).contains(sourceSet.name)
}
}
}
}