Skip to content

Commit

Permalink
Add the dependency on okio-extras
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6675636b796f75676974687562 committed Feb 22, 2023
1 parent 866a142 commit 99fb0af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions fixpatches/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,26 @@ plugins {
`maven-publish`
}

repositories {
mavenCentral()
maven {
name = "saveourtool/okio-extras"
url = uri("https://maven.pkg.github.com/saveourtool/okio-extras")
credentials {
username = project.findProperty("gprUser") as String? ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gprKey") as String? ?: System.getenv("GITHUB_TOKEN")
}
}
}

kotlin {
jvm()

sourceSets {
val commonMain by getting {
dependencies {
api(libs.okio)
implementation(libs.okio.extras)
implementation(libs.kotlinx.serialization.json)
implementation(libs.sarif4k)
implementation(libs.multiplatform.diff)
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[versions]
kotlin = "1.8.10"
okio = "3.3.0"
okio-extras = "1.0"
serialization = "1.4.1"
diktat = "1.2.4.1"
kotlinx-cli = "0.3.5"
Expand Down Expand Up @@ -28,6 +29,7 @@ kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
okio = { module = "com.squareup.okio:okio", version.ref = "okio" }
okio-fakefilesystem = { module = "com.squareup.okio:okio-fakefilesystem", version.ref = "okio" }
okio-extras = { module = "com.saveourtool:okio-extras", version.ref = "okio-extras" }
kotlinx-cli = { module = "org.jetbrains.kotlinx:kotlinx-cli", version.ref = "kotlinx-cli" }
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
multiplatform-diff = { module = "io.github.petertrr:kotlin-multiplatform-diff", version.ref = "multiplatform-diff" }
Expand Down

0 comments on commit 99fb0af

Please sign in to comment.