Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export GPG_TTY=$(tty)
export JAVA_TOOL_OPTIONS='-Duser.language=en -Duser.country=US'
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
java temurin-17.0.17+10
maven 3.9.11
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Java](https://badgen.net/badge/icon/Java?icon=java&label=)
![Java](https://badgen.net/badge/icon/Java?icon=java&label=)

# Official Mailtrap Java client

Expand All @@ -19,20 +19,20 @@ As Maven dependency:
<dependency>
<groupId>io.mailtrap</groupId>
<artifactId>mailtrap-java</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
```

As Gradle Groovy dependency:

```groovy
implementation 'io.mailtrap:mailtrap-java:1.0.0'
implementation 'io.mailtrap:mailtrap-java:1.1.0'
```

As Gradle Kotlin DSL dependency:

```kotlin
implementation("io.mailtrap:mailtrap-java:1.0.0")
implementation("io.mailtrap:mailtrap-java:1.1.0")
```

## Usage
Expand Down Expand Up @@ -146,6 +146,12 @@ You can find the API reference [here](https://mailtrap.github.io/mailtrap-java/i

Bug reports and pull requests are welcome on [GitHub](https://github.com/mailtrap/mailtrap-java). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](CODE_OF_CONDUCT.md).

### Build
- Install [direnv](https://direnv.net/)
- Install [asdf](https://asdf-vm.com/)
- Install [asdf-java](https://github.com/halcyon/asdf-java) plugin
- Install [asdf-maven](https://github.com/halcyon/asdf-maven) plugin

## License

The package is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ Maven dependency:
<dependency>
<groupId>io.mailtrap</groupId>
<artifactId>mailtrap-java</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
```

Gradle Groovy dependency:

```groovy
implementation 'io.mailtrap:mailtrap-java:1.0.0'
implementation 'io.mailtrap:mailtrap-java:1.1.0'
```

Gradle Kotlin DSL dependency:

```kotlin
implementation("io.mailtrap:mailtrap-java:1.0.0")
implementation("io.mailtrap:mailtrap-java:1.1.0")
```

### 2. Authentication
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.mailtrap</groupId>
<artifactId>mailtrap-java</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>

<name>Mailtrap Java SDK</name>
<description>The official Mailtrap SDK for Java provides Java APIs
Expand Down