Skip to content

Commit

Permalink
Merge pull request #159 from veritrans/nexus-signature-validation-error
Browse files Browse the repository at this point in the history
[CHEC-1025]Fix Nexus signature validation error
  • Loading branch information
uziwuzzy authored Apr 5, 2024
2 parents db15c9a + ed72d28 commit 8b74d6a
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ android {

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
versionCode = 5
versionName = "2.0.1"
versionName = "2.1.0"
}

signingConfigs {
Expand Down Expand Up @@ -75,6 +75,7 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}
namespace = "com.midtrans.sdk.sample"

publishing {
singleVariant("release") {
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.midtrans.sdk.sample">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.2")
classpath("com.android.tools.build:gradle:7.4.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
classpath("org.jacoco:org.jacoco.core:$jacoco_version")
classpath("org.jfrog.buildinfo:build-info-extractor-gradle:4.18.2")
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed May 25 13:34:37 GMT+07:00 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
12 changes: 10 additions & 2 deletions ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ plugins {
id("kotlin-kapt")
id("kotlin-parcelize")
id("maven-publish")
id("signing")
}

//from publish-variables.gradle
Expand Down Expand Up @@ -92,9 +93,10 @@ android {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

packagingOptions {
exclude("META-INF/*.kotlin_module")
resources {
excludes += setOf("META-INF/*.kotlin_module")
}
}

buildFeatures {
Expand All @@ -108,6 +110,7 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}
namespace = "com.midtrans.sdk.uikit"

publishing {
singleVariant("release") {
Expand Down Expand Up @@ -276,3 +279,8 @@ afterEvaluate {
}
}
}

signing {
sign(publishing.publications)
}

2 changes: 1 addition & 1 deletion ui/publish-variables.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext {
sdkGroupId = 'com.midtrans'
sdkVersion = '2.0.1'
sdkVersion = '2.1.0'
sdkArtifactId = 'uikit'
sdkEnvSandbox = '-SANDBOX'
mavenRepo = 'mavencentral'
Expand Down
3 changes: 1 addition & 2 deletions ui/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.midtrans.sdk.uikit">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET"/>
Expand Down

0 comments on commit 8b74d6a

Please sign in to comment.