fix a build issue with android shipping builds
This commit is contained in:
@@ -59,12 +59,30 @@
|
||||
<log text="SenseGloveAndroid [WARN]: this architecture is not supported!"/>
|
||||
</false>
|
||||
</if>
|
||||
|
||||
<setBoolFromProperty result="bCreateAFSProject" ini="Engine" section="/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings" property="bEnablePlugin" default="true"/>
|
||||
</init>
|
||||
|
||||
<resourceCopies>
|
||||
<copyFile src="$S(PluginDir)/../ThirdParty/android/sgconnect.jar" dst="$S(BuildDir)/gradle/app/libs/sgconnect.jar" />
|
||||
</resourceCopies>
|
||||
|
||||
<gradleCopies>
|
||||
<if condition="bCreateAFSProject">
|
||||
<true>
|
||||
<!-- Also copy into AFSProject -->
|
||||
<!--
|
||||
We have a dependency in the buildGradleAdditions which
|
||||
isn't in the AFSProject which is compiled for shipping
|
||||
builds when AndroidFileServer (AFS) is enabled. To keep
|
||||
the size of the AFS APK small it doesn't automatically
|
||||
copy all the libs over.
|
||||
-->
|
||||
<copyFile src="$S(PluginDir)/../ThirdParty/android/sgconnect.jar" dst="$S(BuildDir)/gradle/AFSProject/app/libs/sgconnect.jar" />
|
||||
</true>
|
||||
</if>
|
||||
</gradleCopies>
|
||||
|
||||
<gradleProperties>
|
||||
<insert>
|
||||
kapt.incremental.apt=true
|
||||
|
||||
Reference in New Issue
Block a user