Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

Example for a Gradle project for LEGO Mindstorm EV3 and Lejos

License

Notifications You must be signed in to change notification settings

jornfranke/lejos-ev3-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lejos-ev3-example

Example for a Gradle project for LEGO Mindstorm EV3 and Lejos. This projects demonstrate how to use professional build tools together with Lejos and the LEGO Mindstorms EV3 robot. You can integrate automated unit testing and deployment into your Lejos project.

Build

You need to:

  • Install gradle and have it in your path
  • Set the environment variable EV3_HOME to the directory where you extracted the Lejos distribution

Afterwards, you need to run:

gradle clean build

By executing this command you build and test your Lejos Application. If everything runs successfully then you find the application JAR in the subfolder "build/libs". You can deploy this JAR on the robot.

Deploy

You can deploy your application on a Lego Mindstorm EV3 robot running Lejos by executing the following command:

gradle deployev3

If your robot is not connected via USB, but via WiFi then you must update the gradle.properties file to point to the correct IP and use the correct username/password.

About

Example for a Gradle project for LEGO Mindstorm EV3 and Lejos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages