Skip to content

Commit

Permalink
Merge pull request graphql-java-kickstart#508 from graphql-java-kicks…
Browse files Browse the repository at this point in the history
…tart/jacoco-jdk15-pr-fix

Fix failing build issue in PR on JDK15
  • Loading branch information
oliemansm authored Jan 4, 2021
2 parents 5f2713c + 68359c2 commit 036b720
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ subprojects {
jcenter()
maven { url "https://dl.bintray.com/graphql-java-kickstart/releases" }
maven { url "https://repo.spring.io/libs-milestone" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://oss.jfrog.org/artifactory/oss-snapshot-local" }
}

Expand Down Expand Up @@ -88,6 +89,10 @@ subprojects {
}
}

jacoco {
toolVersion = "0.8.7-SNAPSHOT"
}

jacocoTestReport {
reports {
xml.enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,27 @@ static class CodeMirror {
@Data
static class Props {

private Variables variables = new Variables();
private GraphiQLVariables variables = new GraphiQLVariables();

/**
* See https://github.com/graphql/graphiql/tree/main/packages/graphiql#props
*/
@Data
static class Variables {
static class GraphiQLVariables {

private String query;
private String variables;
private String headers;
private String operationName;
private String response;
private String defaultQuery;
private boolean defaultVariableEditorOpen;
private boolean defaultSecondaryEditorOpen;
private String editorTheme;
private boolean readOnly;
private boolean docsExplorerOpen;
private boolean headerEditorEnabled;
private boolean shouldPersistHeaders;
}
}

Expand Down

0 comments on commit 036b720

Please sign in to comment.