Compare commits

...

10 commits

Author SHA1 Message Date
dependabot[bot]
ffe3860e12
Bump assertj-core from 3.19.0 to 3.21.0 (#39)
Bumps [assertj-core](https://github.com/assertj/assertj-core) from 3.19.0 to 3.21.0.
- [Release notes](https://github.com/assertj/assertj-core/releases)
- [Commits](https://github.com/assertj/assertj-core/compare/assertj-core-3.19.0...assertj-core-3.21.0)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 08:47:38 +00:00
dependabot[bot]
3670d0f774
Bump lombok from 1.18.20 to 1.18.22 (#41)
Bumps [lombok](https://github.com/projectlombok/lombok) from 1.18.20 to 1.18.22.
- [Release notes](https://github.com/projectlombok/lombok/releases)
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.20...v1.18.22)

---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 08:42:10 +00:00
dependabot[bot]
92d4b764b9
Bump junit-jupiter from 5.7.2 to 5.8.2 (#45)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.7.2 to 5.8.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.2...r5.8.2)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 08:39:41 +00:00
dependabot[bot]
e9bb4bcbc2
Bump mockito-junit-jupiter from 3.10.0 to 4.2.0 (#46)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.10.0 to 4.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v4.2.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 08:34:13 +00:00
dependabot[bot]
9febbb6053
Bump tiles-maven-plugin from 2.21 to 2.25 (#43)
Bumps [tiles-maven-plugin](https://github.com/repaint-io/maven-tiles) from 2.21 to 2.25.
- [Release notes](https://github.com/repaint-io/maven-tiles/releases)
- [Changelog](https://github.com/repaint-io/maven-tiles/blob/master/CHANGELOG.adoc)
- [Commits](https://github.com/repaint-io/maven-tiles/compare/tiles-maven-plugin-2.21...tiles-maven-plugin-2.25)

---
updated-dependencies:
- dependency-name: io.repaint.maven:tiles-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 08:31:02 +00:00
ef4b86bf3a
Allow selection of shadow colour (#47) 2021-12-31 08:25:33 +00:00
dependabot[bot]
603ef11dcd
Bump junit-jupiter from 5.7.1 to 5.7.2 (#25)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.1...r5.7.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 08:51:08 +01:00
dependabot[bot]
9a0870e2a3
Bump mockito-junit-jupiter from 3.9.0 to 3.10.0 (#24)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 06:56:34 +01:00
dependabot[bot]
f5a3633778
Bump tiles-maven-plugin from 2.20 to 2.21 (#23)
Bumps [tiles-maven-plugin](https://github.com/repaint-io/maven-tiles) from 2.20 to 2.21.
- [Release notes](https://github.com/repaint-io/maven-tiles/releases)
- [Changelog](https://github.com/repaint-io/maven-tiles/blob/master/CHANGELOG.adoc)
- [Commits](https://github.com/repaint-io/maven-tiles/compare/tiles-maven-plugin-2.20...tiles-maven-plugin-2.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 06:49:13 +01:00
dependabot[bot]
a17d4767d8
Bump mockito-junit-jupiter from 3.8.0 to 3.9.0 (#22)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 09:09:43 +01:00
5 changed files with 23 additions and 12 deletions

View file

@ -3,12 +3,12 @@
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.NEXUS_USERNAME}</username>
<username>kemitix</username>
<password>${env.NEXUS_PASSWORD}</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>${env.NEXUS_USERNAME}</username>
<username>kemitix</username>
<password>${env.NEXUS_PASSWORD}</password>
</server>
</servers>

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 15 ]
java: [ 17 ]
steps:
- uses: kamiazya/setup-graphviz@v1
- uses: actions/checkout@v2

View file

@ -14,7 +14,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
- name: Build with Maven
run: mvn -B install
- name: Nexus Repo Publish
@ -34,7 +34,6 @@ jobs:
-B \
deploy
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

12
pom.xml
View file

@ -12,15 +12,15 @@
</parent>
<artifactId>fontface</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<properties>
<tiles-maven-plugin.version>2.20</tiles-maven-plugin.version>
<tiles-maven-plugin.version>2.25</tiles-maven-plugin.version>
<kemitix-tiles.version>2.10.0</kemitix-tiles.version>
<lombok.version>1.18.20</lombok.version>
<junit-jupiter.version>5.7.1</junit-jupiter.version>
<mockito-junit-jupiter.version>3.8.0</mockito-junit-jupiter.version>
<assertj-core.version>3.19.0</assertj-core.version>
<lombok.version>1.18.22</lombok.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>
<mockito-junit-jupiter.version>4.2.0</mockito-junit-jupiter.version>
<assertj-core.version>3.21.0</assertj-core.version>
</properties>
<dependencies>

View file

@ -17,6 +17,18 @@ public class FontFace {
private int shadowOffsetX;
private int shadowOffsetY;
public static FontFace of(
URI fontUri,
int size,
String colour,
String shadowColour,
int shadowOffsetX,
int shadowOffsetY
) {
return new FontFace(fontUri, size, colour,
shadowColour, shadowOffsetX, shadowOffsetY);
}
public static FontFace of(
URI fontUri,
int size,