Skip to content

Commit

Permalink
Try deploying source and javadoc artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Nov 12, 2020
1 parent 7d25b44 commit a8bf710
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ci/deploy_shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ REVISION=$(./ci/revision.sh)
echo "Deploying skija-shared v${REVISION}"
cd shared
sed -i "s/0.0.0-SNAPSHOT/$REVISION/g" pom.xml
mvn --batch-mode --settings ../ci/settings.xml -DskipTests -Dspace.username=Nikita.Prokopov -Dspace.password=${SPACE_TOKEN} deploy

mvn --batch-mode -DskipTests lombok:delombok javadoc:javadoc javadoc:jar source:jar
mvn --batch-mode --settings ../ci/settings.xml -DskipTests -Dspace.username=Nikita.Prokopov -Dspace.password=${SPACE_TOKEN} deploy
2 changes: 1 addition & 1 deletion shared/src/main/java/org/jetbrains/skija/Bitmap.java
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ public boolean extractSubset(@NotNull Bitmap dst, @NotNull IRect subset) {
*
* <p>srcX and srcY may be negative to copy only top or left of source. Returns
* false if getWidth() or getHeight() is zero or negative.
* Returns false if abs(srcX) >= getWidth(), or if abs(srcY) >= getHeight().</p>
* Returns false if abs(srcX) &gt;= getWidth(), or if abs(srcY) &gt;= getHeight().</p>
*
* @param dstInfo destination width, height, ColorType, AlphaType, ColorSpace
* @param dstRowBytes destination row length
Expand Down
4 changes: 2 additions & 2 deletions shared/src/main/java/org/jetbrains/skija/PathMeasure.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public PathMeasure(Path path, boolean forceClosed) {
* <p>Initialize the pathmeasure with the specified path. The parts of the path that are needed
* are copied, so the client is free to modify/delete the path after this call.</p>
*
* <p>resScale controls the precision of the measure. values > 1 increase the
* <p>resScale controls the precision of the measure. values &gt; 1 increase the
* precision (and possible slow down the computation).</p>
*/
public PathMeasure(Path path, boolean forceClosed, float resScale) {
Expand Down Expand Up @@ -116,7 +116,7 @@ public Matrix33 getMatrix(float distance, boolean getPosition, boolean getTangen
/**
* Given a start and stop distance, return in dst the intervening segment(s).
* If the segment is zero-length, return false, else return true.
* startD and stopD are pinned to legal values (0..getLength()). If startD > stopD
* startD and stopD are pinned to legal values (0..getLength()). If startD &gt; stopD
* then return false (and leave dst untouched).
* Begin the segment with a moveTo if startWithMoveTo is true
*/
Expand Down

0 comments on commit a8bf710

Please sign in to comment.