To ease the transition from the block-based programming environment Scratch to text-based programming in Java this library was created. Therefore, the core elements of Scratch are remodeled.
- Documentation: https://scratch4j.openpatch.org
- Repository: https://github.com/openpatch/scratch-for-java
- Community: https://matrix.to/#/#openpatch:matrix.org
If you want to work on the documentation, run the development server and edit the files in the website folder.
cd docs
npx hyperbook dev
If you want to work on the library. You need a Java environment and Maven. Then you can use the following command to build the library.
mvn compile
You can release the library with the following command:
mvn deploy -Pcentral
For the automatic release flow you have to commit a changeset. This is a .md-file in the .changeset directory.
The file needs to have the following structure:
---
type: patch | minor | major
---
A description of the changes made in this release.When a pull request is merged, the changeset will trigger a GitHub action that will create a new pull request with the new version. After this pull request is merged, the new version will be released to Maven Central and Github releases.
Mike Barkmin • Mastodon • GitHub
We are happy to hear from you, if you need custom support or features for your application.
Scratch for Java is maintained by OpenPatch, an organization for educational assessments and training. If you need help get in touch.
The Scratch for Java library is profiled using Java Profiler

