public void processOpts()

in src/main/java/com/jetbrains/codegen/kotlin/TeamCityKotlinCodegen.java [89:115]


    public void processOpts() {
        super.processOpts();

        supportingFiles.clear();
        supportingFiles.add(new SupportingFile("build.gradle.mustache", "", "build.gradle"));
        supportingFiles.add(new SupportingFile("settings.gradle.mustache", "", "settings.gradle"));

        final String infrastructureFolder = (sourceFolder + File.separator + packageName + File.separator + "infrastructure").replace(".", "/");
        final String baseFolder = (sourceFolder + File.separator + packageName + File.separator + "base").replace(".", "/");

        supportingFiles.add(new SupportingFile("infrastructure/ApiClient.kt.mustache", infrastructureFolder, "ApiClient.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/ApiAbstractions.kt.mustache", infrastructureFolder, "ApiAbstractions.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/ApiInfrastructureResponse.kt.mustache", infrastructureFolder, "ApiInfrastructureResponse.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/ApplicationDelegates.kt.mustache", infrastructureFolder, "ApplicationDelegates.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/RequestConfig.kt.mustache", infrastructureFolder, "RequestConfig.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/RequestMethod.kt.mustache", infrastructureFolder, "RequestMethod.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/ResponseExtensions.kt.mustache", infrastructureFolder, "ResponseExtensions.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/Serializer.kt.mustache", infrastructureFolder, "Serializer.kt"));
        supportingFiles.add(new SupportingFile("infrastructure/Errors.kt.mustache", infrastructureFolder, "Errors.kt"));

        supportingFiles.add(new SupportingFile("infrastructure/ClientConfig.kt.mustache", infrastructureFolder, "ClientConfig.kt"));

        supportingFiles.add(new SupportingFile("base/DataEntity.kt.mustache", baseFolder, "DataEntity.kt"));
        supportingFiles.add(new SupportingFile("base/ListEntity.kt.mustache", baseFolder, "ListEntity.kt"));
        supportingFiles.add(new SupportingFile("base/LocatorEntity.kt.mustache", baseFolder, "LocatorEntity.kt"));
        supportingFiles.add(new SupportingFile("base/PaginatedEntity.kt.mustache", baseFolder, "PaginatedEntity.kt"));
    }