Skip to content

Commit

Permalink
build: Update Kotlin to 1.9.21 (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Moussa <[email protected]>
  • Loading branch information
hamada147 authored Dec 12, 2023
1 parent 246b20e commit bf059c3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ jobs:
uses: actions/[email protected]
with:
name: coverage-results-${{ matrix.os-type }}.zip
path: build/reports/kover/html
path: apollo/build/reports/kover/html

- name: "Add coverage report to PR"
id: kover
uses: mi-kas/kover-report@v1
with:
path: ${{ github.workspace }}/build/reports/kover/report.xml
path: ${{ github.workspace }}/apollo/build/reports/kover/report.xml
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
title: Code Coverage
update-comment: true
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Apollo

[![Kotlin](https://img.shields.io/badge/kotlin-1.9.20-blue.svg?logo=kotlin)](http://kotlinlang.org)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.21-blue.svg?logo=kotlin)](http://kotlinlang.org)
[![Build](https://github.com/input-output-hk/atala-prism-apollo/actions/workflows/pull-request.yml/badge.svg)](https://github.com/input-output-hk/atala-prism-apollo/actions/workflows/pull-request.yml)
[![Deployment](https://github.com/input-output-hk/atala-prism-apollo/actions/workflows/Deployment.yml/badge.svg)](https://github.com/input-output-hk/atala-prism-apollo/actions/workflows/Deployment.yml)

Expand Down Expand Up @@ -291,7 +291,7 @@ kotlin {
}
```
**For the third point**
You need to use Kotlin version `1.9.20`.
You need to use Kotlin version `1.9.21`.
## Usage
Expand Down
2 changes: 1 addition & 1 deletion apollo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ tasks.withType<DokkaTask>().configureEach {
dokkaSourceSets {
configureEach {
jdkVersion.set(11)
languageVersion.set("1.9.20")
languageVersion.set("1.9.21")
apiVersion.set("2.0")
includes.from(
"docs/Base64.md",
Expand Down
20 changes: 11 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21")
classpath("com.android.tools.build:gradle:7.2.2")
classpath("org.jetbrains.dokka:dokka-base:1.9.10")
}
Expand All @@ -29,14 +29,6 @@ dependencies {
kover(project("secp256k1-kmp:native"))
}

koverReport {
filters {
excludes {
classes("io.iohk.atala.prism.apollo.utils.bip39.wordlists.*")
}
}
}

allprojects {
group = "io.iohk.atala.prism.apollo"

Expand Down Expand Up @@ -66,6 +58,16 @@ subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
apply(plugin = "org.jetbrains.kotlinx.kover")

koverReport {
filters {
excludes {
classes(
"io.iohk.atala.prism.apollo.utils.bip39.wordlists.*"
)
}
}
}

ktlint {
verbose.set(true)
outputToConsole.set(true)
Expand Down

0 comments on commit bf059c3

Please sign in to comment.