Skip to content

Commit a32b77d

Browse files
committed
init
1 parent 72f5fe1 commit a32b77d

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

client/build.gradle.kts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,6 @@ kotlin {
8686

8787
}
8888

89-
configurations.filter { listOf(
90-
"linuxArm64", "linuxArm64Main", "linuxX64", "linuxX64Main"
91-
).contains(it.name) }.forEach {
92-
it.exclude(libs.kotlinx.uuid.asProvider())
93-
it.exclude(libs.kotlinx.serialization)
94-
it.exclude(libs.ktor.client.auth)
95-
it.exclude(libs.ktor.client.content.negotation)
96-
it.exclude(libs.ktor.serialization.kotlinx.json)
97-
98-
}
99-
100-
fun Configuration.exclude(provider: Provider<MinimalExternalModuleDependency>) {
101-
val module = provider.get().module
102-
exclude(group = module.group, module = module.name)
103-
}
104-
10589
fun SourceDirectorySet.addSrcDir(file: File) {
10690
setSrcDirs(srcDirs.apply { add(file) })
10791
}

shared/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tasks.create<Delete>("disableKRes") {
2121
}
2222

2323
tasks.whenTaskAdded {
24-
if (name.contains("mingw64")) onlyIf { false }
24+
if (name.contains("mingw64", ignoreCase = true)) onlyIf { false }
2525
}
2626

2727
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {

0 commit comments

Comments
 (0)