<commit_before>import org.gradle.plugins.ide.eclipse.model.Classpath
import org.gradle.plugins.ide.eclipse.model.ProjectDependency

description = "JUnit Jupiter API"

dependencies {
	api("org.opentest4j:opentest4j:${Versions.ota4j}")
	api(project(":junit-platform-commons"))
	compileOnly("org.jetbrains.kotlin:kotlin-stdlib")
	runtimeOnly(project(":junit-jupiter-engine"))
}

tasks.jar {
	manifest {
		attributes(
			"Automatic-Module-Name" to "org.junit.jupiter.api"
		)
	}
}

// Remove runtimeOnly dependency on junit-jupiter-engine and junit-platform-engine.
// See https://github.com/junit-team/junit5/issues/1669
eclipse.classpath.file.whenMerged(Action<Classpath> {
	entries.removeAll {
		it is ProjectDependency &&
				(it.path.contains("junit-jupiter-engine") || it.path.contains("junit-platform-engine"))
	}
})<commit_msg>Remove runtime dependency from Jupiter API to its Engine<commit_after>description = "JUnit Jupiter API"

dependencies {
	api("org.opentest4j:opentest4j:${Versions.ota4j}")
	api(project(":junit-platform-commons"))
	compileOnly("org.jetbrains.kotlin:kotlin-stdlib")
}

tasks.jar {
	manifest {
		attributes(
			"Automatic-Module-Name" to "org.junit.jupiter.api"
		)
	}
}
{'fraction_non_alphanumeric': 0.14774624373956594, 'fraction_numerical': 0.009181969949916527, 'mean_word_length': 5.377659574468085, 'pattern_counts': {'":': 3, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '6262966', 'n_tokens_mistral': 441, 'n_tokens_neox': 412, 'n_words': 57}