Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 26 additions & 9 deletions sdk/java/core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
group = "com.keepersecurity.secrets-manager"

// During publishing, If version ends with '-SNAPSHOT' then it will be published to Maven snapshot repository
version = "17.1.1"
version = "17.1.2"

plugins {
`java-library`
kotlin("jvm") version "2.2.0"
kotlin("plugin.serialization") version "2.2.0"
kotlin("jvm") version "2.2.10"
kotlin("plugin.serialization") version "2.2.10"
`maven-publish`
id("org.jreleaser") version "1.18.0"
id("org.jreleaser") version "1.20.0"
}

java {
Expand Down Expand Up @@ -40,18 +40,18 @@ repositories {

dependencies {
// Align versions of all Kotlin components
implementation(platform("org.jetbrains.kotlin:kotlin-bom:2.2.0"))
implementation(platform("org.jetbrains.kotlin:kotlin-bom:2.2.10"))

// Use the Kotlin JDK 8 standard library.
api("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.2.0")
api("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.2.10")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
implementation("org.jetbrains.kotlin:kotlin-reflect:2.2.0")
implementation("org.jetbrains.kotlin:kotlin-reflect:2.2.10")

// Use the Kotlin test library.
testImplementation("org.jetbrains.kotlin:kotlin-test:2.2.0")
testImplementation("org.jetbrains.kotlin:kotlin-test:2.2.10")

// Use the Kotlin JUnit integration.
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.2.0")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.2.10")

testImplementation("org.bouncycastle:bc-fips:2.1.1")
// testImplementation("org.bouncycastle:bcprov-jdk15on:1.70")
Expand All @@ -66,6 +66,23 @@ tasks.jar {
}
}

tasks.register<Jar>("fatJar") {
archiveClassifier.set("fat")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

manifest {
attributes(
"Implementation-Title" to "Keeper Secrets Manager Client Library",
"Implementation-Version" to archiveVersion
)
}

from(sourceSets.main.get().output)
from(configurations.runtimeClasspath.get().map {
if (it.isDirectory) it else zipTree(it)
})
//with(tasks.jar.get() as CopySpec)
}

java {
withJavadocJar()
Expand Down
2 changes: 1 addition & 1 deletion sdk/java/core/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Gradle 9.0+ requires Java 17 or higher
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip

zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import java.util.*
import java.util.concurrent.*
import javax.net.ssl.*

const val KEEPER_CLIENT_VERSION = "mj17.1.1"
const val KEEPER_CLIENT_VERSION = "mj17.1.2"

const val KEY_HOSTNAME = "hostname" // base url for the Secrets Manager service
const val KEY_SERVER_PUBIC_KEY_ID = "serverPublicKeyId"
Expand Down
Loading