Make build-logic extension internal

Those extensions *will* be accessible in build.gradle.kts if not made internal.
They are used to configure the conventions plugins internally.
They should not be accessible by the consumer Gradle modules.
pull/38/head
satyan 3 years ago committed by sjcqs
parent 39a97cc5e9
commit 35e6a5fd41

@ -25,7 +25,7 @@ import org.gradle.kotlin.dsl.getByType
/**
* Configure Compose-specific options
*/
fun Project.configureAndroidCompose(
internal fun Project.configureAndroidCompose(
commonExtension: CommonExtension<*, *, *, *>,
) {
val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")

@ -36,7 +36,7 @@ private val coverageExclusions = listOf(
"**/Manifest*.*"
)
fun Project.configureJacoco(
internal fun Project.configureJacoco(
androidComponentsExtension: AndroidComponentsExtension<*, *, *>,
) {
val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")

@ -28,7 +28,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions
/**
* Configure base Kotlin with Android options
*/
fun Project.configureKotlinAndroid(
internal fun Project.configureKotlinAndroid(
commonExtension: CommonExtension<*, *, *, *>,
) {
commonExtension.apply {

Loading…
Cancel
Save