-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drop-in compatibility adjustments (#210)
- bump copied generated code to 0.12.1, the last version that had the old package names (includes KtGeneratedFileDescriptor annotation) - remove old protokt.proto file so that buf is happy that only one file has the protokt extension number - consolidate jvm extensions modules into multiplatform modules (puts files back in those JARs that were there before the 1.0 reorganization) - rename protokt outer class to be consistent with protobuf-java - remove kotlin-reflect from dependencies of protokt-core - remove interop between old and new generated code, as it is not needed for old generated code to function with the new runtime - undo manual adjustments to copied generated code as part of the above - kapt in multiplatform modules fails with: /Users/.../protokt/extensions/protokt-extensions-simple/build/tmp/kapt3/stubs/main/com/toasttab/protokt/ext/LocalDateStringConverter.java:3: error: incompatible types: NonExistentClass cannot be converted to Annotation @error.NonExistentClass(). Not sure what's up.
- Loading branch information
1 parent
0554c61
commit eeb79a6
Showing
125 changed files
with
3,545 additions
and
4,394 deletions.
There are no files selected for viewing
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
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
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
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
25 changes: 6 additions & 19 deletions
25
extensions/protokt-extensions-api/api/protokt-extensions-api.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 |
---|---|---|
@@ -1,42 +1,29 @@ | ||
public abstract interface class com/toasttab/protokt/ext/Converter : protokt/v1/Converter { | ||
} | ||
|
||
public final class com/toasttab/protokt/ext/Converter$DefaultImpls { | ||
public static fun getAcceptsDefaultValue (Lcom/toasttab/protokt/ext/Converter;)Z | ||
public abstract interface class com/toasttab/protokt/ext/Converter { | ||
public abstract fun getWrapped ()Lkotlin/reflect/KClass; | ||
public abstract fun getWrapper ()Lkotlin/reflect/KClass; | ||
public abstract fun unwrap (Ljava/lang/Object;)Ljava/lang/Object; | ||
public abstract fun wrap (Ljava/lang/Object;)Ljava/lang/Object; | ||
} | ||
|
||
public abstract interface class com/toasttab/protokt/ext/OptimizedSizeofConverter : com/toasttab/protokt/ext/Converter { | ||
public abstract fun sizeof (Ljava/lang/Object;)I | ||
} | ||
|
||
public final class com/toasttab/protokt/ext/OptimizedSizeofConverter$DefaultImpls { | ||
public static fun getAcceptsDefaultValue (Lcom/toasttab/protokt/ext/OptimizedSizeofConverter;)Z | ||
} | ||
|
||
public abstract class protokt/v1/AbstractConverter : protokt/v1/Converter { | ||
public fun <init> ()V | ||
public fun getAcceptsDefaultValue ()Z | ||
public final fun getWrapped ()Lkotlin/reflect/KClass; | ||
public final fun getWrapper ()Lkotlin/reflect/KClass; | ||
} | ||
|
||
public abstract interface class protokt/v1/Converter { | ||
public abstract fun getAcceptsDefaultValue ()Z | ||
public fun getAcceptsDefaultValue ()Z | ||
public abstract fun getWrapped ()Lkotlin/reflect/KClass; | ||
public abstract fun getWrapper ()Lkotlin/reflect/KClass; | ||
public abstract fun unwrap (Ljava/lang/Object;)Ljava/lang/Object; | ||
public abstract fun wrap (Ljava/lang/Object;)Ljava/lang/Object; | ||
} | ||
|
||
public final class protokt/v1/Converter$DefaultImpls { | ||
public static fun getAcceptsDefaultValue (Lprotokt/v1/Converter;)Z | ||
} | ||
|
||
public abstract interface class protokt/v1/OptimizedSizeOfConverter : protokt/v1/Converter { | ||
public abstract fun sizeOf (Ljava/lang/Object;)I | ||
} | ||
|
||
public final class protokt/v1/OptimizedSizeOfConverter$DefaultImpls { | ||
public static fun getAcceptsDefaultValue (Lprotokt/v1/OptimizedSizeOfConverter;)Z | ||
} | ||
|
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
Oops, something went wrong.