Skip to content

Commit

Permalink
Update Kotlin version
Browse files Browse the repository at this point in the history
  • Loading branch information
svok committed May 29, 2022
1 parent 7970981 commit 24e40ab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
```
#### **`gradle.properties`**
```properties
kotlinCorVersion=0.2.+
kotlinCorVersion=0.3.+
```

## Usage
Expand Down
12 changes: 11 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "com.crowdproj.kotlin.cor"
version = "0.2.9"
version = "0.3.0"

repositories {
mavenCentral()
Expand All @@ -18,48 +18,58 @@ kotlin {
}
jvm()
linuxX64()
macosX64()
mingwX64()

sourceSets {
val coroutinesVersion: String by project

@Suppress("UNUSED_VARIABLE")
val commonMain by getting {
dependencies {
implementation(kotlin("stdlib-common"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
}
}
@Suppress("UNUSED_VARIABLE")
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion")
}
}
@Suppress("UNUSED_VARIABLE")
val jsMain by getting {
dependencies {
implementation(kotlin("stdlib-js"))
}
}
@Suppress("UNUSED_VARIABLE")
val jsTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}
@Suppress("UNUSED_VARIABLE")
val jvmMain by getting {
dependencies {
implementation(kotlin("stdlib-jdk8"))
}
}
@Suppress("UNUSED_VARIABLE")
val jvmTest by getting {
dependencies {
implementation(kotlin("test-junit"))
}
}
@Suppress("UNUSED_VARIABLE")
val linuxX64Main by getting {
dependencies {
implementation(kotlin("stdlib"))
}
}
@Suppress("UNUSED_VARIABLE")
val linuxX64Test by getting {
dependencies {
implementation(kotlin("test"))
Expand Down
5 changes: 3 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
kotlinVersion=1.6.10
kotlinVersion=1.6.21

coroutinesVersion=1.6.0-native-mt
coroutinesVersion=1.6.2
# -native-mt

0 comments on commit 24e40ab

Please sign in to comment.