From 57743efb1ca03a7823d23719a3f75d9ef97e91eb Mon Sep 17 00:00:00 2001 From: Sahil Gandhi Date: Sat, 27 May 2023 11:39:24 -0700 Subject: [PATCH] Update readme with 3.8.1 version and compilation issue help --- README.adoc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index b5946e8..7e2793e 100644 --- a/README.adoc +++ b/README.adoc @@ -33,7 +33,7 @@ Maven plugin that calls the https://github.com/apollographql/apollo-kotlin[Apoll com.apollographql.apollo3 apollo-runtime - 3.0.0 + 3.8.1 ---- @@ -78,6 +78,22 @@ At build time, the plugin will query the server and install this file per the va .. Any subdirectories under `src/main/graphql/SERVICE_NAME` are treated as extra package names to append to `schemaPackageName` in the plugin config. . Run `mvn generate-sources` to generate classes for your queries. +. If you run into compilation issues such as `package com.apollographql.apollo3.api does not exist`, you may need to explicitly add the following runtime libraries to your pom.xml ++ +[source,xml] +--- + + com.apollographql.apollo3 + apollo-api-jvm + 3.8.1 + + + com.apollographql.apollo3 + apollo-runtime-jvm + 3.8.1 + +--- + === Configuration Options All plugin configuration properties and their defaults: