<commit_before># java-compatibility
Add java api classes to bootclasspath when sourceCompatibility is set.

# usage

apply plugin: java-compatibility

sourceCompatibility = 1.6

# how it works

* The plugin search in JAVA_HOME parent directory which in most distribution contains all jdk and jre versions.
* If JDK*_HOME is defined, it's taken in the first place.

# tests

Tested with java 7 and 8 compilers on java 6, 7 and 8 compatibility.<commit_msg>Spoke about rt.jar in README<commit_after># java-compatibility
Add java api classes to bootclasspath when sourceCompatibility is set.

# usage

apply plugin: java-compatibility

sourceCompatibility = 1.6

# how it works

* The plugin search for rt.jar in JAVA_HOME parent directory which in most distribution contains all jdk and jre versions.
* If JDK*_HOME is defined, it's taken in the first place.

# tests

Tested with java 7 and 8 compilers on java 6, 7 and 8 compatibility.
{'fraction_non_alphanumeric': 0.04925053533190578, 'fraction_numerical': 0.014989293361884369, 'mean_word_length': 4.404624277456647, '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': '5225527', 'n_tokens_mistral': 283, 'n_tokens_neox': 263, 'n_words': 131}