12345678910111213141516171819202122232425262728293031323334353637 |
- // Note: "common.gradle" in the root project contains additional initialization
- // for this project. This initialization is applied in the "build.gradle"
- // of the root project.
- sourceSets {
- main {
- java {
- srcDir 'src/native'
- }
- }
- }
- dependencies {
- // TODO: Add dependencies here
- // but note that JUnit should have already been added in parent.gradle.
- // By default, only the Maven Central Repository is specified in
- // parent.gradle.
- //
- // You can read more about how to add dependency here:
- // http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:how_to_declare_your_dependencies
- api project(':jme3-android')
- }
- ext {
- // stores the native project classpath to be used in each native
- // build to generate native header files
- projectClassPath = configurations.runtimeClasspath.asFileTree.matching {
- exclude ".gradle"
- }.asPath
- }
- //println "projectClassPath = " + projectClassPath
- // add each native lib build file
- apply from: file('openalsoft.gradle')
- // apply from: file('stb_image.gradle')
- // apply from: file('tremor.gradle')
- apply from: file('decode.gradle')
|