<commit_before>#!/bin/bash

# Do the Gradle build
./gradlew --scan build --build-cache || exit 1
./gradlew npmTest --build-cache || exit 1

if [ "$TRAVIS_REPO_SLUG" == "diffplug/spotless" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
	# Make sure that all pom are up-to-date
	./gradlew generatePomFileForPluginMavenPublication --build-cache
	# Publish the artifacts
	./gradlew publish publishPlugins -Dgradle.publish.key=$gradle_key -Dgradle.publish.secret=$gradle_secret --build-cache || exit 1
	# Push the javadoc
	./gradlew publishGhPages --build-cache || exit 1
fi<commit_msg>Temporarily print stacktraces for CI investigation<commit_after>#!/bin/bash

# Do the Gradle build
./gradlew --scan build --build-cache --stacktrace || exit 1
./gradlew npmTest --build-cache --stacktrace || exit 1

if [ "$TRAVIS_REPO_SLUG" == "diffplug/spotless" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
	# Make sure that all pom are up-to-date
	./gradlew generatePomFileForPluginMavenPublication --build-cache
	# Publish the artifacts
	./gradlew publish publishPlugins -Dgradle.publish.key=$gradle_key -Dgradle.publish.secret=$gradle_secret --build-cache || exit 1
	# Push the javadoc
	./gradlew publishGhPages --build-cache || exit 1
fi
{'fraction_non_alphanumeric': 0.14296694850115296, 'fraction_numerical': 0.006149116064565719, 'mean_word_length': 4.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1900998', 'n_tokens_mistral': 473, 'n_tokens_neox': 431, 'n_words': 114}