diff --git a/samples/maven-publish/build.gradle.kts b/samples/maven-publish/build.gradle.kts index 8c28c0ed6..8c12fb0ec 100644 --- a/samples/maven-publish/build.gradle.kts +++ b/samples/maven-publish/build.gradle.kts @@ -13,11 +13,11 @@ repositories { } dependencies { - compile(kotlin("stdlib")) + implementation(kotlin("stdlib")) } val sourcesJar by tasks.registering(Jar::class) { - classifier = "sources" + archiveClassifier.set("sources") from(sourceSets.main.get().allSource) }