Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
deniss-kaibagarovs committed Feb 22, 2024
1 parent f7ba863 commit 314a418
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions buildSrc/src/main/kotlin/publish.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import com.android.build.gradle.LibraryExtension
import java.io.FileInputStream
import java.util.Properties

/**
* The following plugin tasks care of setting up:
Expand Down Expand Up @@ -49,21 +51,21 @@ val sourcesJar = tasks.register<Jar>("sourcesJar") {
// }

/**Create credentials.properties in root project folder file with gpr.user=GITHUB_USER_ID & gpr.key=PERSONAL_ACCESS_TOKEN**/
// val credentialProperties = Properties()
// credentialProperties.load(FileInputStream(rootProject.file("credentials.properties")))
val credentialProperties = Properties()
credentialProperties.load(FileInputStream(rootProject.file("credentials.properties")))

afterEvaluate {

publishing {
repositories {
// maven {
// name = "GitHubPackages"
// url = uri("https://maven.pkg.github.com/Dojo-Engineering/android-dojo-pay-sdk")
// credentials {
// username = credentialProperties["gpr.user"] as String
// password = credentialProperties["gpr.key"] as String
// }
// }
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Dojo-Engineering/android-dojo-pay-sdk")
credentials {
username = credentialProperties["gpr.user"] as String
password = credentialProperties["gpr.key"] as String
}
}
}

publications {
Expand Down
2 changes: 1 addition & 1 deletion uisdk/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "1.3.6"
version = "1.3.7"

plugins {
id("com.android.library")
Expand Down

0 comments on commit 314a418

Please sign in to comment.