From 683e622c0169d8c9003487b193ae11a2c8e7976a Mon Sep 17 00:00:00 2001 From: muhammad fauzi masykur Date: Mon, 1 Apr 2024 06:01:17 +0700 Subject: [PATCH 1/3] bump sdk version --- app/build.gradle.kts | 2 +- ui/publish-variables.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e518c783..66fa1e19 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -18,7 +18,7 @@ android { testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" versionCode = 5 - versionName = "2.0.1" + versionName = "2.1.0" } signingConfigs { diff --git a/ui/publish-variables.gradle b/ui/publish-variables.gradle index 05118328..d3ddfa3a 100644 --- a/ui/publish-variables.gradle +++ b/ui/publish-variables.gradle @@ -1,6 +1,6 @@ ext { sdkGroupId = 'com.midtrans' - sdkVersion = '2.0.1' + sdkVersion = '2.1.0' sdkArtifactId = 'uikit' sdkEnvSandbox = '-SANDBOX' mavenRepo = 'mavencentral' From 8357ed5e68f096e8585d7ff342827edba6127bcb Mon Sep 17 00:00:00 2001 From: muhammad fauzi masykur Date: Wed, 3 Apr 2024 12:29:52 +0700 Subject: [PATCH 2/3] upgrade gradle --- app/build.gradle.kts | 1 + app/src/main/AndroidManifest.xml | 3 +-- build.gradle.kts | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- ui/build.gradle.kts | 6 ++++-- ui/src/main/AndroidManifest.xml | 3 +-- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 66fa1e19..c0d8dc61 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -75,6 +75,7 @@ android { kotlinOptions { jvmTarget = "1.8" } + namespace = "com.midtrans.sdk.sample" publishing { singleVariant("release") { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 21e35689..cdbac68e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ - + - + From ed72d28a4656c6068e5ef0ce726663cd7e4c47c9 Mon Sep 17 00:00:00 2001 From: muhammad fauzi masykur Date: Wed, 3 Apr 2024 12:30:34 +0700 Subject: [PATCH 3/3] add signing on publish task --- ui/build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts index a60e4ae1..2d0e5d8b 100644 --- a/ui/build.gradle.kts +++ b/ui/build.gradle.kts @@ -9,6 +9,7 @@ plugins { id("kotlin-kapt") id("kotlin-parcelize") id("maven-publish") + id("signing") } //from publish-variables.gradle @@ -278,3 +279,8 @@ afterEvaluate { } } } + +signing { + sign(publishing.publications) +} +