Skip to content

Commit

Permalink
upgrade: Kotlin 1.6.21
Browse files Browse the repository at this point in the history
Signed-off-by: SlashNephy <spica@starry.blue>
  • Loading branch information
SlashNephy committed May 5, 2022
1 parent 47c2476 commit 2ca88dd
Show file tree
Hide file tree
Showing 7 changed files with 2,693 additions and 19 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Check
on:
push:
paths-ignore:
- .gitignore
- LICENSE
- '**.md'
branches-ignore:
- 'releases/**'
Expand Down Expand Up @@ -34,9 +32,10 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'corretto'
java-version: 8

- name: Grant Execute Permission to gradlew
run: chmod +x gradlew
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'corretto'
java-version: 8

- name: Grant Execute Permission to gradlew
run: chmod +x gradlew
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
${{ runner.os }}-gradle-
- name: Setup JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'corretto'
java-version: 8

- name: Grant Execute Permission to gradlew
run: chmod +x gradlew
Expand Down
15 changes: 5 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import blue.starry.scriptextender.EnvReference

plugins {
kotlin("multiplatform") version "1.6.10"
kotlin("multiplatform") version "1.6.21"
`maven-publish`
signing
id("io.codearte.nexus-staging") version "0.30.0"
id("org.jetbrains.dokka") version "1.6.10"
id("org.jetbrains.dokka") version "1.6.21"
id("blue.starry.scriptextender") version "0.0.2"
}

Expand Down Expand Up @@ -65,9 +65,7 @@ kotlin {
nodejs()
browser {
testTask {
useKarma {
useChromeHeadless()
}
enabled = false
}
}
}
Expand All @@ -94,7 +92,7 @@ kotlin {
dependencies {
implementation(kotlin("test"))

implementation("ch.qos.logback:logback-classic:1.3.0-alpha12")
implementation("ch.qos.logback:logback-classic:1.2.11")
}
}

Expand All @@ -112,7 +110,6 @@ kotlin {
kotlinOptions {
apiVersion = "1.6"
languageVersion = "1.6"
allWarningsAsErrors = true
verbose = true
}
}
Expand All @@ -122,8 +119,7 @@ kotlin {
languageSettings {
progressiveMode = true

optIn("kotlin.Experimental")
optIn("kotlin.contracts.ExperimentalContracts")
optIn("kotlin.RequiresOptIn")
}
}
}
Expand Down Expand Up @@ -217,7 +213,6 @@ signing {
sign(publishing.publications)

if (Env.SigningKey.isPresent) {
@Suppress("UnstableApiUsage")
useInMemoryPgpKeys(
Env.SigningKeyId.value,
Env.SigningKey.value,
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ kotlin.code.style=official

kotlin.mpp.stability.nowarn=true

kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.ignoreDisabledTargets=true

# workaround for https://github.com/gradle/gradle/issues/11412
Expand Down
Loading

0 comments on commit 2ca88dd

Please sign in to comment.