Gradle plugin for leJOS EV3 projects to handle deployments to EV3 brick
./gradlew install
We use Jitpack for publishing the plugin.
Use the following in your Gradle configuration to include the plugin:
buildscript {
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.github.mindstorms-cop:lejos-ev3-gradle-plugin:0.1.2'
}
}
plugins {
id 'application' // application plugin is needed for leJOS EV3 plugin
id 'com.github.johnrengelman.shadow' version '1.2.2' // shadow plugin is needed for leJOS EV3 plugin
}
apply plugin: 'org.mindstormscop.lejosev3'
ev3 {
host = '10.0.3.31'
port = 22
user = 'root'
discoverBrick = true
}