blob: 67ac91c8665f11501cca16e1cbbc7b4e806f052d [file] [log] [blame]
java_library {
name: "kotlinx_serialization_core",
host_supported: true,
sdk_version: "core_current",
srcs: ["core/jvmMain/src/kotlinx/serialization/**/*.kt"],
common_srcs: ["core/commonMain/src/kotlinx/serialization/**/*.kt"],
kotlincflags: [
"-Xmulti-platform",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
"-opt-in=kotlinx.serialization.InternalSerializationApi",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
java_library {
name: "kotlinx_serialization_json",
host_supported: true,
sdk_version: "core_current",
srcs: ["formats/json/jvmMain/src/kotlinx/serialization/**/*.kt"],
common_srcs: ["formats/json/commonMain/src/kotlinx/serialization/**/*.kt"],
kotlincflags: [
"-Xmulti-platform",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
"-opt-in=kotlinx.serialization.InternalSerializationApi",
],
static_libs: ["kotlinx_serialization_core"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}