fix: Only copy over C++ headers

This commit is contained in:
Marc Rousavy 2023-12-12 11:23:49 +01:00
parent 248a08b18c
commit 6107a245c4
No known key found for this signature in database
GPG Key ID: 83BEF0F19E8F5321
2 changed files with 2 additions and 1 deletions

View File

@ -180,6 +180,7 @@ task deleteCmakeCache() {
task prepareHeaders(type: Copy) {
from fileTree('./src/main/cpp').filter { it.isFile() }
include "*.h"
into "${project.buildDir}/headers/visioncamera/react-native-vision-camera/"
includeEmptyDirs = false
}

View File

@ -4,7 +4,7 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
org.gradle.jvmargs=-Xms512M -Xmx4g -XX:MaxPermSize=1024m -XX:MaxMetaspaceSize=1g -Dkotlin.daemon.jvm.options="-Xmx1g"
org.gradle.jvmargs=-Xms512M -Xmx4g -XX:MaxMetaspaceSize=1g -Dkotlin.daemon.jvm.options="-Xmx1g"
org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.configureondemand=true