Skip to content

Commit

Permalink
Enable source information
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Nov 26, 2024
1 parent 5d33bfc commit d7ae815
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package com.google.accompanist
import com.android.build.api.dsl.CommonExtension
import org.gradle.api.Project
import org.gradle.api.provider.Provider
import org.gradle.kotlin.dsl.assign
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.dependencies
import org.jetbrains.kotlin.compose.compiler.gradle.ComposeCompilerGradlePluginExtension
Expand Down Expand Up @@ -59,5 +58,9 @@ internal fun Project.configureAndroidCompose(
project.providers.gradleProperty("enableComposeCompilerReports").onlyIfTrue()
.relativeToRootProject("compose-reports")
.let(reportsDestination::set)

// We include source information to match how the main Compose libraries are shipped.
// This allows accompanist to be displayed properly in the layout inspector and systrace
includeSourceInformation.set(true)
}
}

0 comments on commit d7ae815

Please sign in to comment.