[Build] Add FreeType support for CI

This commit is contained in:
SpaiR committed 2021-05-30 16:11:54 +03:00
1 parent 39a86991f2
commit 37bc815a06
4 files changed
+58 -24

No files matched your search

+1 -1
View File
@@ -3,5 +3,5 @@
BASEDIR=$(dirname "$0")
cd $BASEDIR/../../imgui-binding || exit
../gradlew clean generateLibs -Denvs=$* -Dlocal -Dfreetype
../gradlew clean generateLibs -Denvs=$* -Dlocal -Dfreetype=true
rm -frd libsNative
+1 -1
View File
@@ -4,4 +4,4 @@ BASEDIR=$(dirname "$0")
cd $BASEDIR/../../imgui-binding || exit
rm -frd /tmp/imgui
../gradlew clean generateLibs -Denvs=$* -Dfreetype
../gradlew clean generateLibs -Denvs=$* -Dfreetype=true
@@ -19,8 +19,8 @@ class GenerateLibs extends DefaultTask {
private final boolean forLinux = buildEnvs?.contains('linux')
private final boolean forMac = buildEnvs?.contains('mac')
private final boolean isLocal = System.properties.containsKey("local")
private final boolean withFreeType = System.properties.containsKey("freetype")
private final boolean isLocal = System.properties.containsKey('local')
private final boolean withFreeType = Boolean.valueOf(System.properties.getProperty('freetype', 'false'))
private final String sourceDir = project.file('src/main/java')
private final String classpath = project.file('build/classes/java/main')