Quickstart
Prepare the local environment
The documentation is mainly designed for Linux, which should be fairly compatible with macOS and Windows (with WSL).
-
Install SDKMAN! by following the instructions in: https://sdkman.io/install/ or:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version -
Install Java 25+:
sdk install java 25.0.2-tem -
Create and configure the file
$HOME/.gradle/gradle.properties:mkdir $HOME/.gradle
cat <<EOL >> $HOME/.gradle/gradle.properties
etherealStudioMavenRepoUrl=https://gitlab.com/api/v4/projects/67011212/packages/maven
etherealStudioMavenRepoAuthHeaderName=Private-Token
etherealStudioMavenRepoAuthHeaderValue=<token_value>
EOLReplacing
<token_value>with a valid token.If you don't have a token, you can generate it by going to your
User preferences > Access Tokens: https://gitlab.com/-/user_settings/personal_access_tokens and create one with the following scopes:read_api, read_repository, write_repository, read_registry.An additional recommended setting to be added to the file is:
org.gradle.parallel=truewarningDo not add these credentials at project level
Download the example project
Now that all environment preparations are ready, we can setup our game example:
-
Reproduce the structure for the game:
mkdir -p games/example -
Change to the game directory:
cd games/example -
Download the example projects:
git clone [email protected]:ethereal-partners/partner/example_studio/games/example/example-be.git -
Confirm a correct setup (run simulations)
cd example-be
./gradlew studioRunSim