-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TF-239] Update java version to 19 and gradle to 8.1
- Loading branch information
1 parent
f888eda
commit 8758820
Showing
30 changed files
with
206 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gradle | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
- dependency-name: com.github.kt3k.coveralls | ||
versions: | ||
- "> 2.8.2" | ||
- dependency-name: commons-codec:commons-codec | ||
versions: | ||
- "> 1.6" | ||
- dependency-name: net.nemerosa.versioning | ||
versions: | ||
- "> 2.7.1" | ||
- package-ecosystem: gradle | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
- dependency-name: com.github.kt3k.coveralls | ||
versions: | ||
- "> 2.12.2" | ||
- dependency-name: commons-codec:commons-codec | ||
versions: | ||
- "> 1.6" | ||
- dependency-name: net.nemerosa.versioning | ||
versions: | ||
- "> 2.7.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
java adoptopenjdk-19.0.2+7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"java.configuration.updateBuildConfiguration": "automatic" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 17 additions & 3 deletions
20
src/main/java/au/com/sealink/printing/receipt/IPrinter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,41 @@ | ||
package au.com.sealink.printing.receipt; | ||
|
||
import au.com.sealink.printing.ticket_printer.Justification; | ||
import au.com.sealink.printing.ticket_printer.Underline; | ||
|
||
import au.com.sealink.printing.ticketprinter.Justification; | ||
import au.com.sealink.printing.ticketprinter.Underline; | ||
import java.awt.image.BufferedImage; | ||
import java.io.IOException; | ||
import java.io.OutputStream; | ||
|
||
public interface IPrinter { | ||
OutputStream getConnector(); | ||
|
||
IPrinter initialise() throws IOException; | ||
|
||
void close() throws IOException; | ||
|
||
IPrinter cut(CutMode mode) throws IOException; | ||
|
||
IPrinter feed(int numberOfLines) throws IOException; | ||
|
||
IPrinter feed() throws IOException; | ||
|
||
IPrinter text(String text) throws IOException; | ||
|
||
IPrinter setFont(Font font) throws IOException; | ||
|
||
IPrinter setMode(PrintMode mode) throws IOException; | ||
|
||
IPrinter setUnderline(Underline mode) throws IOException; | ||
|
||
IPrinter setDoubleWidth(Boolean isEnabled) throws IOException; | ||
|
||
IPrinter setDoubleHeight(Boolean isEnabled) throws IOException; | ||
|
||
IPrinter setJustification(Justification justification) throws IOException; | ||
|
||
IPrinter setColour(Colour colour) throws IOException; | ||
|
||
IPrinter setEmphasis(Boolean isEnabled) throws IOException; | ||
|
||
IPrinter printImage(BufferedImage image) throws IOException; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nk/printing/ticket_printer/FontStyle.java → ...ink/printing/ticketprinter/FontStyle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rinting/ticket_printer/Justification.java → ...printing/ticketprinter/Justification.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...g/ticket_printer/PrintServiceLocator.java → ...ng/ticketprinter/PrintServiceLocator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...inting/ticket_printer/ReceiptPrinter.java → ...rinting/ticketprinter/ReceiptPrinter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...alink/printing/ticket_printer/Ticket.java → ...ealink/printing/ticketprinter/Ticket.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rinting/ticket_printer/TicketElement.java → ...printing/ticketprinter/TicketElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...ng/ticket_printer/TicketPageSettings.java → ...ing/ticketprinter/TicketPageSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...rinting/ticket_printer/TicketPrinter.java → ...printing/ticketprinter/TicketPrinter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nk/printing/ticket_printer/Underline.java → ...ink/printing/ticketprinter/Underline.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...er/exceptions/NoSuchPrinterException.java → ...er/exceptions/NoSuchPrinterException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eptions/NoTicketPageSettingsAssigned.java → ...eptions/NoTicketPageSettingsAssigned.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
..._printer/printables/PrintableElement.java → ...tprinter/printables/PrintableElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.