Skip to content

update #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 143 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
1ba2071
Android: Implemented AndroidNativeBufferAllocator - Deprecated Androi…
pavly-gerges May 23, 2022
70244d9
[skip ci] update natives snapshot
May 23, 2022
488d9fa
Add GL debug capabilities (#1790)
riccardobl May 24, 2022
97e83fb
Add java types to VarType and type checks to MatParam (#1797)
riccardobl May 24, 2022
25f9ebb
SettingsDialog: Fixed LAF
pavly-gerges May 30, 2022
a257160
SettingsDialog: Updated jme3 copyright
pavly-gerges May 30, 2022
af37539
README.md: add a link to Chatter Games website
stephengold Jul 1, 2022
16a1ffa
Update README.md to include Exotic Matter (#1838)
entrusc Jul 25, 2022
de5c873
jme3-examples: update the fallback URLs for "TerrainGridTestData.zip"
stephengold Jul 25, 2022
43e9302
Improved code readability: ParticlePointMesh and ParticleTriMesh (#1831)
capdevon Jul 27, 2022
37788c5
jme3-core: add tests for Transform.toString()
stephengold Jul 27, 2022
ffdbf6b
Fix issue #1839 (Memory Leak in DefaultLightFilter)
Lukas-Habring Jul 29, 2022
5ae543c
Added getter & setter for FilterPostProcessor.depthFormat (#1841)
JosiahGoeman Aug 5, 2022
0f86fed
update the Gradle wrapper to v7.5.1
stephengold Aug 9, 2022
c436a40
main.yml: GitHub Action's ubuntu-18.04 environment is deprecated
stephengold Aug 9, 2022
13dcf11
bugfix: mergedJavadoc task is incompatible with Gradle v7
stephengold Aug 9, 2022
6c6aa44
main.yml: udate "actions/setup-java" to v3
stephengold Aug 9, 2022
2998528
main.yml: add JDK 17 tests
stephengold Aug 9, 2022
eaec241
build.gradle: update gradleVersion in case user runs the "wrapper" task
stephengold Aug 10, 2022
9bcfc46
Merge pull request #1827 from JMonkey-Archive/settings-laf-fix
pspeed42 Aug 13, 2022
f0b7a96
Fix #1843 (java.util.zip.ZipException in HttpZipLocator) (#1842)
Ali-RS Aug 15, 2022
42c4466
Clean up the display modes parsing
tonihele Aug 17, 2022
f6ccb8e
No need to separately test for the contains
tonihele Aug 17, 2022
cf9aa9c
README.md: SDK v3.4 has been released
stephengold Aug 22, 2022
7911a61
Some enhancement to new animation system (#1845)
Ali-RS Aug 24, 2022
1a071eb
Added a Loop tween to Tweens factory class (#1846)
Ali-RS Aug 24, 2022
9975e72
Added Tweens.cycle() and Tweens.invert() methods (#1849)
Ali-RS Aug 27, 2022
7fa8f7d
BlendAction: resolve slow-motion side effect caused by stretching act…
Ali-RS Aug 28, 2022
49a3102
Fix issue #1850 (JmeSystem.writeImageFile() throw java.nio.BufferUnde…
Ali-RS Sep 20, 2022
63a1d07
jme3-jogg: upgrade the j-ogg-all library to v1.0.2
stephengold Sep 24, 2022
6946cfd
#1569 Fix license file to be better detected by GitHub (#1855)
b0n541 Oct 8, 2022
4fb9564
jme3-plugins: update the "gson" library to v2.9.1
stephengold Oct 14, 2022
eff130a
workflows/main.yml: update the "checkout" action to v3
stephengold Oct 14, 2022
8fe3577
fix: broken link in README.md (#1858)
kaaquist Oct 22, 2022
0f5f1a3
workflows/main.yml: update wrapper-validation-action to v1.0.5
stephengold Nov 4, 2022
4f8fd42
update wrapper-validation-action to v1.0.5 (one more place)
stephengold Nov 4, 2022
e2ded65
Merge pull request #1844 from tonihele/settings-dialog
tonihele Nov 5, 2022
6eac311
README.md: SDK v3.5.2 has now been published
stephengold Nov 6, 2022
116ee9e
Quaternion: javadoc
stephengold Nov 11, 2022
81c26e1
Add instance culling function in InstancedGeometry (#1865)
Ali-RS Nov 18, 2022
930809e
Fix: make the stencil test functions usable. (#1866)
zzuegg Nov 25, 2022
a2d639c
upgrade to Gradle v7.6 (for its Java 19 support)
stephengold Nov 26, 2022
2bd2c7e
Read shorts properly
tonihele Nov 28, 2022
d3fb136
More efficient logging
tonihele Nov 28, 2022
556b57c
Read unsigned byte properly
tonihele Nov 28, 2022
8fc4079
Remove unnecessary byte and call the variable c as in the formulas
tonihele Nov 28, 2022
5557456
Merge pull request #1873 from tonihele/bugfix/issue-1871
tonihele Nov 29, 2022
9e54d44
move SettingsDialog and ErrorDialog to new jme3-awt-dialogs module (#…
stephengold Dec 8, 2022
80e55d4
JmeSurfaceView: Package migration (#1819)
pavly-gerges Dec 9, 2022
076f249
stephengold Dec 13, 2022
9d5eeee
jme3-core: correct/clarify javadoc
stephengold Dec 13, 2022
b470815
Implementation of a glTF extension loader for KHR_texture_transform (…
manuelrmo Dec 15, 2022
fa455b8
jme3-core: test the com.jme3.math.Triangle class
stephengold Dec 16, 2022
8de08ad
bugfix: Mesh.getTriangle() may yield an incorrect centroid
stephengold Dec 16, 2022
5d1ee26
Fix #1867 (LightFilter gets applied even if not needed) (#1872)
zzuegg Dec 17, 2022
478af32
BlendableAction: Fix JavaDoc for setMaxTransitionWeight & replace ass…
mrxz Dec 21, 2022
f92a73f
Fix #1412 (GltfLoader does not support AO packed in MetallicRoughness…
manuelrmo Dec 21, 2022
9c3d363
Fix #1882 (J3MLoader always generates mips ignoring MinFilter) (#1884)
Ali-RS Dec 28, 2022
1e237f3
Made extension loaders non-static to avoid concurrency issues (#1886)
Ali-RS Dec 28, 2022
7f927f0
Fix #1883 (Image class wrongly setting GL mips flags inside the const…
Ali-RS Dec 28, 2022
5b9fc87
AreaUtils: Migrated package to `com.jme3.util` (#1826)
pavly-gerges Jan 1, 2023
5b948df
Renderer: javadoc correction
stephengold Jan 7, 2023
0663306
update the groovy-test library to v3.0.14
stephengold Jan 7, 2023
00a8597
LICENSE.md: add 2023 to copyright years
stephengold Jan 7, 2023
fe851dc
Fix #1892 (TestChooser does not show classes list when run with java …
Ali-RS Jan 9, 2023
eda8b65
main.yml: use "temurin" openjdk. Fix #1896 (#1897)
Ali-RS Jan 10, 2023
b0bd1a5
README.md: add Demon Lord to the list of published games
stephengold Jan 10, 2023
36f9c89
Fix #1773 (Wrong particle position when `worldSpace` flag equals to t…
Ali-RS Jan 10, 2023
d07f66d
jme3-niftygui: solve issue #1891 (incorrect fullscreen layout) (#1895)
stephengold Jan 11, 2023
3e1b823
jme3-lwjgl:updated to lwjgl v2.9.4 hosted by org.jmonkeyengine. Fix #…
Ali-RS Jan 11, 2023
4e80c9b
Fix #1890 (crashes attempting to run example apps in fullscreen with …
Ali-RS Jan 11, 2023
c739b66
When in VR attach the debug scene to the two eye's scenes. Fix#1795 …
richardTingle Jan 11, 2023
0d6d6d9
Refactored PBR Terrain to use new for-loops. Fix #1785 (#1901)
yaRnMcDonuts Jan 11, 2023
ebf8a81
add the Spatial.addControlAt() method (#1899)
stephengold Jan 11, 2023
29e0761
JmeContext: add a getSystemListener() method (#1894)
stephengold Jan 11, 2023
ed475e7
jme3-examples: add tests for issue #1903
stephengold Jan 11, 2023
58c137f
Refactored Advanced PBR Terrain to use new for-loops (#1904)
yaRnMcDonuts Jan 12, 2023
6ad716a
Update AfflictionLib.glsllib (#1905)
yaRnMcDonuts Jan 12, 2023
b0e6ce7
common.gradle: set class files compatible with Java 8 using "release"…
Ali-RS Jan 12, 2023
76a55d5
common.gradle: add "Created-By" jar manifest to show Java version and…
Ali-RS Jan 15, 2023
9a2d950
ParticleEmitter: improve code readability. Apply the DRY principle (#…
capdevon Jan 15, 2023
925ff45
add 4 getters to JmeContext for screen position and frame-buffer size…
stephengold Jan 15, 2023
d694f7a
test and fix for #1909 (NPE while generating tangents) (#1910)
stephengold Jan 15, 2023
6d83c63
jme3-lwjgl: bump to lwjgl 2.9.5 (#1914)
Ali-RS Jan 15, 2023
5664d59
Fix #1917 (RendererException in ScreenshotAppState: Attempting to upl…
Ali-RS Jan 16, 2023
c5405ea
PBRLighting: fix comment describing packed MetallicRoughnessMap (#1921)
yaRnMcDonuts Jan 18, 2023
67d3edf
solve issue #1919 (underflow while generating tangents) (#1920)
stephengold Jan 18, 2023
458e9ec
main.yml: deploy with jdk17 (#1922)
Ali-RS Jan 19, 2023
c97a6d3
Fix #1923 (OSSRH artifacts are build with different java version) (#1…
Ali-RS Jan 22, 2023
2cc3965
main.yml: build on pushes to the new v3.6 branch
Ali-RS Jan 24, 2023
ead32f1
gradle.properties: next release from "master" branch should be v3.7.0
Ali-RS Jan 24, 2023
7a5d085
resolve issue #1926 (unnecessary dependencies) (#1927)
stephengold Jan 27, 2023
f244e89
solve issue #1928 (OutOfMemoryError in FBX importer) (#1929)
stephengold Jan 31, 2023
d313a32
solve issue #1930 (NPE in FbxLayerElement) (#1931)
stephengold Jan 31, 2023
c0efec4
solve issue #1932 (class cast exceptions in FBX importer) (#1934)
stephengold Jan 31, 2023
08d6984
solve issue #1933 (unsupported operation in FbxNode) (#1936)
stephengold Jan 31, 2023
18fa6be
solve issue #1937 (NPE in FbxObject) (#1938)
stephengold Jan 31, 2023
aaabd10
solve issue #1939 [NPE in FbxMesh.applyCluster()] (#1940)
stephengold Feb 3, 2023
3d203a1
update Groovy to v3.0.15
stephengold Feb 10, 2023
8edb89a
Update Application.start javadoc. (#1947)
Ali-RS Feb 12, 2023
fec08b3
Update RenderState.setLineWidth javadoc. (#1948)
Ali-RS Feb 12, 2023
4d407b0
Fix #1945 (IllegalStateException when running TestAWTPanels with LWJG…
Ali-RS Feb 12, 2023
04d8155
solve issue #1879 (compile-time error in Skinning.glsllib) (#1942)
stephengold Feb 12, 2023
634462d
Fix issue #1558 (TestAWTPanels crashes with LWJGL v3 on Linux) (#1944)
Ali-RS Feb 12, 2023
e7eb4d8
solve issue #1806 (global FrameInterpolator violates threading model)…
stephengold Feb 12, 2023
5b44743
Fix a typo in LwjglWindow (#1953)
Ali-RS Feb 13, 2023
493195e
Add WaterFilter.getReflectionView method (#1951)
Ali-RS Feb 13, 2023
2bf63e9
stephengold Feb 19, 2023
292bd4c
stephengold Feb 19, 2023
3d49531
resolve issue #1955 (Can not play vorbis audio on Android API 31+) (#…
pavly-gerges Feb 21, 2023
0cb5fe7
[skip ci] update natives snapshot
Feb 21, 2023
1cb03bb
jme3-jogg: remove dependency on Java Media Framework (#1962)
stephengold Feb 22, 2023
375015f
solve issue #1960 (use jme3-jogg for loading ogg files on android) (#…
Ali-RS Feb 22, 2023
8867934
solve issue #1963 (TestMusicPlayer fails to load AL library on lwjgl2…
Ali-RS Feb 24, 2023
3f1c24e
Replace Exception with warning in TerrainPatch (#1966)
yaRnMcDonuts Feb 25, 2023
5e859d5
Cleanup NativeLibraryLoader & fix wrong library path (#1967)
Ali-RS Feb 25, 2023
7854851
solve issue #1969: missing check in GLRenderer.clearVertexAttribs() …
stephengold Feb 26, 2023
72ffe5e
solve issue #1975: TestAttachDriver doesn't reset properly (#1976)
stephengold Mar 2, 2023
44a50de
Improve NativeLibraryLoader (#1973)
Ali-RS Mar 2, 2023
6522c3f
Deploy master branch commits as snapshot (#1983)
Sailsman63 Mar 11, 2023
a0c2c5e
Fix sonatype snapshots repo url
Ali-RS Mar 11, 2023
f51681a
Allow use of Emissive color as a multiplier with EmissiveMap in PBRLi…
Ali-RS Mar 11, 2023
f771f9b
Add support for NormalScale in PBRLighting & GltfLoader (#1980)
Ali-RS Mar 11, 2023
458c1b2
Add support for AoStrength in PBRLighting & GltfLoader (#1981)
Ali-RS Mar 11, 2023
6e9a189
stephengold Mar 12, 2023
cef0d3b
Some javadoc cleanup (#1986)
Sailsman63 Mar 15, 2023
401fb5e
README.md: latest stable version of Engine
Ali-RS Mar 20, 2023
365759d
LwjglContext: re-initialize renderer on context restart (lwjgl 2) (#1…
Ali-RS Mar 23, 2023
15c906d
README.md: add Mravelous Marbles to the list of JME-powered games
stephengold Apr 3, 2023
76ebd14
update the LWJGL3 libraries from v3.3.1 to v3.3.2
stephengold Apr 5, 2023
53815ae
update Groovy to v3.0.17
stephengold Apr 27, 2023
d418e1f
correctly handle negative IDs in getUniqueId() methods (#1991)
stephengold Apr 29, 2023
25a3407
NativeLibraryLoader: more detailed exception in computeNativesHash()…
stephengold May 1, 2023
90c0e75
README.md: add "Boxer" to the project list
stephengold May 10, 2023
921e0f4
solve issue #2003 (ParticleDepositionHeightMap.load return value) (#2…
stephengold May 12, 2023
145d043
solve issue #2002 (TerrainGridTileLoaderTest fails to load tiles) (#…
stephengold May 12, 2023
3f0fa2d
solve issue #2011 (app crashes when using OpenGL version 3.0 and 3.1 …
aspenyoung May 15, 2023
7abc35b
solve issue #2007 (instanced objects are culled when using WaterFilte…
Ali-RS May 16, 2023
ca0b54e
Variables should start with lower-case. (#2013)
Starcommander May 16, 2023
165cb59
solve issue #1992: better messages in spatial assertions (#1993)
richardTingle May 20, 2023
ac4c763
solve issue #2015 (Picture class lacks 2 getters)
stephengold May 21, 2023
7025310
CloneableSmartAsset: clarify the setKey() javadoc (#2018)
stephengold May 24, 2023
efbcd03
stephengold May 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 74 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ on:
push:
branches:
- master
- v3.6
- v3.5
- v3.4
- v3.3
Expand All @@ -58,17 +59,17 @@ jobs:
# Build the natives on android
BuildAndroidNatives:
name: Build natives for android
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container:
image: jmonkeyengine/buildenv-jme3:android

steps:
- name: Clone the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Validate the Gradle wrapper
uses: gradle/[email protected].4
uses: gradle/[email protected].5
- name: Build
run: |
./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \
Expand All @@ -80,40 +81,42 @@ jobs:
name: android-natives
path: build/native

# Build the engine, we only deploy from ubuntu-18.04 jdk8
# Build the engine, we only deploy from ubuntu-latest jdk17
BuildJMonkey:
needs: [BuildAndroidNatives]
name: Build on ${{ matrix.osName }} jdk${{ matrix.jdk }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04,ubuntu-20.04,windows-2019,macOS-latest]
jdk: [8.x.x,11.x.x]
os: [ubuntu-latest,windows-2019,macOS-latest]
jdk: [8, 11, 17]
include:
- os: ubuntu-20.04
osName: linux-next
- os: ubuntu-18.04
- os: ubuntu-latest
osName: linux
deploy: true
- os: windows-2019
osName: windows
deploy: false
- os: macOS-latest
osName: mac
- jdk: 11.x.x
deploy: false
- jdk: 8
deploy: false
- jdk: 11
deploy: false

steps:
- name: Clone the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup the java environment
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.jdk }}
architecture: x64

- name: Download natives for android
uses: actions/download-artifact@master
Expand All @@ -122,7 +125,7 @@ jobs:
path: build/native

- name: Validate the Gradle wrapper
uses: gradle/[email protected].4
uses: gradle/[email protected].5
- name: Build Engine
shell: bash
run: |
Expand Down Expand Up @@ -203,10 +206,10 @@ jobs:
# The snapshot is downloaded when people build the engine without setting buildNativeProject
# this is useful for people that want to build only the java part and don't have
# all the stuff needed to compile natives.
DeploySnapshot:
DeployNativeSnapshot:
needs: [BuildJMonkey]
name: "Deploy snapshot"
runs-on: ubuntu-18.04
name: "Deploy native snapshot"
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:

Expand Down Expand Up @@ -288,20 +291,71 @@ jobs:
fi
fi

# This job deploys snapshots on the master branch
DeployJavaSnapshot:
needs: [BuildJMonkey]
name: Deploy Java Snapshot
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref_name == 'master'
steps:

# We need to clone everything again for uploadToMaven.sh ...
- name: Clone the repo
uses: actions/checkout@v3
with:
fetch-depth: 1

# Setup jdk 17 used for building Maven-style artifacts
- name: Setup the java environment
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Download natives for android
uses: actions/download-artifact@master
with:
name: android-natives
path: build/native

- name: Rebuild the maven artifacts and deploy them to the Sonatype repository
run: |
if [ "${{ secrets.OSSRH_PASSWORD }}" = "" ];
then
echo "Configure the following secrets to enable deployment to Sonatype:"
echo "OSSRH_PASSWORD, OSSRH_USERNAME, SIGNING_KEY, SIGNING_PASSWORD"
else
./gradlew publishMavenPublicationToSNAPSHOTRepository \
-PossrhPassword=${{ secrets.OSSRH_PASSWORD }} \
-PossrhUsername=${{ secrets.OSSRH_USERNAME }} \
-PsigningKey='${{ secrets.SIGNING_KEY }}' \
-PsigningPassword='${{ secrets.SIGNING_PASSWORD }}' \
-PuseCommitHashAsVersionName=true \
--console=plain --stacktrace
fi


# This job deploys the release
DeployRelease:
needs: [BuildJMonkey]
name: Deploy Release
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
if: github.event_name == 'release'
steps:

# We need to clone everything again for uploadToMaven.sh ...
- name: Clone the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1

# Setup jdk 17 used for building Sonatype OSSRH artifacts
- name: Setup the java environment
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

# Download all the stuff...
- name: Download maven artifacts
uses: actions/download-artifact@master
Expand Down Expand Up @@ -366,7 +420,7 @@ jobs:
DeployJavaDoc:
needs: [BuildJMonkey]
name: Deploy Javadoc
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
if: github.event_name == 'release'
steps:

Expand Down
29 changes: 0 additions & 29 deletions LICENSE

This file was deleted.

30 changes: 30 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Copyright (c) 2009-2023 jMonkeyEngine.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ jMonkeyEngine
[![Build Status](https://github.com/jMonkeyEngine/jmonkeyengine/workflows/Build%20jMonkeyEngine/badge.svg)](https://github.com/jMonkeyEngine/jmonkeyengine/actions)

jMonkeyEngine is a 3-D game engine for adventurous Java developers. It’s open-source, cross-platform, and cutting-edge.
v3.5.2 is the latest stable version of the Engine.
v3.3.2 is the latest stable version of the jMonkeyEngine SDK.
v3.6.0 is the latest stable version of the engine.

The engine is used by several commercial game studios and computer-science courses. Here's a taste:

![jME3 Games Mashup](https://i.imgur.com/nF8WOW6.jpg)

- [jME powered games on IndieDB](http://www.indiedb.com/engines/jmonkeyengine/games)
- [Maker's Tale](http://steamcommunity.com/sharedfiles/filedetails/?id=93461954t)
- [Boardtastic 2](https://boardtastic-2.fileplanet.com/apk)
- [Attack of the Gelatinous Blob](https://attack-gelatinous-blob.softwareandgames.com/)
- [Mythruna](http://mythruna.com/)
Expand All @@ -27,6 +25,12 @@ The engine is used by several commercial game studios and computer-science cours
- [Jumping Jack Flag](http://timealias.bplaced.net/jack/)
- [PapaSpace Flight Simulation](https://www.papaspace.at/)
- [Cubic Nightmare](https://jaredbgreat.itch.io/cubic-nightmare)
- [Chatter Games](https://chatter-games.com)
- [Exotic Matter](https://exoticmatter.io)
- [Demon Lord (on Google Play)](https://play.google.com/store/apps/details?id=com.dreiInitiative.demonLord&pli=1)
- [Wild Magic](http://wildmagicgame.ru/)
- [Marvelous Marbles (on Steam)](https://store.steampowered.com/app/2244540/Marvelous_Marbles/)
- [Boxer (on Google Play)](https://play.google.com/store/apps/details?id=com.tharg.boxer)

## Getting started

Expand All @@ -53,5 +57,5 @@ Read our [contribution guide](https://github.com/jMonkeyEngine/jmonkeyengine/blo

### License

[New BSD (3-clause) License](https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/LICENSE)
[New BSD (3-clause) License](https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/LICENSE.md)

31 changes: 20 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allprojects {
}

// Set the license for IDEs that understand this
ext.license = file("$rootDir/license.txt")
ext.license = file("$rootDir/source-file-header-template.txt")

apply plugin: 'base'
apply plugin: 'com.github.spotbugs'
Expand Down Expand Up @@ -124,6 +124,22 @@ task dist(dependsOn: [':jme3-examples:dist', 'mergedJavadoc']){
description 'Creates a jME3 examples distribution with all jme3 binaries, sources, javadoc and external libraries under ./dist'
}

def mergedJavadocSubprojects = [
":jme3-android",
":jme3-core",
":jme3-desktop",
":jme3-effects",
":jme3-ios",
":jme3-jbullet",
":jme3-jogg",
":jme3-lwjgl",
":jme3-lwjgl3",
":jme3-networking",
":jme3-niftygui",
":jme3-plugins",
":jme3-terrain",
":jme3-vr"
]
task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the projects.') {
title = 'jMonkeyEngine3'
destinationDir = mkdir("dist/javadoc")
Expand All @@ -136,15 +152,8 @@ task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the pro
}

options.overview = file("javadoc-overview.html")
// Note: The closures below are executed lazily.
source subprojects.collect {project ->
project.sourceSets.main.allJava // main only, exclude tests
}
classpath = files(subprojects.collect {project ->
project.sourceSets*.compileClasspath})
classpath.from {
subprojects*.configurations*.compile*.copyRecursive({ !(it instanceof ProjectDependency); })*.resolve()
}
source = mergedJavadocSubprojects.collect { project(it).sourceSets.main.allJava }
classpath = files(mergedJavadocSubprojects.collect { project(it).sourceSets.main.compileClasspath })
}

clean.dependsOn('cleanMergedJavadoc')
Expand Down Expand Up @@ -274,7 +283,7 @@ if (skipPrebuildLibraries != "true" && buildNativeProjects != "true") {
//}

wrapper {
gradleVersion = '6.9.2'
gradleVersion = '7.6'
}


Expand Down
20 changes: 16 additions & 4 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ tasks.withType(JavaCompile) { // compile-time options:
//options.compilerArgs << '-Xlint:deprecation' // to show deprecation warnings
options.compilerArgs << '-Xlint:unchecked'
options.encoding = 'UTF-8'
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_10)) {
options.release = 8
}
}

ext {
lwjgl3Version = '3.3.1' // used in both the jme3-lwjgl3 and jme3-vr build scripts
lwjgl3Version = '3.3.2' // used in both the jme3-lwjgl3 and jme3-vr build scripts
niftyVersion = '1.4.3' // used in both the jme3-niftygui and jme3-examples build scripts
}

repositories {
Expand All @@ -37,10 +41,9 @@ dependencies {
// Adding dependencies here will add the dependencies to each subproject.
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
testImplementation 'org.codehaus.groovy:groovy-test:3.0.10'
testImplementation 'org.codehaus.groovy:groovy-test:3.0.17'
}


// Uncomment if you want to see the status of every test that is run and
// the test output.
/*
Expand All @@ -55,7 +58,8 @@ jar {
manifest {
attributes 'Implementation-Title': 'jMonkeyEngine',
'Implementation-Version': jmeFullVersion,
'Automatic-Module-Name': "${project.name.replace("-", ".")}"
'Automatic-Module-Name': "${project.name.replace("-", ".")}",
'Created-By': "${JavaVersion.current()} (${System.getProperty("java.vendor")})"
}
}

Expand Down Expand Up @@ -167,6 +171,14 @@ publishing {
name = 'OSSRH'
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2'
}
maven {
credentials {
username = gradle.rootProject.hasProperty('ossrhUsername') ? ossrhUsername : 'Unknown user'
password = gradle.rootProject.hasProperty('ossrhPassword') ? ossrhPassword : 'Unknown password'
}
name = 'SNAPSHOT'
url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
}
}

Expand Down
Loading