diff options
author | Kamil Doległo <9080183+kamildoleglo@users.noreply.github.com> | 2021-02-03 14:40:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 14:40:57 +0100 |
commit | f8b741b0a3c78160af7e632011c39186fc259c0c (patch) | |
tree | e96ee9a14a44e1b4991041be7ef674d7d97b0372 | |
parent | 0b05b7ed8f91bead9160981e606fb5678fe45a04 (diff) | |
download | dokka-f8b741b0a3c78160af7e632011c39186fc259c0c.tar.gz dokka-f8b741b0a3c78160af7e632011c39186fc259c0c.tar.bz2 dokka-f8b741b0a3c78160af7e632011c39186fc259c0c.zip |
Reenable kotlinx-serialization (#1708)
4 files changed, 47 insertions, 47 deletions
diff --git a/.github/workflows/s3-snapshots.yml b/.github/workflows/s3-snapshots.yml index e0ec5ffa..f9d21817 100644 --- a/.github/workflows/s3-snapshots.yml +++ b/.github/workflows/s3-snapshots.yml @@ -74,38 +74,38 @@ jobs: - name: Print link run: echo http://dokka-snapshots.s3.eu-central-1.amazonaws.com/${{ env.branch-name }}/stdlib/${GITHUB_SHA::7}/index.html -# serialization: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout dokka -# uses: actions/checkout@v2 -# with: -# submodules: true -# -# - uses: actions/setup-java@v1 -# with: -# java-version: 12 -# -# - name: Publish dokka locally -# run: ./gradlew clean publishToMavenLocal --stacktrace -# -# - name: Document serialization -# run: ./gradlew :integration-tests:gradle:integrationTest --tests org.jetbrains.dokka.it.gradle.kotlin.SerializationGradleIntegrationTest --stacktrace -# env: -# DOKKA_IT_AWS_PATH: /home/runner/work/dokka/serialization -# -# - name: Configure AWS credentials for S3 access -# uses: aws-actions/configure-aws-credentials@v1 -# with: -# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} -# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} -# aws-region: eu-central-1 -# -# - name: Copy files to dokka's S3 bucket -# run: ./integration-tests/aws_sync.sh s3://${{ env.bucket-name }} serialization ../serialization -# -# - name: Print link -# run: echo http://dokka-snapshots.s3.eu-central-1.amazonaws.com/${{ env.branch-name }}/serialization/${GITHUB_SHA::7}/index.html + serialization: + runs-on: ubuntu-latest + steps: + - name: Checkout dokka + uses: actions/checkout@v2 + with: + submodules: true + + - uses: actions/setup-java@v1 + with: + java-version: 12 + + - name: Publish dokka locally + run: ./gradlew clean publishToMavenLocal --stacktrace + + - name: Document serialization + run: ./gradlew :integration-tests:gradle:integrationTest --tests org.jetbrains.dokka.it.gradle.kotlin.SerializationGradleIntegrationTest --stacktrace + env: + DOKKA_IT_AWS_PATH: /home/runner/work/dokka/serialization + + - name: Configure AWS credentials for S3 access + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: eu-central-1 + + - name: Copy files to dokka's S3 bucket + run: ./integration-tests/aws_sync.sh s3://${{ env.bucket-name }} serialization ../serialization + + - name: Print link + run: echo http://dokka-snapshots.s3.eu-central-1.amazonaws.com/${{ env.branch-name }}/serialization/${GITHUB_SHA::7}/index.html biojava: runs-on: ubuntu-latest diff --git a/integration-tests/gradle/projects/serialization/kotlinx-serialization b/integration-tests/gradle/projects/serialization/kotlinx-serialization -Subproject 66f323855cf745f3896023e6c2079621f7940c2 +Subproject 2d96a71299ec5f085ac21cfe149ca15cf32e628 diff --git a/integration-tests/gradle/projects/serialization/serialization.diff b/integration-tests/gradle/projects/serialization/serialization.diff index a7fad66b..f6441f1f 100644 --- a/integration-tests/gradle/projects/serialization/serialization.diff +++ b/integration-tests/gradle/projects/serialization/serialization.diff @@ -1,8 +1,8 @@ diff --git a/build.gradle b/build.gradle -index f1cd0012..d1d3b6c6 100644 +index 83346e98..1871cc2a 100644 --- a/build.gradle +++ b/build.gradle -@@ -73,7 +73,6 @@ buildscript { +@@ -76,7 +76,6 @@ buildscript { dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" @@ -10,7 +10,7 @@ index f1cd0012..d1d3b6c6 100644 classpath "org.jetbrains.kotlinx:binary-compatibility-validator:$validator_version" classpath "org.jetbrains.kotlinx:kotlinx-knit:$knit_version" -@@ -86,6 +85,11 @@ buildscript { +@@ -89,6 +88,11 @@ buildscript { } } @@ -23,19 +23,20 @@ index f1cd0012..d1d3b6c6 100644 ext.compilerVersion = org.jetbrains.kotlin.config.KotlinCompilerVersion.VERSION apply plugin: 'binary-compatibility-validator' diff --git a/gradle.properties b/gradle.properties -index c753aa76..ee9e725a 100644 +index 9e7c8e3b..085875da 100644 --- a/gradle.properties +++ b/gradle.properties -@@ -5,6 +5,7 @@ - group=org.jetbrains.kotlinx - version=1.0.0 +@@ -13,7 +13,7 @@ kotlin.version.snapshot=1.4.255-SNAPSHOT -+dokka_it_kotlin_version= - kotlin.version=1.4.10 - - # This version take precedence if 'bootstrap' property passed to project + junit_version=4.12 + jackson_version=2.10.0.pr1 +-dokka_version=1.4.20-multimodule-dev-7 ++dokka_version=1.4.20 + native.deploy= + validator_version=0.2.3 + knit_version=0.2.2 diff --git a/settings.gradle b/settings.gradle -index 88bcb942..848efd27 100644 +index 88bcb942..99055d64 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,6 +2,7 @@ diff --git a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/kotlin/SerializationGradleIntegrationTest.kt b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/kotlin/SerializationGradleIntegrationTest.kt index 2942c689..29c5e562 100644 --- a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/kotlin/SerializationGradleIntegrationTest.kt +++ b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/kotlin/SerializationGradleIntegrationTest.kt @@ -8,7 +8,6 @@ import org.junit.runners.Parameterized import java.io.File import kotlin.test.* -@Ignore // TODO: reenable after https://github.com/Kotlin/kotlinx.serialization/issues/1193 is fixed class SerializationGradleIntegrationTest(override val versions: BuildVersions) : AbstractGradleIntegrationTest(), S3Project { @@ -16,8 +15,8 @@ class SerializationGradleIntegrationTest(override val versions: BuildVersions) : @get:JvmStatic @get:Parameterized.Parameters(name = "{0}") val versions = BuildVersions.permutations( - gradleVersions = listOf("6.3"), - kotlinVersions = listOf("1.4.10") + gradleVersions = listOf("6.8"), + kotlinVersions = listOf("1.4.30-M1") ) } |