Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.

Commit b66f2e5

Browse files
authored
Merge e00931d into 2576e2b
2 parents 2576e2b + e00931d commit b66f2e5

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

build.gradle.kts

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import org.gradle.internal.impldep.org.joda.time.LocalDateTime
88
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
99
import org.jetbrains.kotlin.gradle.dsl.KotlinTargetContainerWithPresetFunctions
1010
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmCompilation
11+
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithHostTests
1112

1213
plugins {
1314
application
@@ -97,20 +98,20 @@ kotlin {
9798
}
9899

99100
// used by the 'getting' delegate
100-
@Suppress("UNUSED_VARIABLE", "KotlinRedundantDiagnosticSuppress")
101-
val macNativeMain by getting {
102-
dependsOn(commonMain)
103-
dependencies {
104-
implementation("io.ktor:ktor-client-curl:2.3.+")
105-
implementation("app.cash.sqldelight:native-driver:2.+")
106-
}
107-
}
101+
// @Suppress("UNUSED_VARIABLE", "KotlinRedundantDiagnosticSuppress")
102+
// val macNativeMain by getting {
103+
// dependsOn(commonMain)
104+
// dependencies {
105+
// implementation("io.ktor:ktor-client-curl:2.3.+")
106+
// implementation("app.cash.sqldelight:native-driver:2.+")
107+
// }
108+
// }
108109

109110
// used by the 'getting' delegate
110-
@Suppress("UNUSED_VARIABLE", "KotlinRedundantDiagnosticSuppress")
111-
val macNativeTest by getting {
112-
dependsOn(commonTest)
113-
}
111+
// @Suppress("UNUSED_VARIABLE", "KotlinRedundantDiagnosticSuppress")
112+
// val macNativeTest by getting {
113+
// dependsOn(commonTest)
114+
// }
114115

115116
}
116117

@@ -409,9 +410,11 @@ class Configurator(private val env: Env, private val output: Output) {
409410
println("Configured Kotlin target '$name'")
410411
}
411412

412-
fun configureNativeTarget(container: KotlinTargetContainerWithPresetFunctions) =
413+
@Suppress("USELESS_CAST", "UNUSED_PARAMETER")
414+
fun configureNativeTarget(container: KotlinTargetContainerWithPresetFunctions): KotlinNativeTargetWithHostTests? =
413415
when (env.currentPlatform) {
414-
Env.Platform.MAC -> null // TODO – disabled temporarily until the build is fixed
416+
// TODO – disabled temporarily until the build is fixed
417+
Env.Platform.MAC -> null as? KotlinNativeTargetWithHostTests?
415418
// when (env.currentArch) {
416419
// Env.Arch.X86 -> container.macosX64(env.currentPlatform.targetName)
417420
// Env.Arch.ARM -> container.macosArm64(env.currentPlatform.targetName)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ org.gradle.jvmargs=-Xmx4096m
99
# Project properties
1010
config.group = xyz.marinkovic.milos
1111
config.artifact = codestats
12-
config.version = 0.8.0
12+
config.version = 0.9.0
1313
config.gitHubRepoOwner = milosmns
1414
config.gitHubRepoName = code-stats

0 commit comments

Comments
 (0)