Changed build scripts slightly for bullet to not reference src outside it's own base dir. This was mainly done to be able to import the project correctly in IntelliJ IDEA. The modules will now instead reference each other through the dependency mechanism.

experimental
Daniel Johansson 10 years ago
parent 013f67ee89
commit 2080453430
  1. 2
      jme3-bullet-native-android/build.gradle
  2. 2
      jme3-jbullet/build.gradle

@ -21,6 +21,7 @@ if (!hasProperty('mainClass')) {
}
dependencies {
compile project(':jme3-bullet-native')
compile project(':jme3-bullet')
}
@ -28,7 +29,6 @@ dependencies {
sourceSets {
main {
java {
srcDir jmeCppPath
srcDir jmeAndroidPath
}
}

@ -6,7 +6,6 @@ sourceSets {
main {
java {
srcDir 'src/main/java'
srcDir '../jme3-bullet/src/common/java'
}
}
}
@ -16,4 +15,5 @@ dependencies {
compile files('../lib/jbullet.jar', '../lib/stack-alloc.jar')
compile project(':jme3-core')
compile project(':jme3-terrain')
compile project(':jme3-bullet')
}

Loading…
Cancel
Save