From f5eb469d1dc52ec4e64837e3b6df9229d9bbcf5a Mon Sep 17 00:00:00 2001 From: Ryan Brooks Date: Thu, 19 Sep 2024 16:19:36 -0700 Subject: [PATCH] Fix for property to be internal --- .../com/emergetools/android/gradle/tasks/size/UploadAPK.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle-plugin/plugin/src/main/kotlin/com/emergetools/android/gradle/tasks/size/UploadAPK.kt b/gradle-plugin/plugin/src/main/kotlin/com/emergetools/android/gradle/tasks/size/UploadAPK.kt index bf8db001..05cf14ac 100644 --- a/gradle-plugin/plugin/src/main/kotlin/com/emergetools/android/gradle/tasks/size/UploadAPK.kt +++ b/gradle-plugin/plugin/src/main/kotlin/com/emergetools/android/gradle/tasks/size/UploadAPK.kt @@ -8,6 +8,7 @@ import org.gradle.api.file.DirectoryProperty import org.gradle.api.file.RegularFileProperty import org.gradle.api.tasks.InputDirectory import org.gradle.api.tasks.InputFile +import org.gradle.api.tasks.Internal import org.gradle.api.tasks.Optional import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity @@ -27,6 +28,7 @@ abstract class UploadAPK : BaseUploadTask() { @get:PathSensitive(PathSensitivity.NAME_ONLY) abstract val proguardMapping: RegularFileProperty + @get:Internal protected val primaryArtifact: File get() { val apks = artifactDir.get().asFileTree.filter { it.extension == APK_EXTENSION }