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 }