-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generator for .proto files based on serializable Kotlin classes (Reso…
…lves #34)
- Loading branch information
Showing
15 changed files
with
770 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
formats/protobuf-generator/api/kotlinx-serialization-protobuf-generator.api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
public final class kotlinx/serialization/protobuf/generator/GenerationKt { | ||
public static final fun generateProto (Ljava/util/List;Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; | ||
public static synthetic fun generateProto$default (Ljava/util/List;Ljava/lang/String;Ljava/util/Map;ILjava/lang/Object;)Ljava/lang/String; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
plugins { | ||
kotlin("multiplatform") | ||
id("kotlinx-serialization") | ||
} | ||
|
||
apply(from = rootProject.file("gradle/native-targets.gradle")) | ||
apply(from = rootProject.file("gradle/configure-source-sets.gradle")) | ||
|
||
kotlin { | ||
sourceSets { | ||
commonMain { | ||
dependencies { | ||
api(project(":kotlinx-serialization-core")) | ||
api(project(":kotlinx-serialization-protobuf")) | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.