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 93e68d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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
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 93e68d1

Please sign in to comment.