File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
build-plugins/kmp-conventions/src/main/kotlin/aws/sdk/kotlin/gradle/kmp Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,22 @@ fun Project.configureJvm() {
160160fun Project.configureLinux () {
161161 kotlin {
162162 linuxX64()
163- linuxArm64() // FIXME - Okio missing arm64 target support
163+ linuxArm64() // FIXME - Okio missing arm64 target support. Added as experimental in https://square.github.io/okio/changelog/#version-360
164+ }
165+ }
166+
167+ /* *
168+ * Dummy configuration for Linux which declares but does not actually configure any targets.
169+ * This is useful for projects that do not have any native targets but still need to be a KMP build (Dokka in particular).
170+ */
171+ fun Project.configureDummyLinux () {
172+ kotlin {
173+ linuxX64 {
174+ // FIXME enable tests once the target is fully implemented
175+ tasks.named(" linuxX64Test" ) {
176+ enabled = false
177+ }
178+ }
164179 }
165180}
166181
You can’t perform that action at this time.
0 commit comments