Skip to content

Commit

Permalink
Version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Oct 11, 2024
1 parent c4edeff commit 69b77a8
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cache-disabled: true

- name: Publish snapshot to Maven Central
run: ./gradlew publishToMavenCentral -Pversion=0.4.0-SNAPSHOT --no-configuration-cache
run: ./gradlew publishToMavenCentral -Pversion=0.4.1-SNAPSHOT --no-configuration-cache
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{secrets.signingKey}}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{secrets.signingPassword}}
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ The library is published to Maven Central, so make sure, that it’s added to re
kotlin {
sourceSets {
commonMain.dependencies {
implementation("dev.whyoleg.cryptography:cryptography-core:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-core:0.4.0")
}
// or androidMain
jvmMain.dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-jdk:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-jdk:0.4.0")
}
appleMain.dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-apple:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-apple:0.4.0")
// or openssl3 provider with better algorithms coverage and other native targets support
// implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-prebuilt:0.3.1")
// implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-prebuilt:0.4.0")
}
wasmJsMain.dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-webcrypto:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-webcrypto:0.4.0")
}
}
}
Expand All @@ -69,7 +69,7 @@ repositories {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-core:0.4.0-SNAPSHOT")
implementation("dev.whyoleg.cryptography:cryptography-core:0.4.1-SNAPSHOT")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-bigint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ println(bigInt > 0) // prints "true"

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-bigint:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-bigint:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CryptographyProvider.Default

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-core:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-core:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-providers/apple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ provider.get(SHA512)

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-apple:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-apple:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-providers/jdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ provider.get(SHA512)

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-jdk:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-jdk:0.4.0")
}
```

Expand Down
6 changes: 3 additions & 3 deletions cryptography-providers/openssl3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ provider.get(SHA512)

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-api:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-api:0.4.0")
// or
implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-shared:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-shared:0.4.0")
// or
implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-prebuilt:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-openssl3-prebuilt:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-providers/webcrypto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ provider.get(SHA512)

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-provider-webcrypto:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-provider-webcrypto:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-random/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ val bytes: ByteArray = CryptographyRandom.nextBytes(20)

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-random:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-random:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-serialization/asn1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ println(decoded.algorithm.value) // prints "1.2.840.113549.1.1.11"

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-serialization-asn1:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-serialization-asn1:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-serialization/asn1/modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ val spkiPublicKey: ByteArray = DER.encodeToByteArray(

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-serialization-asn1-modules:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-serialization-asn1-modules:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cryptography-serialization/pem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ println(decodedPemContent.bytes.decodeToString()) // prints "Hello World"

```kotlin
dependencies {
implementation("dev.whyoleg.cryptography:cryptography-serialization-pem:0.3.1")
implementation("dev.whyoleg.cryptography:cryptography-serialization-pem:0.4.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/bom.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ of all modules because of direct dependency on the BOM module

```kotlin
dependencies {
implementation(platform("dev.whyoleg.cryptography:cryptography-bom:0.3.1"))
implementation(platform("dev.whyoleg.cryptography:cryptography-bom:0.4.0"))

// now you can declare other dependencies without a version
implementation("dev.whyoleg.cryptography:cryptography-core")
Expand Down
4 changes: 2 additions & 2 deletions docs/gradle-version-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Configure `settings.gradle.kts`:
dependencyResolutionManagement {
versionCatalogs {
create("cryptographyLibs") {
from("dev.whyoleg.cryptography:cryptography-version-catalog:0.3.1")
from("dev.whyoleg.cryptography:cryptography-version-catalog:0.4.0")
}
}
}
Expand All @@ -33,7 +33,7 @@ Paste into `libs.versions.toml`:

```toml
[versions]
cryptography = "0.3.1"
cryptography = "0.4.0"

[libraries]
cryptography-core = { group = "dev.whyoleg.cryptography", name = "cryptography-core", version.ref = "cryptography" }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

group=dev.whyoleg.cryptography
version=0.3.1
version=0.4.0
#Kotlin
kotlin.mpp.import.enableKgpDependencyResolution=true
kotlin.mpp.enableCInteropCommonization=true
Expand Down
2 changes: 1 addition & 1 deletion tests-publication/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencyResolutionManagement {

versionCatalogs {
create("cryptographyLibs") {
from("dev.whyoleg.cryptography:cryptography-version-catalog:0.3.1")
from("dev.whyoleg.cryptography:cryptography-version-catalog:0.4.0")
}
}
}
Expand Down

0 comments on commit 69b77a8

Please sign in to comment.