Clara Fok | dd98219 | 2024-03-08 17:00:12 -0800 | [diff] [blame] | 1 | java_library { |
Clara Fok | d389c9e | 2024-03-25 23:56:28 +0000 | [diff] [blame] | 2 | name: "kotlinx_serialization", |
Clara Fok | dd98219 | 2024-03-08 17:00:12 -0800 | [diff] [blame] | 3 | host_supported: true, |
| 4 | sdk_version: "core_current", |
Colin Cross | 55548f4 | 2024-03-28 15:06:12 -0700 | [diff] [blame] | 5 | srcs: ["core/jvmMain/src/kotlinx/serialization/**/*.kt"], |
| 6 | common_srcs: ["core/commonMain/src/kotlinx/serialization/**/*.kt"], |
Clara Fok | dd98219 | 2024-03-08 17:00:12 -0800 | [diff] [blame] | 7 | kotlincflags: [ |
| 8 | "-Xmulti-platform", |
Colin Cross | 55548f4 | 2024-03-28 15:06:12 -0700 | [diff] [blame] | 9 | "-opt-in=kotlinx.serialization.ExperimentalSerializationApi", |
| 10 | "-opt-in=kotlinx.serialization.InternalSerializationApi", |
Clara Fok | dd98219 | 2024-03-08 17:00:12 -0800 | [diff] [blame] | 11 | ], |
| 12 | } |
Colin Cross | 2d70167 | 2024-03-28 15:12:11 -0700 | [diff] [blame^] | 13 | |
| 14 | java_library { |
| 15 | name: "kotlinx_serialization_json", |
| 16 | host_supported: true, |
| 17 | sdk_version: "core_current", |
| 18 | srcs: ["formats/json/jvmMain/src/kotlinx/serialization/**/*.kt"], |
| 19 | common_srcs: ["formats/json/commonMain/src/kotlinx/serialization/**/*.kt"], |
| 20 | kotlincflags: [ |
| 21 | "-Xmulti-platform", |
| 22 | "-opt-in=kotlinx.serialization.ExperimentalSerializationApi", |
| 23 | "-opt-in=kotlinx.serialization.InternalSerializationApi", |
| 24 | ], |
| 25 | static_libs: ["kotlinx_serialization"], |
| 26 | } |