Compare commits
10 commits
7a875731f8
...
ffe3860e12
Author | SHA1 | Date | |
---|---|---|---|
|
ffe3860e12 | ||
|
3670d0f774 | ||
|
92d4b764b9 | ||
|
e9bb4bcbc2 | ||
|
9febbb6053 | ||
ef4b86bf3a | |||
|
603ef11dcd | ||
|
9a0870e2a3 | ||
|
f5a3633778 | ||
|
a17d4767d8 |
5 changed files with 23 additions and 12 deletions
4
.github/settings.xml
vendored
4
.github/settings.xml
vendored
|
@ -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>
|
||||
|
|
2
.github/workflows/build-maven.yml
vendored
2
.github/workflows/build-maven.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/sonatype-deploy.yml
vendored
3
.github/workflows/sonatype-deploy.yml
vendored
|
@ -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
12
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue