Adven27 / grpc-wiremock

gRPC Mock Server
MIT License
93 stars 40 forks source link

Mac M1 Chip #19

Open mbrekalo-falcon opened 3 years ago

mbrekalo-falcon commented 3 years ago

Error on build:

wiremock_1 | Watching 85 directories to track changes wiremock_1 | Found grpc/health/v1/HealthGrpc.java: wiremock_1 | Parsed package = [grpc.health.v1], serviceName = [Health] and fullServiceName = [GrpcHealthV1Health] wiremock_1 | Found io/deliveryhero/proto/supplier_invoice_module/deliveryreceipt/v4/DeliveryReceiptServiceGrpc.java: wiremock_1 | Parsed package = [io.deliveryhero.proto.supplier_invoice_module.deliveryreceipt.v4], serviceName = [DeliveryReceiptService] and fullServiceName = [IoDeliveryheroProtoSupplierInvoiceModuleDeliveryreceiptV4DeliveryReceiptService] wiremock_1 | Found purchase_orders/v1/PurchaseOrdersGrpc.java: wiremock_1 | Parsed package = [purchase_orders.v1], serviceName = [PurchaseOrdersGrpc.java] and fullServiceName = [PurchaseOrdersV1PurchaseOrdersGrpc.java] wiremock_1 | Found purchase_orders/v1/ReturnsGrpc.java: wiremock_1 | Parsed package = [purchase_orders.v1], serviceName = [Returns] and fullServiceName = [PurchaseOrdersV1Returns] wiremock_1 | Found settings/v1/FlagsGrpc.java: wiremock_1 | Parsed package = [settings.v1], serviceName = [Flags] and fullServiceName = [SettingsV1Flags] wiremock_1 | Found supplier_portal/supplier/v2/SupplierServiceGrpc.java: wiremock_1 | Parsed package = [supplier_portal.supplier.v2], serviceName = [SupplierServiceGrpc.java] and fullServiceName = [SupplierPortalSupplierV2SupplierServiceGrpc.java] wiremock_1 | Found supplier_portal/v1/productpb/ProductServiceGrpc.java: wiremock_1 | Parsed package = [supplier_portal.v1.productpb], serviceName = [ProductServiceGrpc.java] and fullServiceName = [SupplierPortalV1ProductpbProductServiceGrpc.java] wiremock_1 | Found supplier_portal/v1/supplierpb/SupplierServiceGrpc.java: wiremock_1 | Parsed package = [supplier_portal.v1.supplierpb], serviceName = [SupplierServiceGrpc.java] and fullServiceName = [SupplierPortalV1SupplierpbSupplierServiceGrpc.java] wiremock_1 | Found wac/v1/WacGrpc.java: wiremock_1 | Parsed package = [wac.v1], serviceName = [Wac] and fullServiceName = [WacV1Wac] wiremock_1 | Found wac/v2/WacGrpc.java: wiremock_1 | Parsed package = [wac.v2], serviceName = [Wac] and fullServiceName = [WacV2Wac] wiremock_1 | Watching 89 directories to track changes wiremock_1 | :generateJava (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 1.122 secs. wiremock_1 | :compileJava (Thread[Execution worker for ':',5,main]) started. wiremock_1 | wiremock_1 | > Task :compileJava wiremock_1 | Excluding [] wiremock_1 | Watching 90 directories to track changes wiremock_1 | Watching 90 directories to track changes wiremock_1 | Watching 90 directories to track changes wiremock_1 | Watching 91 directories to track changes wiremock_1 | Caching disabled for task ':compileJava' because: wiremock_1 | Build cache is disabled wiremock_1 | Task ':compileJava' is not up-to-date because: wiremock_1 | No history is available. wiremock_1 | Watching 91 directories to track changes wiremock_1 | Watching 91 directories to track changes wiremock_1 | Watching 90 directories to track changes wiremock_1 | The input changes require a full rebuild for incremental task ':compileJava'. wiremock_1 | Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments. wiremock_1 | Compiling with toolchain '/opt/java/openjdk'. wiremock_1 | Compiling with JDK Java compiler API. wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:15: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.HealthGrpc.HealthImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:15: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.HealthGrpc.HealthImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:15: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.HealthGrpc.HealthImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:15: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.HealthGrpc.HealthImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:15: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.HealthGrpc.HealthImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:15: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.HealthGrpc.HealthImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:16: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.DeliveryReceiptServiceGrpc.DeliveryReceiptServiceImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:16: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.DeliveryReceiptServiceGrpc.DeliveryReceiptServiceImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:16: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.DeliveryReceiptServiceGrpc.DeliveryReceiptServiceImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:16: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.DeliveryReceiptServiceGrpc.DeliveryReceiptServiceImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:16: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.DeliveryReceiptServiceGrpc.DeliveryReceiptServiceImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:16: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.DeliveryReceiptServiceGrpc.DeliveryReceiptServiceImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:17: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.PurchaseOrdersGrpc.javaGrpc.PurchaseOrdersGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:17: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.PurchaseOrdersGrpc.javaGrpc.PurchaseOrdersGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:17: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.PurchaseOrdersGrpc.javaGrpc.PurchaseOrdersGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:17: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.PurchaseOrdersGrpc.javaGrpc.PurchaseOrdersGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:17: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.PurchaseOrdersGrpc.javaGrpc.PurchaseOrdersGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:17: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.PurchaseOrdersGrpc.javaGrpc.PurchaseOrdersGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:18: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ReturnsGrpc.ReturnsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:18: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ReturnsGrpc.ReturnsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:18: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.ReturnsGrpc.ReturnsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:18: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ReturnsGrpc.ReturnsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:18: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ReturnsGrpc.ReturnsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:18: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.ReturnsGrpc.ReturnsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:19: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.FlagsGrpc.FlagsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:19: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.FlagsGrpc.FlagsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:19: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.FlagsGrpc.FlagsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:19: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.FlagsGrpc.FlagsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:19: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.FlagsGrpc.FlagsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:19: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.FlagsGrpc.FlagsImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:20: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:20: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:20: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:20: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:20: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:20: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:21: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ProductServiceGrpc.javaGrpc.ProductServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:21: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ProductServiceGrpc.javaGrpc.ProductServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:21: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.ProductServiceGrpc.javaGrpc.ProductServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:21: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ProductServiceGrpc.javaGrpc.ProductServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:21: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.ProductServiceGrpc.javaGrpc.ProductServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:21: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.ProductServiceGrpc.javaGrpc.ProductServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:22: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:22: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:22: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:22: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:22: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:22: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.SupplierServiceGrpc.javaGrpc.SupplierServiceGrpc.javaImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:23: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:23: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:23: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:23: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:23: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:23: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:24: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:24: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:24: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:24: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:24: error: expected wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:24: error: illegal start of type wiremock_1 | @Service class @fullServiceName@ extends @package@.WacGrpc.WacImplBase {} wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:42: error: expected wiremock_1 | @decorate_services@ wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:43: error: illegal start of type wiremock_1 | } wiremock_1 | ^ wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:44: error: reached end of file while parsing wiremock_1 | } wiremock_1 | ^ wiremock_1 | 63 errors wiremock_1 | Watching 92 directories to track changes wiremock_1 | Watching 94 directories to track changes wiremock_1 | Watching 96 directories to track changes wiremock_1 | wiremock_1 | > Task :compileJava FAILED wiremock_1 | :compileJava (Thread[Execution worker for ':',5,main]) completed. Took 6.333 secs. wiremock_1 | wiremock_1 | FAILURE: Build failed with an exception. wiremock_1 | wiremock_1 | What went wrong: wiremock_1 | Execution failed for task ':compileJava'. wiremock_1 | > Compilation failed; see the compiler error output for details. wiremock_1 | wiremock_1 | Try: wiremock_1 | Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. wiremock_1 | wiremock_1 | * Get more help at https://help.gradle.org wiremock_1 | wiremock_1 | BUILD FAILED in 53s wiremock_1 | 5 actionable tasks: 5 executed wiremock_1 | Not watching anything anymore wiremock_1 | Watching 0 directories to track changes wiremock_1 | Some of the file system contents retained in the virtual file system are on file systems that Gradle doesn't support watching. The relevant state was discarded to ensure changes to these locations are properly detected. You can override this by explicitly enabling file system watching. wiremock_1 | Watching 0 directories to track changes wiremock_1 exited with code 1

mbrekalo-falcon commented 3 years ago

Another fail build:

wiremock_1 | > Configure project : wiremock_1 | Evaluating root project 'grpc-wiremock' using build file '/usr/src/java-code/build.gradle'. wiremock_1 | Applying dependency management to configuration 'bootArchives' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'archives' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'default' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'implementation' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'compileOnly' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'compileClasspath' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'annotationProcessor' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'runtimeOnly' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'runtimeClasspath' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testImplementation' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testCompileOnly' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testCompileClasspath' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testAnnotationProcessor' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testRuntimeOnly' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testRuntimeClasspath' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'apiElements' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'runtimeElements' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'developmentOnly' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'productionRuntimeClasspath' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'protobuf' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testProtobuf' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'compileProtoPath' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'testCompileProtoPath' in project 'grpc-wiremock' wiremock_1 | Applying dependency management to configuration 'protobufToolsLocator_protoc' in project 'grpc-wiremock' wiremock_1 | ------------------------------------------------------------------------ wiremock_1 | Detecting the operating system and CPU architecture wiremock_1 | ------------------------------------------------------------------------ wiremock_1 | os.detected.name=linux wiremock_1 | os.detected.arch=x86_64 wiremock_1 | os.detected.bitness=64 wiremock_1 | os.detected.version=5.10 wiremock_1 | os.detected.version.major=5 wiremock_1 | os.detected.version.minor=10 wiremock_1 | os.detected.release=ubuntu wiremock_1 | os.detected.release.version=20.04 wiremock_1 | os.detected.release.like.ubuntu=true wiremock_1 | os.detected.release.like.debian=true wiremock_1 | os.detected.classifier=linux-x86_64 wiremock_1 | Applying dependency management to configuration 'protobufToolsLocator_grpc' in project 'grpc-wiremock' wiremock_1 | wiremock_1 | FAILURE: Build failed with an exception. wiremock_1 | wiremock_1 | What went wrong: wiremock_1 | A problem occurred configuring root project 'grpc-wiremock'. wiremock_1 | > Could not load class 'org.gradle.plugins.ide.idea.model.IdeaModel' from jar:file:/opt/gradle/lib/plugins/gradle-ide-7.0.jar!/org/gradle/plugins/ide/idea/model/IdeaModel.class. wiremock_1 | wiremock_1 | Try: wiremock_1 | Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. wiremock_1 | wiremock_1 | * Get more help at https://help.gradle.org

bklooste commented 3 years ago

This is wiremock / gradle and prob deeper which will take some time before they support/ test M1 . Suggest use a container/ VM

mbrekalo-falcon commented 3 years ago

can you write an example

Adven27 commented 3 years ago

Probably another option is to build a custom image under M1 MacOs: clone this repo and build the image from Dockerfile

This image should work under M1 but most likely won't work on any other OS