Skip to content

Commit

Permalink
fix: can build on java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Feb 26, 2022
1 parent dc44b66 commit 5955bcb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ apply from: project.buildscript.classLoader.getResource('main.gradle').toURI()


dependencies {
api 'com.github.jknack:handlebars:4.2.0'
api 'com.github.jknack:handlebars:4.3.0'

implementation 'com.squareup.retrofit2:retrofit:2.0.0'
implementation 'com.squareup.retrofit2:converter-gson:2.0.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
//implementation 'com.squareup.okhttp:okhttp:2.7.5'
implementation 'com.jayway.jsonpath:json-path:2.1.0'
implementation 'org.eclipse.jgit:org.eclipse.jgit:5.10.0.202012080955-r'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ template:

{{name}}
{{hasType}} {{type}}
isGitHub: {{isGitHub}}
isGitLab: {{isGitLab}}
isJira: {{isJira}}
isRedmine: {{isRedmine}}
isCustom: {{isCustom}}
isNoIssue: {{isNoIssue}}
isGitHub: {{#isGitHub}}yes{{/isGitHub}}
isGitLab: {{#isGitLab}}yes{{/isGitLab}}
isJira: {{#isJira}}yes{{/isJira}}
isRedmine: {{#isRedmine}}yes{{/isRedmine}}
isCustom: {{#isCustom}}yes{{/isCustom}}
isNoIssue: {{#isNoIssue}}yes{{/isNoIssue}}

{{/issues}}
{{/tags}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void before() {
.withToCommit("e78a62f");
}

@Test
// @Test //Available depending on JVM
public void testThatHelperCanBeSuppliedWithJavascript() throws Exception {
final GitChangelogApi given =
this.baseBuilder //
Expand Down
12 changes: 6 additions & 6 deletions src/test/resources/templatetest/testIssueType.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

{{name}}
{{hasType}} {{type}}
isGitHub: {{isGitHub}}
isGitLab: {{isGitLab}}
isJira: {{isJira}}
isRedmine: {{isRedmine}}
isCustom: {{isCustom}}
isNoIssue: {{isNoIssue}}
isGitHub: {{#isGitHub}}yes{{/isGitHub}}
isGitLab: {{#isGitLab}}yes{{/isGitLab}}
isJira: {{#isJira}}yes{{/isJira}}
isRedmine: {{#isRedmine}}yes{{/isRedmine}}
isCustom: {{#isCustom}}yes{{/isCustom}}
isNoIssue: {{#isNoIssue}}yes{{/isNoIssue}}

{{/issues}}
{{/tags}}

0 comments on commit 5955bcb

Please sign in to comment.