@@ -160,6 +160,8 @@ public void processOpts() {
160
160
setDateLibrary (additionalProperties .get (DATE_LIBRARY ).toString ());
161
161
}
162
162
163
+ commonSupportingFiles ();
164
+
163
165
switch (getLibrary ()) {
164
166
case JVM_OKHTTP3 :
165
167
case JVM_OKHTTP4 :
@@ -326,15 +328,18 @@ private void processMultiplatformLibrary(final String infrastructureFolder) {
326
328
327
329
328
330
private void commonJvmMultiplatformSupportingFiles (String infrastructureFolder ) {
329
- supportingFiles .add (new SupportingFile ("README.mustache" , "" , "README.md" ));
330
- supportingFiles .add (new SupportingFile ("build.gradle.mustache" , "" , "build.gradle" ));
331
- supportingFiles .add (new SupportingFile ("settings.gradle.mustache" , "" , "settings.gradle" ));
332
331
supportingFiles .add (new SupportingFile ("infrastructure/ApiClient.kt.mustache" , infrastructureFolder , "ApiClient.kt" ));
333
332
supportingFiles .add (new SupportingFile ("infrastructure/ApiAbstractions.kt.mustache" , infrastructureFolder , "ApiAbstractions.kt" ));
334
333
supportingFiles .add (new SupportingFile ("infrastructure/RequestConfig.kt.mustache" , infrastructureFolder , "RequestConfig.kt" ));
335
334
supportingFiles .add (new SupportingFile ("infrastructure/RequestMethod.kt.mustache" , infrastructureFolder , "RequestMethod.kt" ));
336
335
}
337
336
337
+ private void commonSupportingFiles () {
338
+ supportingFiles .add (new SupportingFile ("README.mustache" , "" , "README.md" ));
339
+ supportingFiles .add (new SupportingFile ("build.gradle.mustache" , "" , "build.gradle" ));
340
+ supportingFiles .add (new SupportingFile ("settings.gradle.mustache" , "" , "settings.gradle" ));
341
+ }
342
+
338
343
@ Override
339
344
public Map <String , Object > postProcessModels (Map <String , Object > objs ) {
340
345
Map <String , Object > objects = super .postProcessModels (objs );
0 commit comments