Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
jna: add --stacktrace argument to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
atmaxinger committed Nov 4, 2022
1 parent aac0c68 commit 3372e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bindings/jna/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if (Java_JAVAC_EXECUTABLE)
${PLUGIN_JAR_PATHS}
COMMAND ${CMAKE_COMMAND} ARGS -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}"
COMMAND ${GRADLE_EXECUTABLE} -q --console=plain clean assemble
COMMAND ${GRADLE_EXECUTABLE} --stacktrace -q --console=plain clean assemble
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/libelektra/test-exclusion.gradle"
"${CMAKE_CURRENT_BINARY_DIR}/version-settings.gradle" ${JNA_BINDING_SOURCE_FILES}
Expand Down Expand Up @@ -159,7 +159,7 @@ if (Java_JAVAC_EXECUTABLE)
OR (NOT BUILD_TESTING)))
add_test (
NAME testjna_gradle
COMMAND ${GRADLE_EXECUTABLE} -q --console=plain test
COMMAND ${GRADLE_EXECUTABLE} --stacktrace -q --console=plain test
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/libelektra")

set_property (TEST testjna_gradle PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib")
Expand Down

0 comments on commit 3372e19

Please sign in to comment.