From c59801e549d2befe6b893dc4a0d7322b13b48bf7 Mon Sep 17 00:00:00 2001 From: Benny Huo Date: Thu, 9 Apr 2026 08:18:37 +0800 Subject: [PATCH] Update native-definition-file.md There should only be a 'package' property in the definition file while we should use 'packageName' in the gradle file. --- docs/topics/native/native-definition-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/native/native-definition-file.md b/docs/topics/native/native-definition-file.md index 74582dabcc2..7097c2f694f 100644 --- a/docs/topics/native/native-definition-file.md +++ b/docs/topics/native/native-definition-file.md @@ -76,7 +76,7 @@ For more information, see the corresponding sections below. | [`excludedFunctions`](#ignore-specific-functions) | A space-separated list of function names that should be ignored. | | [`staticLibraries`](#include-a-static-library) | [Experimental](components-stability.md#stability-levels-explained). Includes a static library into `.klib`. | | [`libraryPaths`](#include-a-static-library) | [Experimental](components-stability.md#stability-levels-explained). A space-separated list of directories where the cinterop tool searches for the library to be included in `.klib`. | -| `packageName` | Package prefix for the generated Kotlin API. | +| `package` | Package prefix for the generated Kotlin API. | | [`headerFilter`](#filter-headers-by-globs) | Filters headers by globs and includes only them when importing a library. | | [`excludeFilter`](#exclude-headers) | Excludes specific headers when importing a library and takes priority over `headerFilter`. | | [`strictEnums`](#configure-enums-generation) | A space-separated list of enums that should be generated as [Kotlin enums](enum-classes.md). |