diff --git a/build.gradle.kts b/build.gradle.kts index 80cea802..3f47e1bc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,6 +25,9 @@ dependencies { java { + toolchain { + languageVersion = JavaLanguageVersion.of(17) + } withSourcesJar() withJavadocJar() } @@ -54,8 +57,6 @@ publishing { publications { create("mavenJava") { from(components["java"]) - artifact(tasks.named("sourcesJar")) - artifact(tasks.named("javadocJar")) pom { name.set("IntelliJ common UI test library") description.set("Common utilities for IntelliJ UI testing")