Hello everyone, I think I found a bug or maybe for me something very confusing. I set up a gradle project using the jMonkey-SDK 3.5.2. In the build.gradle I put the JME-Version to jmeVer = ‘3.5.2-stable’. But when I add the implementation "implementation “com.github.Jeddic:particlemonkey:1.0.2"” to the build.gradle, then my JME-Version changes automatically to “jMonkeyEngine 3.7.0-beta1.2.2”: I don’t mean, that it changes in the build.gradle. There was all the time the ‘3.5.2-stable’ in my build.gradle. But when I run a SimpleApplication, then I could see, that the JME-Version had changed.
I printed it out programatically by using System.out.println(JmeVersion.FULL_NAME) and could also see it as version in the title of the application-window.
When I don’t use these implementation in my build.gradle, then my JME-Version is as expected: “jMonkeyEngine 3.5.2-stable”.
This seems a little bit confusing, because I had some errors and could not find the reason, until I found out, that I was using JME 3.7-beta without knowing.
My build.gradle:
plugins {
id ‘java’
id ‘application’
}
group ‘com.neolithicrevolution’
version ‘1.0’
mainClassName = “com.neolithicrevolution.main.Main”
repositories {
mavenCentral()
maven { url ‘https://jitpack.io’ }
}
project.ext {
jmeVer = ‘3.5.2-stable’
}
project(“:assets”) {
apply plugin: “java”
buildDir = rootProject.file("build/assets")
sourceSets {
main {
resources {
srcDir '.'
}
}
}
}
dependencies {
// Core JME
implementation “org.jmonkeyengine:jme3-core:$jmeVer”
implementation “org.jmonkeyengine:jme3-desktop:$jmeVer”
implementation “org.jmonkeyengine:jme3-lwjgl3:$jmeVer”
// Suppress errors / warnings building in SDK
implementation “org.jmonkeyengine:jme3-jogg:$jmeVer”
implementation “org.jmonkeyengine:jme3-plugins:$jmeVer”
// GUI Library
implementation “com.simsilica:lemur:1.16.0”
implementation “com.simsilica:lemur-proto:1.13.0”
implementation “com.simsilica:lemur-props:1.2.0”
// Physics Library
implementation “org.jmonkeyengine:jme3-jbullet:$jmeVer”
// Additional Libraries
implementation “org.jmonkeyengine:jme3-effects:$jmeVer”
implementation “org.jmonkeyengine:jme3-terrain:$jmeVer”
implementation “org.jmonkeyengine:jme3-testdata:$jmeVer”
implementation “org.jmonkeyengine:jme3-vr:$jmeVer”
implementation “com.github.stephengold:Heart:8.1.0”
implementation “com.github.Jeddic:particlemonkey:1.0.2”
implementation “com.simsilica:sio2:1.7.0”
implementation “com.simsilica:zay-es:1.4.0”
implementation “com.simsilica:zay-es-net:1.5.0”
// JAXB
implementation “com.sun.xml.bind:jaxb-impl:2.3.3”
// Assets sub-project
runtimeOnly project(‘:assets’)
}
jar {
manifest {
attributes ‘Main-Class’: “$mainClassName”
}
}