mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-02 14:19:05 +00:00
Force javac to use UTF-8
The source files are encoded in UTF-8. Refs <https://github.com/Genymobile/scrcpy/issues/4639#issuecomment-2467206100> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
eff5b4b219
commit
c0e2e27cf9
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ done
|
||||||
|
|
||||||
echo "Compiling java sources..."
|
echo "Compiling java sources..."
|
||||||
cd ../java
|
cd ../java
|
||||||
javac -bootclasspath "$ANDROID_JAR" \
|
javac -encoding UTF-8 -bootclasspath "$ANDROID_JAR" \
|
||||||
-cp "$LAMBDA_JAR:$GEN_DIR" \
|
-cp "$LAMBDA_JAR:$GEN_DIR" \
|
||||||
-d "$CLASSES_DIR" \
|
-d "$CLASSES_DIR" \
|
||||||
-source 1.8 -target 1.8 \
|
-source 1.8 -target 1.8 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue