Skip to content

Commit

Permalink
Fix Gradle 8 dependency issue for uploadNativeSymbols task (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
markushi committed Mar 14, 2023
1 parent 2bad742 commit 5d73d6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Expand Up @@ -180,7 +180,6 @@ private fun ApplicationVariant.configureNativeSymbolsTask(
SentryUploadNativeSymbolsTask::class.java
) {
it.workingDir(project.rootDir)
it.buildDir.set(project.buildDir)
it.autoUploadNativeSymbol.set(extension.autoUploadNativeSymbols)
it.cliExecutable.set(cliExecutable)
it.sentryProperties.set(sentryProps?.let { file -> project.file(file) })
Expand Down
Expand Up @@ -20,9 +20,6 @@ abstract class SentryUploadNativeSymbolsTask : Exec() {
description = "Uploads native symbols to Sentry"
}

@get:InputDirectory
abstract val buildDir: DirectoryProperty

@get:Input
abstract val cliExecutable: Property<String>

Expand Down Expand Up @@ -91,7 +88,7 @@ abstract class SentryUploadNativeSymbolsTask : Exec() {
// where {variantName} could be debug/release...
args.add(
File(
buildDir.asFile.get(),
project.buildDir,
"intermediates${sep}merged_native_libs${sep}${variantName.get()}"
).absolutePath
)
Expand Down

0 comments on commit 5d73d6c

Please sign in to comment.