<commit_before>package com.bugsnag.android.gradle

import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.Property

interface AndroidManifestInfoReceiver {
    val manifestInfoFile: RegularFileProperty
    val versionCode: Property<Int>
}

internal fun AndroidManifestInfoReceiver.parseManifestInfo(): AndroidManifestInfo {
    return AndroidManifestInfo.read(manifestInfoFile.asFile.get(), versionCode.orNull)
}<commit_msg>Make AndroidManifestInfoReceiver extend task for easy filtering<commit_after>package com.bugsnag.android.gradle

import org.gradle.api.Task
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.Property

interface AndroidManifestInfoReceiver : Task {
    val manifestInfoFile: RegularFileProperty
    val versionCode: Property<Int>
}

internal fun AndroidManifestInfoReceiver.parseManifestInfo(): AndroidManifestInfo {
    return AndroidManifestInfo.read(manifestInfoFile.asFile.get(), versionCode.orNull)
}
{'fraction_non_alphanumeric': 0.07566462167689161, 'fraction_numerical': 0.0, 'mean_word_length': 6.895161290322581, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2563437', 'n_tokens_mistral': 265, 'n_tokens_neox': 262, 'n_words': 51}