Skip to content

Commit abdecd1

Browse files
authored
Upgrade kotlin to 1.7.10 (#126)
1 parent 3890102 commit abdecd1

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
66
project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [0.5.0] - 2022-07-13
9+
### Changed
10+
- Upgrade to Kotlin 1.7.10 (#126)
11+
812
## [0.4.1] - 2022-06-04
913
### Changed
1014
- Add `watchosX64` target (#123)

build.gradle.kts

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompileTool
12
import org.jetbrains.kotlin.konan.target.HostManager
23

34
plugins {
4-
kotlin("multiplatform") version "1.6.21"
5+
kotlin("multiplatform") version "1.7.10"
56
id("org.jetbrains.dokka") version "0.9.18"
67
id("maven-publish")
78
id("signing")
@@ -209,9 +210,17 @@ val generateProjDirValTask = tasks.register("generateProjectDirectoryVal") {
209210
kotlin.sourceSets.named("commonTest") {
210211
this.kotlin.srcDir(projectDirGenRoot)
211212
}
213+
212214
// Ensure this runs before any test compile task
213215
tasks.withType<AbstractCompile>().configureEach {
214216
if (name.toLowerCase().contains("test")) {
215217
dependsOn(generateProjDirValTask)
216218
}
217219
}
220+
221+
tasks.withType<AbstractKotlinCompileTool<*>>().configureEach {
222+
if (name.toLowerCase().contains("test")) {
223+
dependsOn(generateProjDirValTask)
224+
}
225+
}
226+

gradle.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kotlin.code.style=official
55
kotlin.incremental=true
66

77
GROUP=com.benasher44
8-
VERSION=0.4.1
8+
VERSION=0.5.0
99

1010
POM_URL=https://github.com/benasher44/uuid/
1111
POM_SCM_URL=https://github.com/benasher44/uuid/
@@ -20,5 +20,4 @@ POM_NAME=UUID
2020
POM_DESCRIPTION=A Kotlin multiplatform implementation of a v4 RFC4122 UUID
2121

2222

23-
kotlin.mpp.enableGranularSourceSetsMetadata=true
2423
kotlin.mpp.enableCompatibilityMetadataVariant=true

0 commit comments

Comments
 (0)