build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Note: "common.gradle" in the root project contains additional initialization
  2. // for this project. This initialization is applied in the "build.gradle"
  3. // of the root project.
  4. sourceSets {
  5. main {
  6. java {
  7. srcDir 'src/native'
  8. }
  9. }
  10. }
  11. dependencies {
  12. // TODO: Add dependencies here
  13. // but note that JUnit should have already been added in parent.gradle.
  14. // By default, only the Maven Central Repository is specified in
  15. // parent.gradle.
  16. //
  17. // You can read more about how to add dependency here:
  18. // http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:how_to_declare_your_dependencies
  19. api project(':jme3-android')
  20. }
  21. ext {
  22. // stores the native project classpath to be used in each native
  23. // build to generate native header files
  24. projectClassPath = configurations.runtimeClasspath.asFileTree.matching {
  25. exclude ".gradle"
  26. }.asPath
  27. }
  28. //println "projectClassPath = " + projectClassPath
  29. // add each native lib build file
  30. apply from: file('openalsoft.gradle')
  31. // apply from: file('stb_image.gradle')
  32. // apply from: file('tremor.gradle')
  33. apply from: file('decode.gradle')