-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
66 lines (61 loc) · 2.39 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
plugins {
alias(libs.plugins.fgp.android).apply(false)
alias(libs.plugins.fgp.jvm).apply(false)
alias(libs.plugins.fgp.multiplatform).apply(false)
alias(libs.plugins.fgp.gradle).apply(false)
alias(libs.plugins.fgp.publish).apply(false)
alias(libs.plugins.kotlin.android).apply(false)
alias(libs.plugins.kotlin.jvm).apply(false)
alias(libs.plugins.kotlin.parcelize).apply(false)
alias(libs.plugins.kotlin.multiplatform).apply(false)
alias(libs.plugins.kotlin.serialization).apply(false)
alias(libs.plugins.android.library).apply(false)
alias(libs.plugins.compose).apply(false)
alias(libs.plugins.poko).apply(false)
alias(libs.plugins.ksp).apply(false)
alias(libs.plugins.dokka).apply(false)
alias(libs.plugins.publish).apply(false)
alias(libs.plugins.dependency.analysis).apply(false)
alias(libs.plugins.fgp.root)
alias(libs.plugins.binarycompatibility)
}
dependencyAnalysis {
issues {
all {
onAny {
// issue with Kotlin multiplatform artifacts
exclude(
"com.eygraber:uri-kmp",
"com.eygraber:uri-kmp-android",
"com.eygraber:uri-kmp-android-debug",
)
}
}
project(":codegen-compiler-test") {
onUnusedDependencies {
// needed for compile testing
exclude(
"androidx.compose.runtime:runtime",
"org.jetbrains.kotlin:kotlin-stdlib-jdk8",
"org.jetbrains.kotlin:kotlin-compiler-embeddable",
"dev.zacsweers.anvil:annotations",
"dev.zacsweers.anvil:annotations-optional",
"com.google.dagger:dagger",
":codegen",
":codegen-compiler",
":navigation-compose",
":navigation-experimental",
)
}
}
}
}
apiValidation {
ignoredProjects += arrayOf("codegen-compiler", "codegen-compiler-test")
nonPublicMarkers += arrayOf(
"com.freeletics.khonshu.navigation.internal.InternalNavigationApi",
"com.freeletics.khonshu.navigation.internal.InternalNavigationCodegenApi",
"com.freeletics.khonshu.navigation.internal.InternalNavigationTestingApi",
"com.freeletics.khonshu.codegen.internal.InternalCodegenApi",
)
}