Skip to content
Fork of Greenfoot (including BlueJ) using Maven
Java Other
  1. Java 98.2%
  2. Other 1.8%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
.gitignore
README.md
THIRD-PARTY.txt
bluej-LICENSE.txt
greenfoot-LICENSE.txt
pom.xml

README.md

Cleanfoot

This is a fork of Greenfoot 3.5.4 (the last version supporting Java 8) which was moved from Ant to Maven.

The goal of this project is to provide a Java 1.8 compatible, supported Greenfoot version with some fixes like:

  • a public greenfoot.Font(java.awt.Font) constructor
  • cleaned up code
  • up to date dependencies
  • libraries that are usable via Maven
  • removed data collection

Usage

Maven

To use this library, you need to use the GammelCloud repo:

<repositories>
    <repository>
        <id>gammel</id>
        <url>https://nexus.gammel.cloud/repository/maven-public/</url>
    </repository>
</repositories>

And the following dependency:

<dependency>
    <groupId>sh.lrk</groupId>
    <artifactId>cleanfoot</artifactId>
    <version>3.5.6</version>
</dependency>

Gradle

If you use Gradle, you can reference the repository like this:

repositories {
        maven { url 'https://nexus.gammel.cloud/repository/maven-public/' }
}

and the dependency itself like this:

implementation 'sh.lrk:cleanfoot:3.5.6'

Code

After adding it, the library can be used like the regular Greenfoot project is used (ie. no package names have been changed). If you need more information regarding using Greenfoot with Maven/Gradle and its implications, please see this blog post.

Development

  • The THIRD-PARTY.txt file is generated by running:
    • $ mvn license:add-third-party -Dlicense.outputDirectory=. -Dlicense.thirdPartyFilename=THIRD-PARTY.txt
    • The file bundled with Greenfoot/BlueJ is outdated.
  • Building is done using: $ mvn clean install -DskipTests
  • Publish is done using: $ mvn clean install -DskipTests deploy:deploy
You can’t perform that action at this time.