<commit_before>package org.gradle.api.plugins.shadow

import org.gradle.api.Project

class ShadowTaskExtension {

    public static final NAME = "shadow"

    List<String> includes = []
    List<String> excludes = []
    String destinationDir = "${project.buildDir}/libs/"
    String baseName = "${project.archivesBaseName}-shadow-${project.version}"
    String extension = "jar"
    boolean stats = false

    private final Project project

    ShadowTaskExtension(Project project) {
        this.project = project
    }

    File getShadowJar() {
        return new File(destinationDir, "$baseName.$extension")
    }

    File getSignedLibsDir() {
        return new File(destinationDir, "signedLibs/")
    }

    ShadowTaskExtension exclude(String s) {
        excludes << s
        this
    }

    ShadowTaskExtension include(String s) {
        includes << s
        this
    }

}
<commit_msg>automatically exclude the META-INF/INDEX.LIST files<commit_after>package org.gradle.api.plugins.shadow

import org.gradle.api.Project

class ShadowTaskExtension {

    public static final NAME = "shadow"

    List<String> includes = []
    List<String> excludes = ['META-INF/INDEX.LIST']
    String destinationDir = "${project.buildDir}/libs/"
    String baseName = "${project.archivesBaseName}-shadow-${project.version}"
    String extension = "jar"
    boolean stats = false

    private final Project project

    ShadowTaskExtension(Project project) {
        this.project = project
    }

    File getShadowJar() {
        return new File(destinationDir, "$baseName.$extension")
    }

    File getSignedLibsDir() {
        return new File(destinationDir, "signedLibs/")
    }

    ShadowTaskExtension exclude(String s) {
        excludes << s
        this
    }

    ShadowTaskExtension include(String s) {
        includes << s
        this
    }

}

{'fraction_non_alphanumeric': 0.10242587601078167, 'fraction_numerical': 0.0, 'mean_word_length': 2.7955010224948875, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 7, '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': '3752597', 'n_tokens_mistral': 537, 'n_tokens_neox': 507, 'n_words': 123}