Skip to content

Commit 0494226

Browse files
committed
Add info about mainclass changing + do not use MANIFEST stuff
1 parent 2f1ed0a commit 0494226

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Alternatively, you can also work only with one project at a time:
2020
./gradlew :opencv:deployRun # only upload and run 'opencv' project
2121
```
2222

23+
To change the class to be run in some example project, modify its `config.gradle` file.
24+
If you run want to run the program from ev3dev menu, you will have to reupload it.
25+
2326
To remove all samples from the brick, just run:
2427
```sh
2528
./gradlew undeploy

config.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ brick.pref {
66
sshHost = "10.0.0.89"
77
sshUser = "robot"
88
sshPassword = "maker"
9+
10+
// Do not use stuff embedded in manifest (for easier main class changes)
11+
useEmbeddedPaths = false
912
}
1013

1114
brick.build {

0 commit comments

Comments
 (0)