From 8b8944e6cbf50550863e642eb9b45eed463fcc71 Mon Sep 17 00:00:00 2001 From: Eugene Levenetc Date: Sat, 23 May 2020 01:32:08 +0200 Subject: [PATCH] maven-publish: update deprecated call --- samples/maven-publish/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }