diff options
author | Erik De Rijcke <derijcke.erik@gmail.com> | 2015-02-11 21:32:06 +0100 |
---|---|---|
committer | Erik De Rijcke <derijcke.erik@gmail.com> | 2015-02-11 21:32:06 +0100 |
commit | 6b2bf8111e0185b43a8a195577ecd8a4fb0f848b (patch) | |
tree | 3fa1eacba17ef16d0ccf416a124b453660e05ea2 | |
parent | 775f6bffd18b6d00406ddf4d3241a0211e9127b8 (diff) |
update readme
-rw-r--r-- | README.md | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -33,21 +33,25 @@ maven dependency to start using the bindings: Private protocol ================ The project allows you to generate your own private wayland protocol bindings. - - Add ```xml + - Add + ```xml <dependency> <groupId>org.freedesktop</groupId> <artifactId>generator</artifactId> <version>1.1.1</version> <scope>provided</scope> </dependency> - ``` to your build path, no need to put it on your classpath as it will only be used during compilation. - - Add ```xml + ``` + to your build path, no need to put it on your classpath as it will only be used during compilation. + - Add + ```xml <dependency> <groupId>org.freedesktop</groupId> <artifactId>stubs</artifactId> <version>1.1.1</version> </dependency> - ``` to your classpath. + ``` + to your classpath. - Add a `@Protocols` annotation to your own private `package-info.java` file and set it to use your own private protocol xml file. Here's an [example](wayland/src/main/java/org/freedesktop/wayland/package-info.java). - Build your project with maven (or gradle). The generated bindings should automatically appear in the same package as your `package-info.java` file. |