File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed 
extensions/grpc/runtime/src/main/java/io/quarkus/grpc/runtime/config Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11package  io .quarkus .grpc .runtime .config ;
22
3+ import  java .util .Optional ;
4+ 
35import  io .quarkus .runtime .annotations .ConfigPhase ;
46import  io .quarkus .runtime .annotations .ConfigRoot ;
57import  io .smallrye .config .ConfigMapping ;
68import  io .smallrye .config .WithDefault ;
9+ import  io .smallrye .config .WithName ;
710
811/** 
912 * not really used, here only to describe config options for code generation 
@@ -39,4 +42,11 @@ public interface GrpcCodeGenConfig {
3942     */ 
4043    @ WithDefault ("com.google.protobuf:protobuf-java" )
4144    String  scanForImports ();
45+ 
46+     /** 
47+      * Controls whether Kotlin code is generated when the {@code quarkus-kotlin} extension is present (in which case the default 
48+      * is {@code true}). 
49+      */ 
50+     @ WithName ("kotlin.generate" )
51+     Optional <Boolean > generateKotlin ();
4252}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments