-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
39 lines (35 loc) · 1.27 KB
/
build.gradle
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
ext {
compose_bom = '2023.10.01'
core_ktx_version = '1.12.0'
compose_compiler_version = '1.5.6'
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.25.3'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.8.20'
}
}
plugins {
id 'com.android.application' version '8.2.0' apply false
id 'com.android.library' version '8.2.0' apply false
id 'org.jetbrains.kotlin.android' version '1.9.21' apply false
}
subprojects {
tasks.withType(KotlinCompile).configureEach {
compilerOptions {
if (project.findProperty("combo-breaker.enableComposeCompilerReports") == "true") {
freeCompilerArgs += [
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
project.buildDir.absolutePath + "/metrics"
]
freeCompilerArgs += [
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
project.buildDir.absolutePath + "/metrics"
]
}
}
}
}