Skip to content

Commit

Permalink
Update gradle-conventions to 0.0.64
Browse files Browse the repository at this point in the history
  • Loading branch information
eygraber committed Jan 5, 2024
1 parent 66efb5a commit b7d96e2
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 925 deletions.
14 changes: 14 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,17 @@ gradleConventionsDefaults {
explicitApiMode = ExplicitApiMode.Strict
}
}

gradleConventionsKmpDefaults {
targets(
KmpTarget.AndroidNative,
KmpTarget.Ios,
KmpTarget.Js,
KmpTarget.Jvm,
KmpTarget.Linux,
KmpTarget.Macos,
KmpTarget.Mingw,
KmpTarget.Tvos,
KmpTarget.Watchos,
)
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
conventions = "0.0.58"
conventions = "0.0.64"

detekt = "1.23.4"

Expand Down
17 changes: 6 additions & 11 deletions jsonpath-benchmarks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,15 @@ plugins {
}

kotlin {

kmpTargets(
KmpTarget.Js,
KmpTarget.Jvm,
KmpTarget.Linux,
KmpTarget.Macos,
KmpTarget.Mingw,
project = project,
android = false,
androidNative = false,
jvm = true,
ios = false,
macos = true,
linux = true,
mingw = true,
wasmJs = false,
wasmWasi = false,
js = true,
binaryType = BinaryType.Executable,
ignoreDefaultTargets = true,
)

jvm {
Expand Down
15 changes: 1 addition & 14 deletions jsonpath-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,8 @@ plugins {
}

kotlin {
kmpTargets(
defaultKmpTargets(
project = project,
android = false,
androidNative = true,
jvm = true,
ios = true,
tvos = true,
watchos = true,
macos = true,
linux = true,
mingw = true,
wasmJs = false,
wasmWasi = false,
js = true,
jsBrowser = false,
)

sourceSets {
Expand Down
15 changes: 1 addition & 14 deletions jsonpath-kotlinx/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,8 @@ plugins {
}

kotlin {
kmpTargets(
defaultKmpTargets(
project = project,
android = false,
androidNative = true,
jvm = true,
ios = true,
macos = true,
tvos = true,
watchos = true,
linux = true,
mingw = true,
wasmJs = false,
wasmWasi = false,
js = true,
jsBrowser = false,
)

sourceSets {
Expand Down
15 changes: 1 addition & 14 deletions jsonpath-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,8 @@ plugins {
}

kotlin {
kmpTargets(
defaultKmpTargets(
project = project,
android = false,
androidNative = true,
jvm = true,
ios = true,
macos = true,
tvos = true,
watchos = true,