diff --git a/apollo/build.gradle.kts b/apollo/build.gradle.kts index c9e68402a..a07b19dd3 100644 --- a/apollo/build.gradle.kts +++ b/apollo/build.gradle.kts @@ -225,6 +225,13 @@ kotlin { } } + // Enable the export of KDoc (Experimental feature) to Generated Native targets (Apple, Linux, etc.) + targets.withType { + compilations.getByName("main") { + compilerOptions.options.freeCompilerArgs.add("-Xexport-kdoc") + } + } + if (os.isMacOsX) { tasks.getByName("iosX64Test") { device.set("iPhone 14 Plus")