Sorry for delay, got hit by a storm, lost electric and had to repair the roof missing shingles.
I read the gradle docs again and it looks to me like this is correct.
settings.gradle
include 'assets'
build.gradle,
project(":assets") {
apply plugin: "java"
buildDir = rootProject.file("build/assets")
sourceSets {
main {
resources {
srcDirs '.'
exclude ('**/*.j3odata','**/*.mesh','**/*.skeleton','**/*.mesh.xml','**/*.skeleton.xml','**/*.scene','**/*.material','**/*.obj','**/*.mtl','**/*.3ds','**/*.dae','**/*.blend','**/*.blend*[0-9]','**/*.bin','**/*.gltf')
}
}
}
}
runtime project(':assets')
Im using the template from your repo, installed using bootmonkey. This should mean I can do things like this right?
ModelConverter converter = new ModelConverter(assetManager);
converter.convert(new File("Textures/Oto.mesh.xml"), new File("Textures/Oto.j3o"), true);
but this throws exception because its missing the assets folder in the path. I tried adding it via
implementation project(':asset')
sourceSets {
main {
java {
src 'assets'
}
}
}
startScripts {
classpath += files('assets')
}
and many more things.
No. I have both netbeans 8 and sdk, each with gradle builds. Each has only simpleApplication and the one conversion class to try and convert. Using each separate trying to get it to work.