Skip to content

Commit

Permalink
Add notes about working with jgitver in IntelliJ
Browse files Browse the repository at this point in the history
  • Loading branch information
jchambers committed Jul 6, 2024
1 parent be6b36d commit b085de7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,24 @@ To build a mock server, callers should use a [`MockApnsServerBuilder`](https://p

Callers may also provide a [`MockApnsServerListener`](https://pushy-apns.org/apidocs/0.15/com/eatthepath/pushy/apns/server/MockApnsServerListener.html) when building a mock server; listeners are notified whenever the mock server accepts or rejects a notification from a client.

## Building Pushy

Pushy uses [Maven](https://maven.apache.org/) as its build system. To build Pushy from source:

```shell
./mvnw clean package
```

…or to run tests:

```shell
./mvnw clean test
```

### For IntelliJ IDEA users

Note that IntelliJ IDEA struggles with multi-module projects that set their versions on the fly (like Pushy). Please see [IDEA-187928](https://youtrack.jetbrains.com/issue/IDEA-187928/Jgitver-not-working-at-all-for-a-multimodule-project) for background and discussion. To work around the issue, though, IntelliJ users can navigate to Settings → Build, Execution, Deployment → Build Tools → Maven → Importing and add `-Djgitver.skip=true` to "VM options for importer."

## License and status

Pushy is available under the [MIT License](https://github.com/jchambers/pushy/blob/master/LICENSE.md).
Expand Down

0 comments on commit b085de7

Please sign in to comment.