build.gradle 963 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. applicationId "com.joltphysics.unittests"
  8. minSdk 24
  9. targetSdk 31
  10. versionCode 1
  11. versionName "1.0"
  12. ndk.abiFilters 'arm64-v8a', 'x86_64'
  13. externalNativeBuild {
  14. cmake {
  15. cppFlags '-std=c++17 -Wall -Werror -DJPH_PROFILE_ENABLED -DJPH_DEBUG_RENDERER'
  16. arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_static'
  17. }
  18. }
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled false
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_8
  27. targetCompatibility JavaVersion.VERSION_1_8
  28. }
  29. externalNativeBuild {
  30. cmake {
  31. path file('src/main/cpp/CMakeLists.txt')
  32. version '3.10.2'
  33. }
  34. }
  35. buildFeatures {
  36. viewBinding true
  37. }
  38. }
  39. dependencies {
  40. }