Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class PrivacySentryPlugin : Plugin<Project> {
)
)
it.variant = variant
it.applicationId = variant.namespace.get()
it.applicationId = variant.namespace
it.bootClasspath = androidComponents.sdkComponents.bootClasspath
}
variant.artifacts.forScope(ScopedArtifacts.Scope.ALL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import java.util.zip.ZipInputStream
*/
abstract class PrivacyTransformTask : DefaultTask() {
@get:Input
abstract var applicationId: String
abstract var applicationId: Provider<String>

@get:Internal
abstract var preTransformers: Collection<Transformer>
Expand Down Expand Up @@ -73,7 +73,7 @@ abstract class PrivacyTransformTask : DefaultTask() {
@TaskAction
fun taskAction() {
val context = object : PrivacyTransformInvocation(
applicationId,
applicationId.get(),
variant.name,
bootClasspath.get().map(RegularFile::getAsFile),
compileClasspath,
Expand Down