Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
a02f756
gpu: portable shader graphs (ShaderNode/ShaderMaterial) on every backend
shai-almog Nov 13, 2026
c9b7ed1
gpu: normal, detail, occlusion, emissive and metal-rough maps; analyt…
shai-almog Nov 13, 2026
4e50ea1
gpu: shader library (com.codename1.gpu.shaders), scene presets, Primi…
shai-almog Nov 13, 2026
5b9bba6
gpu: god rays, chromatic aberration and FXAA; instancing; a running s…
shai-almog Nov 13, 2026
cd36219
hellocodenameone: shader library screenshot tests (harbour scene, gal…
shai-almog Nov 13, 2026
1999d31
docs: custom shaders, the shader library, presets and instancing in t…
shai-almog Nov 13, 2026
eebd5a6
docs: re-capture the Splat screenshots with the shader library materials
shai-almog Nov 13, 2026
490ed54
gpu: shadow casters run their custom shader's vertex offset and discard
shai-almog Nov 13, 2026
ec525de
website: re-record the Splat videos and posters
shai-almog Nov 13, 2026
08ce0a3
gpu: two shadow cascades on every backend
shai-almog Nov 13, 2026
43e9b8b
gpu: image based lighting on every backend
shai-almog Nov 13, 2026
fee8cfd
gpu: render targets on every backend
shai-almog Nov 13, 2026
95da35c
gpu: depth post effects and colour lookup on every backend
shai-almog Nov 13, 2026
bf809c6
gpu: close the macOS shadow-pass stub so the render-target stubs are …
shai-almog Nov 13, 2026
77c5923
gpu: skinning in the vertex stage on every backend
shai-almog Nov 13, 2026
926ba92
gpu: custom full screen passes in the post chain on every backend
shai-almog Nov 13, 2026
58eb529
website: re-record the Splat release demos with the new GPU features
shai-almog Nov 13, 2026
86887aa
gpu: AnimatedModel.getBounds, scalar lowering, logged pass drops; rec…
shai-almog Nov 13, 2026
09f8bc7
port status: register the GPU shader tests; regenerate the embedded s…
shai-almog Nov 13, 2026
d9bfeac
gpu: CI fixes - CLDC-safe math, headers, docs gates, released-API sam…
shai-almog Nov 14, 2026
e6b44c9
gpu tests: wait for rendered frames before capture; seed remaining go…
shai-almog Nov 14, 2026
bbeb014
ci: seed Windows Gpu goldens, include-only guide snippets, rebaseline…
shai-almog Nov 14, 2026
165cb28
docs: accept 'toon' in the developer guide
shai-almog Nov 14, 2026
b34c36d
docs: GPU shader fragments get no Playground button
shai-almog Nov 14, 2026
1d2d78c
initializr: resync the Splat template after restoring ArenaView
shai-almog Nov 14, 2026
9823366
Merge remote-tracking branch 'origin/master' into gpu-shader-nodes
shai-almog Nov 14, 2026
2fb7691
android: filePath is read from an inner class, so it must be final fo…
shai-almog Nov 14, 2026
2d8976a
gpu: Metal stride parse skips shader key segments; JS-safe frame gate…
shai-almog Nov 14, 2026
abf239c
gpu tests: one render request per frame in the frame gate
shai-almog Nov 14, 2026
978cfe0
ci: seed Gpu goldens for iOS Metal 27 and Mac Catalyst
shai-almog Nov 15, 2026
a8753ad
Merge remote-tracking branch 'origin/master' into gpu-shader-nodes
shai-almog Nov 15, 2026
76c2456
Merge remote-tracking branch 'origin/master' into gpu-shader-nodes
shai-almog Nov 15, 2026
a7df49c
luau-runtime: a pure-Java Luau interpreter for every target
shai-almog Nov 14, 2026
f4f3805
rbx-compat: the engine API over Codename One for Luau place scripts
shai-almog Nov 15, 2026
1ae9caf
rbx-compat: place and model file I/O with a compatibility report
shai-almog Nov 15, 2026
cf1d799
rbx-compat: rigid bodies, a GPU part renderer and five starter templates
shai-almog Nov 15, 2026
c7a2d24
brickyard: backend for accounts, publishing, data stores and leaderbo…
shai-almog Nov 15, 2026
ad7daec
rbx-compat: play view, camera rig, GUI painter and agent studio tools…
shai-almog Nov 15, 2026
eb57c90
brickyard: player app shell - discover, experience page, leaderboards…
shai-almog Nov 15, 2026
e1403e0
brickyard: play experiences in 3D through PlayView
shai-almog Nov 15, 2026
5393c5b
brickyard: creator studio - explorer, properties, scripts, templates,…
shai-almog Nov 15, 2026
17d546b
brickyard: economy, progression, social, moderation and analytics bac…
shai-almog Nov 15, 2026
d675e6f
rbx-compat: multiplayer replication - authoritative server, client re…
shai-almog Nov 15, 2026
5730377
brickyard: creator dashboard and admin console
shai-almog Nov 15, 2026
82db035
ci: hold luau-runtime and rbx-compat to the static-analysis and cast-…
shai-almog Nov 15, 2026
8c382e4
brickyard: CI workflow and README
shai-almog Nov 15, 2026
6e05283
copyright gate: scripts/brickyard is MIT-0 sample code like the other…
shai-almog Nov 15, 2026
d6ca296
brickyard: online multiplayer - matchmaking, play rooms over game soc…
shai-almog Nov 15, 2026
f55de8f
rbx: split the client half into rbx-view so the engine runs on a server
shai-almog Nov 15, 2026
3808eea
brickyard: close the platform gaps - multi-instance rooms, push, limi…
shai-almog Nov 15, 2026
21c97b9
brickyard: act on store refund notifications; drop Social's dead invi…
shai-almog Nov 15, 2026
df02598
backend compiled tests: embed test resources; brickyard: monotonic ev…
shai-almog Nov 15, 2026
7271061
brickyard: verify the stores' signatures on refund notifications
shai-almog Nov 15, 2026
3ce5d4b
brickyard: avatar bodies end to end, store covers, cleaner AO, honest…
shai-almog Nov 15, 2026
476dccb
brickyard: luau editor, baseplate template, playable obby, wedge slop…
shai-almog Nov 15, 2026
b91492e
brickyard: toolbox models and scripts, AI agent connect dialog, in-ga…
shai-almog Nov 15, 2026
03cb4b0
Simulator recordings show text typed into the native editor; brickyar…
shai-almog Nov 15, 2026
5824c05
brickyard: effects menu, AI edits logged with their Luau, console tra…
shai-almog Nov 15, 2026
ad4b387
Simulator: preview desktop.titleBar=native native menus in desktop mo…
shai-almog Nov 16, 2026
804cc80
brickyard: touch studio (side menu, overflow, insert sheet, tool pick…
shai-almog Nov 16, 2026
526c697
Recordings letterbox a rotated screen instead of stretching it; publi…
shai-almog Nov 16, 2026
c6b90ef
brickyard: studio overlays put the 3D view in lightweight mode while …
shai-almog Nov 16, 2026
004d318
rbx-compat: rainbow obby template, a classic sky obby with a stage pe…
shai-almog Nov 16, 2026
bf0a7d2
brickyard: neutral Roblox-style look, game tiles first on Home, roomi…
shai-almog Nov 16, 2026
ffa369d
rbx-compat: Disaster Island and Brick Town templates, obby respawn at…
shai-almog Nov 16, 2026
54c02b5
brickyard: live player counts, friends playing with names, leaderboar…
shai-almog Nov 16, 2026
38ed6be
brickyard: walk out of an overlapping character, Leave and Settings r…
shai-almog Nov 17, 2026
36ab476
Merge master into brickyard-platform
shai-almog Nov 17, 2026
5e1a430
brickyard: drop the recording bots; the sample is root, shared, commo…
shai-almog Nov 17, 2026
9212d93
Drop a perf baseline master removed
shai-almog Nov 17, 2026
7ba627d
Brickyard implementor's guide, demo page with videos, developer guide…
shai-almog Nov 17, 2026
727d873
brickyard: templates held to their generator in CI, guide passes Vale…
shai-almog Nov 17, 2026
10818b4
brickyard: harden the sandbox, the place reader and replication again…
shai-almog Nov 17, 2026
7629fd6
brickyard docs: the template picker and the win, not the home tab
shai-almog Nov 17, 2026
4ff4fcd
brickyard: every game says what it wants; home, season, quests and av…
shai-almog Nov 17, 2026
58bbe1d
brickyard: one string-length guard for every way a script grows a str…
shai-almog Nov 17, 2026
a945063
brickyard CI: run the client's tests, not only compile them
shai-almog Nov 17, 2026
deed792
JSONParserTest: the standard copyright header
shai-almog Nov 17, 2026
515135c
Restore Brickyard's shader additions the master merge dropped
shai-almog Nov 17, 2026
36157fd
brickyard CI: install the app kit for the server jobs; the guide poin…
shai-almog Nov 17, 2026
5fc6210
Brickyard guide: the six LanguageTool matches
shai-almog Nov 17, 2026
e0e6ba4
brickyard: MySQL keys case sensitive and NO PAD; thumbnails in a LONG…
shai-almog Nov 17, 2026
1cb44e3
gpu: keep master's lava; the heavier one took the Android emulator down
shai-almog Nov 17, 2026
7f655ec
gpu: keep master's ambient occlusion pass
shai-almog Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
290 changes: 290 additions & 0 deletions .github/workflows/brickyard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@
name: Brickyard (game platform sample)

# scripts/brickyard is a user-generated-content game platform: players play
# experiences built from Luau scripts and place files, creators build and
# publish them in an in-app studio, admins moderate. Its engine is two
# framework modules -- maven/luau-runtime (a pure-Java Luau interpreter) and
# maven/rbx-compat (the engine API, place file I/O, 3D, physics and
# multiplayer replication over it) -- and the project itself has a `shared`
# module of transfer objects and @RestClient contracts, the Codename One
# client (`common`) and a Codename One Backend.
#
# Checked here:
#
# engine both engine modules' tests: the Luau conformance
# suite, the five starter templates played headless,
# place round trips, replication between a server and
# two clients
# backend the server's tests on the JVM, on in-memory SQLite
# backend-database the same tests on PostgreSQL and MySQL
# app the client compiles and its unit tests compile
#
# The engine modules' static analysis (SpotBugs, PMD, Checkstyle) and the
# cast-semantics check run in pr.yml with the rest of the framework.
#
# The engine (rbx-compat) names nothing of the client framework -- its
# ServerSafeTest holds that -- so the server can run it compiled natively; the
# renderer, play view and agent tools are rbx-view, which only the app uses.
# Not here yet: a simulator or device leg, because the project has no javase
# module.

on:
# Nightly at 00:11 UTC on master (nightly-watchdog.yml opens an issue when it
# fails), and on a pull request only when this workflow's own tree changes.
pull_request:
paths:
- 'scripts/brickyard/**'
- 'maven/luau-runtime/**'
- 'maven/rbx-compat/**'
- 'maven/rbx-view/**'
- '.github/workflows/brickyard.yml'
workflow_dispatch:
schedule:
- cron: '11 0 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
engine:
name: Engine tests (Luau runtime and engine API)
runs-on: ubuntu-24.04
timeout-minutes: 40
steps:
- uses: actions/checkout@v6

- name: Set up JDK 8
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'

- name: Starter templates match their generator
# The .rbxlx templates are checked in so the jar needs no Python, and
# generated so their scripts stay editable: a hand edit to either side
# is drift.
run: |
python3 maven/rbx-compat/tools/gen-templates.py
git diff --exit-code -- maven/rbx-compat/src/main/resources/com/codename1/rbx/templates

- name: Test both engine modules
working-directory: maven
run: |
bash "$GITHUB_WORKSPACE/scripts/ci/retry.sh" mvn -B -pl core -am install -DskipTests \
-Plocal-dev-javase -Dspotbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true -Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
mvn -B -pl luau-runtime,rbx-compat,rbx-view install \
-Dspotbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true -Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
env:
RETRY_ONLY_MATCHING: transient

- name: Upload the test reports
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v7
with:
name: brickyard-engine-tests
path: |
maven/luau-runtime/target/surefire-reports/**
maven/rbx-compat/target/surefire-reports/**
maven/rbx-view/target/surefire-reports/**
if-no-files-found: warn
retention-days: 14

backend:
name: Server tests (JVM)
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v6

- name: Set up JDK 8
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'
- name: Save JDK 8 Path
run: echo "JDK_8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"

- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
- name: Save JDK 17 Path
run: echo "JDK_17_HOME=$JAVA_HOME" >> "$GITHUB_ENV"

- name: Install the framework, the engine, the backend runtime and the plugin
working-directory: maven
run: |
bash "$GITHUB_WORKSPACE/scripts/ci/retry.sh" mvn -B \
-pl core,backend,backend-test,cn1-app-kit/backend,codenameone-maven-plugin,luau-runtime,rbx-compat \
-am install -DskipTests -Plocal-dev-javase \
-Dspotbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
-Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
env:
JAVA_HOME: ${{ env.JDK_8_HOME }}
RETRY_ONLY_MATCHING: transient

- name: Run the server tests
working-directory: scripts/brickyard
run: |
mvn -B -Dcodename1.platform=backend -pl shared,backend test \
-Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
env:
JAVA_HOME: ${{ env.JDK_17_HOME }}
JDK_8_HOME: ${{ env.JDK_8_HOME }}

- name: Check that the tests reported
working-directory: scripts/brickyard/backend/target/surefire-reports
run: |
n=$(find . -maxdepth 1 -name 'TEST-*.xml' | wc -l)
echo "reports: $n"
[ "$n" -gt 0 ] || { echo "::error::the server tests produced no reports"; exit 1; }

- name: Upload the test reports
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v7
with:
name: brickyard-backend-tests
path: scripts/brickyard/backend/target/surefire-reports/**
if-no-files-found: warn
retention-days: 14

backend-database:
name: Server tests on ${{ matrix.database }}
runs-on: ubuntu-24.04
timeout-minutes: 60
# The backend job runs on in-memory SQLite, which accepts any declared
# column type for any value. PostgreSQL and MySQL are what a deployment
# runs on, and where the ORM's schema validation refuses a mapping that
# disagrees with its migration.
strategy:
fail-fast: false
matrix:
database: [postgresql, mysql]
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: cn1
POSTGRES_PASSWORD: secret
POSTGRES_DB: cn1
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U cn1" --health-interval 5s
--health-timeout 5s --health-retries 20
steps:
- uses: actions/checkout@v6

- name: Start MySQL
if: matrix.database == 'mysql'
run: |
sudo systemctl start mysql.service
sudo mysql -uroot -proot -e "CREATE USER 'cn1'@'%' IDENTIFIED WITH mysql_native_password BY 'secret'; GRANT ALL ON *.* TO 'cn1'@'%'; CREATE DATABASE cn1;"

- name: Set up JDK 8
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'
- name: Save JDK 8 Path
run: echo "JDK_8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"

- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
- name: Save JDK 17 Path
run: echo "JDK_17_HOME=$JAVA_HOME" >> "$GITHUB_ENV"

- name: Install the framework, the engine, the backend runtime and the plugin
working-directory: maven
run: |
bash "$GITHUB_WORKSPACE/scripts/ci/retry.sh" mvn -B \
-pl core,backend,backend-test,cn1-app-kit/backend,codenameone-maven-plugin,luau-runtime,rbx-compat \
-am install -DskipTests -Plocal-dev-javase \
-Dspotbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
-Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
env:
JAVA_HOME: ${{ env.JDK_8_HOME }}
RETRY_ONLY_MATCHING: transient

- name: Run the server tests on ${{ matrix.database }}
run: |
if [ "${{ matrix.database }}" = mysql ]; then
export CN1_TEST_DATABASE_URL="mysql://cn1:secret@127.0.0.1:3306/cn1?sslmode=disable"
else
export CN1_TEST_DATABASE_URL="postgres://cn1:secret@localhost:5432/cn1?sslmode=disable"
fi
scripts/ci/sample-server-tests-on-database.sh scripts/brickyard \
-Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
env:
JAVA_HOME: ${{ env.JDK_17_HOME }}

- name: Upload the test reports
if: always()
uses: actions/upload-artifact@v7
with:
name: brickyard-backend-${{ matrix.database }}-tests
path: scripts/brickyard/backend/target/surefire-reports/**
if-no-files-found: warn
retention-days: 14

app:
name: Client compiles
runs-on: ubuntu-24.04
timeout-minutes: 40
steps:
- uses: actions/checkout@v6

- name: Set up JDK 8
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'
- name: Save JDK 8 Path
run: echo "JDK_8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"

- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
- name: Save JDK 17 Path
run: echo "JDK_17_HOME=$JAVA_HOME" >> "$GITHUB_ENV"

- name: Install the framework, the engine and the plugin
working-directory: maven
run: |
bash "$GITHUB_WORKSPACE/scripts/ci/retry.sh" mvn -B \
-pl core,css-compiler,codenameone-maven-plugin,backend,luau-runtime,rbx-compat,rbx-view \
-am install -DskipTests -Plocal-dev-javase \
-Dspotbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
-Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
env:
JAVA_HOME: ${{ env.JDK_8_HOME }}
RETRY_ONLY_MATCHING: transient

- name: Test the client
# The javase profile is the one that runs JUnit; without it the
# client's tests only compiled.
working-directory: scripts/brickyard
run: |
mvn -B -Dcodename1.platform=javase -pl common -am test -Dmaven.repo.local="$GITHUB_WORKSPACE/.m2-repo"
env:
JAVA_HOME: ${{ env.JDK_17_HOME }}
JDK_8_HOME: ${{ env.JDK_8_HOME }}
12 changes: 6 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ jobs:
-Dcn1.binaries="${CN1_BINARIES}" \
-Pcompile-android \
-DbackendAnalysis \
-pl android,ios,project-model,build-engine,codenameone-maven-plugin,codenameone-gradle-plugin,backend,backend-test,backend-parparvm,javac,android-res-compiler,android-compat,swing-compat,javafx-compat,compose-compat,fxml-compiler,desktop-compat-runtime,cn1-app-kit/backend,cn1-app-kit/common,python-transpiler -am verify
-pl android,ios,project-model,build-engine,codenameone-maven-plugin,codenameone-gradle-plugin,backend,backend-test,backend-parparvm,javac,android-res-compiler,android-compat,swing-compat,javafx-compat,compose-compat,fxml-compiler,desktop-compat-runtime,cn1-app-kit/backend,cn1-app-kit/common,python-transpiler,luau-runtime,rbx-compat,rbx-view -am verify
# The Python runtime compiles at release 17, so it cannot join the JDK 8
# reactor above; it runs against the core that reactor installed. It ships
# inside applications, so it is held to the same zero-findings gate.
Expand Down Expand Up @@ -642,7 +642,7 @@ jobs:
- name: Generate static analysis HTML summaries
if: ${{ !cancelled() && matrix.java-version == 8 }}
env:
QUALITY_REPORT_TARGET_DIRS: maven/core-unittests/target:maven/android/target:maven/ios/target:vm/ByteCodeTranslator/target:maven/codenameone-maven-plugin/target:maven/build-engine/target:maven/project-model/target:maven/codenameone-gradle-plugin/target:maven/build-hint-catalog/target:maven/build-hint-tools/target:maven/backend/target:maven/backend-test/target:maven/backend-parparvm/target:maven/javac/target:maven/android-res-compiler/target:maven/android-compat/target:maven/swing-compat/target:maven/javafx-compat/target:maven/compose-compat/target:maven/fxml-compiler/target:maven/desktop-compat-runtime/target:maven/python-transpiler/target:maven/python-runtime/target
QUALITY_REPORT_TARGET_DIRS: maven/core-unittests/target:maven/android/target:maven/ios/target:vm/ByteCodeTranslator/target:maven/codenameone-maven-plugin/target:maven/build-engine/target:maven/project-model/target:maven/codenameone-gradle-plugin/target:maven/build-hint-catalog/target:maven/build-hint-tools/target:maven/backend/target:maven/backend-test/target:maven/backend-parparvm/target:maven/javac/target:maven/android-res-compiler/target:maven/android-compat/target:maven/swing-compat/target:maven/javafx-compat/target:maven/compose-compat/target:maven/fxml-compiler/target:maven/desktop-compat-runtime/target:maven/python-transpiler/target:maven/python-runtime/target:maven/luau-runtime/target:maven/rbx-compat/target:maven/rbx-view/target
QUALITY_REPORT_SERVER_URL: ${{ github.server_url }}
QUALITY_REPORT_REPOSITORY: ${{ github.repository }}
QUALITY_REPORT_REF: ${{ github.event.pull_request.head.sha || github.sha }}
Expand Down Expand Up @@ -799,16 +799,16 @@ jobs:
- name: Generate quality report summary
if: ${{ !cancelled() && matrix.java-version == 8 }}
env:
QUALITY_REPORT_TARGET_DIRS: maven/core-unittests/target:maven/android/target:maven/ios/target:vm/ByteCodeTranslator/target:maven/codenameone-maven-plugin/target:maven/build-engine/target:maven/project-model/target:maven/codenameone-gradle-plugin/target:maven/build-hint-catalog/target:maven/build-hint-tools/target:maven/backend/target:maven/backend-test/target:maven/backend-parparvm/target:maven/javac/target:maven/android-res-compiler/target:maven/android-compat/target:maven/swing-compat/target:maven/javafx-compat/target:maven/compose-compat/target:maven/fxml-compiler/target:maven/desktop-compat-runtime/target:maven/python-transpiler/target:maven/python-runtime/target
QUALITY_REPORT_TARGET_DIRS: maven/core-unittests/target:maven/android/target:maven/ios/target:vm/ByteCodeTranslator/target:maven/codenameone-maven-plugin/target:maven/build-engine/target:maven/project-model/target:maven/codenameone-gradle-plugin/target:maven/build-hint-catalog/target:maven/build-hint-tools/target:maven/backend/target:maven/backend-test/target:maven/backend-parparvm/target:maven/javac/target:maven/android-res-compiler/target:maven/android-compat/target:maven/swing-compat/target:maven/javafx-compat/target:maven/compose-compat/target:maven/fxml-compiler/target:maven/desktop-compat-runtime/target:maven/python-transpiler/target:maven/python-runtime/target:maven/luau-runtime/target:maven/rbx-compat/target:maven/rbx-view/target
# Every project listed here must produce a SpotBugs report and that
# report must be empty. A missing report fails the gate too, so a
# SpotBugs run that silently stops running is not mistaken for clean.
QUALITY_REPORT_REQUIRED_SPOTBUGS: core-unittests:android:ios:ByteCodeTranslator:codenameone-maven-plugin:build-engine:project-model:codenameone-gradle-plugin:build-hint-catalog:build-hint-tools:backend:backend-test:javac:android-res-compiler:android-compat:swing-compat:javafx-compat:compose-compat:fxml-compiler:desktop-compat-runtime:python-transpiler:python-runtime
QUALITY_REPORT_REQUIRED_SPOTBUGS: core-unittests:android:ios:ByteCodeTranslator:codenameone-maven-plugin:build-engine:project-model:codenameone-gradle-plugin:build-hint-catalog:build-hint-tools:backend:backend-test:javac:android-res-compiler:android-compat:swing-compat:javafx-compat:compose-compat:fxml-compiler:desktop-compat-runtime:python-transpiler:python-runtime:luau-runtime:rbx-compat:rbx-view
# PMD and Checkstyle run on the core, the backend runtime and the Python
# transpiler and runtime, and each must produce its report: without one,
# the PMD gate below it has nothing to read and passes.
QUALITY_REPORT_REQUIRED_PMD: core-unittests:backend:backend-test:backend-parparvm:python-transpiler:python-runtime
QUALITY_REPORT_REQUIRED_CHECKSTYLE: core-unittests:backend:backend-test:python-transpiler:python-runtime
QUALITY_REPORT_REQUIRED_PMD: core-unittests:backend:backend-test:backend-parparvm:python-transpiler:python-runtime:luau-runtime:rbx-compat:rbx-view
QUALITY_REPORT_REQUIRED_CHECKSTYLE: core-unittests:backend:backend-test:python-transpiler:python-runtime:luau-runtime:rbx-compat:rbx-view
QUALITY_REPORT_SERVER_URL: ${{ github.server_url }}
QUALITY_REPORT_REPOSITORY: ${{ github.repository }}
QUALITY_REPORT_REF: ${{ github.event.pull_request.head.sha || github.sha }}
Expand Down
5 changes: 4 additions & 1 deletion CodenameOne/src/com/codename1/components/InviteButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ public class InviteButton extends ShareButton {
/// Default constructor.
public InviteButton() {
setUIID("InviteButton");
FontImage.setMaterialIcon(this, FontImage.MATERIAL_GROUP_ADD);
// Label's own material icon is regenerated when the UIID changes, so an
// app that restyles the button gets an icon in the new style, not one
// baked against this UIID's background.
setMaterialIcon(FontImage.MATERIAL_GROUP_ADD);
installChain();
}

Expand Down
5 changes: 4 additions & 1 deletion CodenameOne/src/com/codename1/components/ShareButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ public ShareButton() {
setUIIDFinal("ShareButton");
//Image shareIcon = Resources.getSystemResource().getImage("share.png");
//setIcon(shareIcon);
FontImage.setMaterialIcon(this, FontImage.MATERIAL_SHARE);
// Label's own material icon is regenerated when the UIID changes, so an
// app that restyles the button gets an icon in the new style, not one
// baked against this UIID's background.
setMaterialIcon(FontImage.MATERIAL_SHARE);
super.addActionListener(this);
shareServices.addElement(new SMSShare());
shareServices.addElement(new EmailShare());
Expand Down
Loading
Loading