Skip to content

Commit

Permalink
Prepare 0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm committed Nov 30, 2023
1 parent 02837c1 commit 9adcad8
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 450 deletions.
436 changes: 13 additions & 423 deletions .kotlin-js-store/yarn.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## Version 0.4.0 (2023-11-30)
- Updates `core` to `0.4.0`
- Updates `endians` to `0.2.0`
- Updates `hash` to `0.4.0`
- Updates `macs` to `0.4.0`
- Updates `secureRandom` to `0.2.0`
- Updates `sponges` to `0.2.0`

## Version 0.3.0 (2023-06-28)
- Updates `core` to `0.3.0`
- Updates `hash` to `0.3.0`
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencyResolutionManagement {
versionCatalogs {
create("kotlincrypto") {
// https://github.com/KotlinCrypto/version-catalog/blob/master/gradle/kotlincrypto.versions.toml
from("org.kotlincrypto:version-catalog:0.3.0")
from("org.kotlincrypto:version-catalog:0.4.0")
}
}
}
Expand All @@ -40,7 +40,7 @@ dependencies {
```

<!-- TAG_VERSION -->
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.3.0-blue.svg?style=flat
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.4.0-blue.svg?style=flat
[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat

[url-latest-release]: https://github.com/KotlinCrypto/version-catalog/releases/latest
Expand Down
7 changes: 5 additions & 2 deletions build-logic/src/main/kotlin/configuration.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,19 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED
import org.gradle.api.tasks.testing.logging.TestLogEvent.PASSED
import org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED
import org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_ERROR
import org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_OUT
import org.gradle.api.tasks.testing.logging.TestLogEvent.STARTED

plugins {
id("io.matthewnelson.kmp.configuration")
}

tasks.withType<Test> {
tasks.withType<AbstractTestTask> {
testLogging {
exceptionFormat = TestExceptionFormat.FULL
events(STARTED, PASSED, SKIPPED, FAILED)
events(STARTED, PASSED, SKIPPED, FAILED, STANDARD_ERROR, STANDARD_OUT)
showStandardStreams = true
showStackTraces = true
}
}
9 changes: 7 additions & 2 deletions build-logic/src/main/kotlin/publication.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.gradle.plugins.signing.SigningExtension

/*
* Copyright (c) 2023 Matthew Nelson
*
Expand All @@ -15,6 +13,8 @@ import org.gradle.plugins.signing.SigningExtension
* See the License for the specific language governing permissions and
* limitations under the License.
**/
import org.gradle.plugins.signing.SigningExtension

plugins {
id("com.vanniktech.maven.publish")
}
Expand All @@ -24,3 +24,8 @@ if (!version.toString().endsWith("-SNAPSHOT")) {
useGpgCmd()
}
}

tasks.withType<AbstractArchiveTask>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension

@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.multiplatform) apply(false)
alias(libs.plugins.gradleVersions)
Expand Down Expand Up @@ -59,6 +58,7 @@ tasks.withType<DependencyUpdatesTask> {
// Example 3: using the full syntax
resolutionStrategy {
componentSelection {
@Suppress("RedundantSamConstructor")
all(Action {
if (isNonStable(candidate.version) && !isNonStable(currentVersion)) {
reject("Release candidate")
Expand Down
8 changes: 3 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ org.gradle.parallel=true
org.gradle.caching=true

kotlin.code.style=official
kotlin.js.compiler=both
kotlin.mpp.enableCompatibilityMetadataVariant=true
kotlin.mpp.applyDefaultHierarchyTemplate=false
kotlin.mpp.stability.nowarn=true
kotlin.native.binary.memoryModel=experimental
kotlin.native.ignoreDisabledTargets=true

SONATYPE_HOST=S01
Expand All @@ -29,10 +27,10 @@ POM_DEVELOPER_ID=KotlinCrypto
POM_DEVELOPER_NAME=Kotlin Crypto
POM_DEVELOPER_URL=https://github.com/KotlinCrypto/

VERSION_NAME=0.3.1-SNAPSHOT
VERSION_NAME=0.4.0
# 0.1.0-alpha01 = 00 01 00 11
# 0.1.0-beta01 = 00 01 00 21
# 0.1.0-rc01 = 00 01 00 31
# 0.1.0 = 00 01 00 99
# 1.1.0 = 01 01 00 99
VERSION_CODE=30199
VERSION_CODE=40099
12 changes: 6 additions & 6 deletions gradle/kotlincrypto.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[versions]
core = "0.3.0"
endians = "0.1.0"
hash = "0.3.0"
macs = "0.3.0"
secureRandom = "0.1.0"
sponges = "0.1.0"
core = "0.4.0"
endians = "0.2.0"
hash = "0.4.0"
macs = "0.4.0"
secureRandom = "0.2.0"
sponges = "0.2.0"

[libraries]
# https://github.com/KotlinCrypto/core
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[versions]
configuration = "0.1.1"
gradleVersions = "0.46.0"
kotlin = "1.8.21"
publish = "0.25.2"
configuration = "0.1.5"
gradleVersions = "0.50.0"
kotlin = "1.9.21"
publish = "0.25.3"

[libraries]
gradle-kmp-configuration = { module = "io.matthewnelson:gradle-kmp-configuration-plugin", version.ref = "configuration" }
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

# https://gradle.org/release-checksums/
distributionSha256Sum=5625a0ae20fe000d9225d000b36909c7a0e0e8dda61c19b12da769add847c975
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
distributionSha256Sum=f2b9ed0faf8472cbe469255ae6c86eddb77076c75191741b4a462f33128dd419
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
6 changes: 3 additions & 3 deletions stub/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {
}

kmpConfiguration {
this.configure {
configure {
jvm {
target { withJava() }

Expand All @@ -28,8 +28,8 @@ kmpConfiguration {
}

js()
// wasm()
// wasmNativeAll()
// wasmJs {}
// wasmWasi {}

androidNativeAll()

Expand Down

0 comments on commit 9adcad8

Please sign in to comment.