diff --git a/build.gradle.kts b/build.gradle.kts index 78a08fdb..807c779e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -105,11 +105,14 @@ tasks.withType(Test::class) { tasks.test { exclude("**/Pnpm*Test*") - if (project.hasProperty("skipIT")) { - exclude("**/*_integTest*") - } else if (project.hasProperty("onlyIT")) { - include("**/*_integTest*") - } +} + +tasks.register("unitTests") { + exclude("**/*_integTest*") +} + +tasks.register("integrationTests") { + include("**/*_integTest*") } tasks.register("pnpmTests") {