Skip to content

Commit 5c456ef

Browse files
committed
./gradle build & Fix spotless
1 parent 697a832 commit 5c456ef

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

inklecate/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ application {
2020
}
2121

2222
jar {
23+
dependsOn(':compiler:jar', ':runtime:jar')
2324
manifest.attributes += [
2425
'Main-Class': application.mainClass
2526
]

runtime/src/main/java/com/bladecoder/ink/runtime/Story.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,9 +1736,9 @@ else if (contentObj instanceof ControlCommand) {
17361736
"Expected to be in an expression when evaluating a string");
17371737
state.setInExpressionEvaluation(false);
17381738
break;
1739-
// Leave it to story.currentText and story.currentTags to sort out the text from the tags
1740-
// This is mostly because we can't always rely on the existence of EndTag, and we don't want
1741-
// to try and flatten dynamic tags to strings every time \n is pushed to output
1739+
// Leave it to story.currentText and story.currentTags to sort out the text from the tags
1740+
// This is mostly because we can't always rely on the existence of EndTag, and we don't want
1741+
// to try and flatten dynamic tags to strings every time \n is pushed to output
17421742
case BeginTag:
17431743
state.pushToOutputStream(evalCommand);
17441744
break;
@@ -1817,7 +1817,7 @@ else if (contentObj instanceof ControlCommand) {
18171817
}
18181818
break;
18191819
}
1820-
// Dynamic strings and tags are built in the same way
1820+
// Dynamic strings and tags are built in the same way
18211821
case EndString: {
18221822

18231823
// Since we're iterating backward through the content,
@@ -2005,7 +2005,7 @@ else if (contentObj instanceof ControlCommand) {
20052005

20062006
break;
20072007

2008-
// Force flow to end completely
2008+
// Force flow to end completely
20092009
case End:
20102010
state.forceEnd();
20112011
break;

0 commit comments

Comments
 (0)