From e025e2b4e59366806ab80c0044a9044ceedd2706 Mon Sep 17 00:00:00 2001 From: Shrikanth Ravi Date: Thu, 31 Mar 2022 13:51:11 +0530 Subject: [PATCH] Update build.gradle.kts Minor changes --- library/build.gradle.kts | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 296a349..2eae263 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -10,8 +10,8 @@ group = "com.github.ZuperInc" android { - defaultConfig.versionCode = 100 - defaultConfig.versionName = "1.0.0" + defaultConfig.versionCode = 102 + defaultConfig.versionName = "1.0.2" tasks.withType { kotlinOptions { @@ -42,13 +42,16 @@ dependencies { androidTestImplementation(ComposeTest.Core) } -publishing { - publications { - create("maven") { - groupId = "com.github.ZuperInc" - artifactId = "ComposeCalendar" - version = "1.0.0" - from(components.findByName("release")) + +afterEvaluate { + publishing { + publications { + create("maven") { + groupId = "com.github.ZuperInc" + artifactId = "ComposeCalendar" + version = "1.0.2" + from(components["release"]) + } } } }